help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cos


From: Maynard Wright
Subject: Re: cos
Date: Wed, 28 Oct 2015 21:24:33 -0700
User-agent: KMail/4.13.3 (Linux/3.16.0-30-generic; KDE/4.13.3; i686; ; )

On Wednesday, October 28, 2015 09:34:05 PM Doug Stewart wrote:
> On Wed, Oct 28, 2015 at 9:28 PM, Jonathan Camilleri <address@hidden
> > wrote:
> > 
> > cos(1) returns 0.54030
> > My calculator Casio fx-100D returns cos(1) as 0.999847695.
> 
> Octave is using radians   the calculator is in Deg. mode

True:  cos() expects an argument in radians.  cosd() expects an argument in 
degrees.   You can also suffix the "d" to the other trig functions to cause 
them 
to accept arguments in degrees or, for the inverse functions, to return angles 
in degrees.

> 
> > Using Octave 4.0.0/Win8.1.
> > 
> > I am not sure whether to post this as a bug to
> > http://savannah.gnu.org/bugs/?group=octave, as I still have not
> > identified the mathematical roots of cosine.
> > 
> > Casio Headquarters are in Shibuqa, Tokyo Japan.
> > 
> > Further reading
> > 1. https://en.wikipedia.org/wiki/Trigonometric_functions
> > 
> > Thanks and regards,
> > 
> > --
> > Jonathan Camilleri
> > 
> > Mobile (MT): ++356 7982 7113
> > E-mail: address@hidden
> > Please consider your environmental responsibility before printing this
> > e-mail.
> > 
> > I usually reply to emails within 2 business days.  If it's urgent, give me
> > a call.
> > 
> > 
> > 
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/help-octave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]