I'm not up on calculus, only had algebra & trig years ago. But I've written a computer program to calc the sin of an angle using the (I think) Taylor series. Anyhow it works as I checked my answers with online calcs.

Now I want to write a program to find the arcsin which would be the inverse.

I've searched and see a lot of number formulas that don't give me the logistics to write code with.

Trying to find the inverse function of

sin(x) = x - x^n/n! + x^n/n! - x^n/n! +.... -infinity < x < infinity

or if it makes it simplier,

sin(x) = x - x^3/6 + x^5/120 - x^7/5040

I.e. I need the inverse of the above with something that would allow me to see how the denominator is figured in the inverse function. Cause some of the inverse samples I've seen don't seem to all be factorials of n.

Can anybody help with this?