how can i find value of Acos without using math library of c#??i have serch for more time in the web!thank you
mikaandy83
0
Newbie Poster
Recommended Answers
Jump to Postarccos y = Pi/2 - sum((2n)!/((2^2n)*(n!)^2))*(y^(2n+1)/(2n+1) where n = 0 .. infinity and |y| <= 1.
Or you could use (if you can deal with imaginary numbers):
arccos x = -i * ln(x + i * sqrt(1 - x*x))
arccos x = pi/2 + i * ln(i * …
Jump to PostIsn'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.
…
Jump to PostWhat 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, …
All 10 Replies
Momerath
1,327
Nearly a Senior Poster
Featured Poster
mikaandy83
0
Newbie Poster
Momerath
1,327
Nearly a Senior Poster
Featured Poster
ddanbe
commented:
Right observation
+7
mikaandy83
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
mikaandy83
0
Newbie Poster
mikaandy83
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
mikaandy83
0
Newbie Poster
Momerath
1,327
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.