Re: [Gambas-user] trigonometric function

2012-10-25 Thread Benoît Minisini
Le 25/10/2012 17:44, p...@laur-net.de a écrit : > > > Hi, > > I just got a mathematic problem: > > I need the angle alpha and > x and y are given. > > tan(alpha) = x / y > > so alpha = tan^-1(x/y) > > As I > put tan^-1(x/y) in my own calculator, it works. > > But how do I express > this in Gambas?

Re: [Gambas-user] trigonometric function

2012-10-25 Thread Caveat
You want inverse tangent then? Tried atn? Kind regards, Caveat On 25/10/12 17:44, p...@laur-net.de wrote: > > > Hi, > > I just got a mathematic problem: > > I need the angle alpha and > x and y are given. > > tan(alpha) = x / y > > so alpha = tan^-1(x/y) > > As I > put tan^-1(x/y) in my own c

[Gambas-user] trigonometric function

2012-10-25 Thread piet
Hi, I just got a mathematic problem: I need the angle alpha and x and y are given. tan(alpha) = x / y so alpha = tan^-1(x/y) As I put tan^-1(x/y) in my own calculator, it works. But how do I express this in Gambas? (1 / (tan(x / y)) does'nt return me the same awnser..) Thanks for