would trigonometric functions supported in mbed ?

11 Dec 2012

sine ,cosine ,tan kind of function is supported in mbed? which header files are neede for this function and what is syntax of this functions? thank you

11 Dec 2012

The trig functions are included in the "mbed.h" header file so are there by default. The syntax is something like.

float val = sin(0.5);

Remember that trig functions work in radians! Look here for more info

11 Dec 2012

thank you martin for your fast replied.

it would possible to inverse of this trigonometric function?? like (tan inverse)..

11 Dec 2012

Look at the atan() and atan2() functions.