Shame on me. I found it the same evening when looking
into the slope code (that uses basically your equation).
I hardly dare to confess part of it was written by myself.
Shame on me!!!
-Hans-
Meow Cat wrote:
> "Hans-Detlev Fink" <mas### [at] pecosnospamde> wrote in message
> news:3E4### [at] pecosnospamde...
>
>>Doesn't change the basic problem, but shouldn't
>> 0.5+asin(y)/pi
>>rather be
>> 0.5*(1+asin(y)/pi) ?
>>
>>-Hans-
>>
>
>
> asin did give values in the range [-pi/2, pi/2] the last time I checked...
>
> 0.5*(1+(pi/2)/pi) is about 0.75 while 0.5 + (pi/2)/pi is about 1.0
>
> Well, we all make mistakes. In some cases it's half of the fun!
>
> -- MeowCat
>
>
>
Post a reply to this message
|