arccos function

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

Hi all!

"arccos" function needs desperately to me (i am making a kind of engineering
programs), and i don't know how to make it yet.

i came to know that the arccos can be calculated by following formula,

arccos(object x) = -arctan(x/sqrt(1-x*x)) + Pi/2

however, in case of x=1 or -1, this formula cause "zero divide error". i
searched euphoria homepage (user contribution) and found the codes
for "arccos", but, it accepts only atom value as x, not sequences...

is there anyone to be able to make neat "arccos" function which accept
both the atom and sequences?

Bye!
from -Lee woo seob...

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

Search



Quick Links

User menu

Not signed in.

Misc Menu