Re: tangents...

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thu, 25 Sep 1997, Mike Fowler wrote:

> Hi once again...
> does anyone know how to find the angle of a triangle in Euphoria?
>
> i know how to do it on the calculator:
>
> tan z = 9/5 .. z = tan-1(1.8) .. z = 60.9 degrees...
>
> BUT euphoria dosen't have tan-1, only tan, which answers 0.03142...
>
> any healp appreciated!
>
> Thanks :)
>
> Mike Fowler - mike.fowler at nelsun.gen.nz
>   o__ ---
>  _,>/'_ ---
> (_) \(_) ---
> Tip for the month: Don't have a signature :)

Euphoria 1.5 has "arctan" to do what you're looking for.
Look out for one of the math libraries that are floating around too.
My mathbag.e is (I think) available via Irv's ftp site.

--
Carl R White   | e-mail...:                    crwhite- at -comp.brad.ac.uk
               | finger...:             crwhite- at -dcsun1.comp.brad.ac.uk
               | web......: http://www.student.comp.brad.ac.uk/~crwhite/
Anti-Spam: Remove x's from header and change '- at -' to '@' in .sig

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu