Tuesday, July 14, 2009

Write a C program to test common math functions?

For : log, exp,sin,asin,sqrt

Write a C program to test common math functions?
Seems easy enough.





Output: The square root of 4:


Then use the appropriate math function.


sqrt(4);


Output: %26lt;answer%26gt;


Do the same for the others.
Reply:all these functions are present in c library %26lt;math.h%26gt;..u can check them also u can find lots of programs and projects related to different field at %26lt;http://www.indiastudychannel.com u can also download projects from there..enjoy


No comments:

Post a Comment