On Wed, 16 Mar 2005 [EMAIL PROTECTED] wrote:


Why does

asin(1)
result in:
1.570796

Because the arcsin of 1 is pi/2 radians.

and

x<-sqrt(2)
asin(x^2-1)
result in:
NaN

Because you can't take the arcsin of 2^2-1=3.

        -thomas

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to