Thaks Momerath but your answer is unclear for me!
my problem was to translate (arccos y = Pi/2 - sum((2n)!/((2^2n)*(n!)^2))*(y^(2n+1)/(2n+1) where n = 0 .. infinity and |y| <= 1. ) in language c#!

Isn't that the whole point of programming, being able to translate specifications into code? This is obviously a school assignment (no one in the real world says "but you can't use the math library! OMG!") and you would learn absolutely nothing if I were to write the code for you.

So you need to go to wikipedia, look up arccos and study the formulas give there. Pick one to program and write code for it. Test it by using the Math.Cos function to generate some numbers, then use your code to covert them back.

Just FYI, the last two equations are much easier to program as they don't involve infinite series. And they use System.Numerics and not System.Math :)

Dear Momerath Open discussion means just trying to reach a resolution, and you did not want to help! I am not a student! .. Next time if you're not going to solve the discussions did not intervene!

What have you tried for yourself?
We are all willing to help you here with your questions, but you got at least show some effort. Momerath has given you all the info you need to get started. So start to program. If you show some of your(even not working) code, we can help you better :)

OK mikaandy83, now we are getting somewhere! :cool:
First remark: You are still using the Math class(Math.PI) use your own constant instead:

const double PI = 3.14159;

Second remark: Don't use the decimal type here, use double.
Decimal is used in finacial calculations.
Thirth remark: Try to add more terms to the Taylor series.
Alla prossima!

Hi..thaks you for your answer..i have Try to add more terms to the Taylor series but the result is incorrect,for example if i calculate ACos(0,9) the result is 0,46045 instead 0,45...!help my please !

The Taylor series needs a lot of iterations to get anywhere near the correct result. If you aren't doing 100,000 or more then you aren't going to get more than 1 or 2 decimal places of accuracy.

Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...

When I execute this progammatically, I get a table with row heights much larger than when I do this manually.

Note : Sel is the Word.Selection object and the Clipboard contains an Excel Table.

public void AddClipboard()
{
Sel.PasteExcelTable(false,false, false);
var t = Sel.Tables[Sel.Tables.Count];
t.AutoFitBehavior(Word.WdAutoFitBehavior.wdAutoFitContent);
}

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...