Calculating Numbers

John Craig jc at spl21.net
Tue May 22 06:21:32 EDT 2007


The following might be of some use - or even tweakable;

go stack URL "http://www.molekular.co.uk/tmp/seriesTest.rev"

JC


Scott Rossi wrote:
> Being math challenged as I am, I'm wondering if any of the math experts out
> there can explain how to increase the value of a variable by a progressively
> decreasing amount.  I believe this might be referred to as logarithmic
> change(?).
>
> In any event, I want to start with a base number, say 75, and add
> progressively decreasing values to the base in a specified number of steps
> until I reach 255.
> For example (maybe about 20 steps):
>
> 75
> -- 18
> 93
> -- 17
> 110
> -- 16
> 126
> -- 15
> 141
> -- 14
> 154
> -- 13
> . . .
> . . .
> . . .
> 240
> -- 5
> 245
> -- 4
> 249
> -- 3
> 252
> -- 2
> 254
> -- 1
> 255
>
> I'm sure there's a formula for this but it's been years for me...  Thanks
> for any suggestions.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>   





More information about the use-livecode mailing list