[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calculating angle
From: |
Geordie McBain |
Subject: |
Re: Calculating angle |
Date: |
Tue, 02 May 2006 17:54:26 +1000 |
On Tue, 2006-05-02 at 09:33 +0200, Huub van Niekerk wrote:
> Hi,
>
> Sorry if I use the wrong terms, but English is not my first language.
> I want to calculate an angle from 2 known lengths. In this case,
> tan(alpha) = 10/50. My question is: if atan(alpha) = 10/50 = 0.19740
> gives the actual angle, should I assume it is in radian?
That's right, atan returns its answer in radians:
octave> 4 * atan (1)
ans = 3.1416
octave>
> Or do I something wrong?
>
> Thanks for helping.
>
> Huub
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave