crashbandacoot420
New member
- Joined
- Jun 11, 2021
- Messages
- 3
Hello, I'm not sure if this is calculus/the right place to post, but here goes.
I'm trying to find a formula to represent a function in a program i'm writing (that's unrelated really).
The situation is this:
We have some numbers, say
x = 80
y = 5
z = 0.95
How would I write the formula to represent how many times x=x*z until x == y?
Sorry for the 'programmer notation', but i'm not sure how else to phrase this - which is part of my issue!
As the title suggests, I think I would use a Sigma Notation to represent adding the times x is multiplied by z until x equals y. But that's as far as I've got.
Thanks!
I'm trying to find a formula to represent a function in a program i'm writing (that's unrelated really).
The situation is this:
We have some numbers, say
x = 80
y = 5
z = 0.95
How would I write the formula to represent how many times x=x*z until x == y?
Sorry for the 'programmer notation', but i'm not sure how else to phrase this - which is part of my issue!
As the title suggests, I think I would use a Sigma Notation to represent adding the times x is multiplied by z until x equals y. But that's as far as I've got.
Thanks!