Search



Monday, 17 August 2015

Mathematical Based C Programs

For any mathematical operation, a pre-defined library is present for difficult operations like finding 
  • Square ( x*x ) ,
  • Roots ( x^(1/2) ),
  • Sine ( sinΘ ),
  • Cosine ( cosΘ ),
  • Tangent ( tanΘ ), 
  • Exponential ( e ), 
  • Power ( x^n ), etc.
the library is <math.h>, this is also a header file, all the functions in this library take double as argument and return double as the result.

No comments:

Post a Comment

Guys if you think something is wrong or should be edit than please do comment.