Like C language library #include "math.h", C# also having System.Math static class. You no need to call this class, if you include System namespace i.e enough. In C# all the Math functions will start by capital letters. Please check below list of Math functions in C#.
Advanced Math functions are not included in this library like asinh, acosh like that.
Examples:
double mathValue=45.00;
mathValue= Math.Exp(-mathValue-mathValue*mathValue);
mathValue=5.00;
mathValue=Math.Pow(mathValue,-0.9) * Math.Log(1/mathValue)
mathValue=3.00;
mathValue=mathValue*mathValue*mathValue * Math.Log(Math.Abs((mathValue*mathValue-1) * (mathValue*mathValue - 2)))
System.Math | |
---|---|
1 | Acos |
2 | Asin |
3 | Atan |
4 | Ceiling |
5 | Cos |
6 | Cosh |
7 | Exp |
8 | Abs |
9 | Floor |
10 | IEEERemainder |
11 | Log |
12 | Log10 |
13 | Pow |
14 | Sin |
15 | Sinh |
16 | Sqrt |
17 | Tan |
18 | Tanh |
Advanced Math functions are not included in this library like asinh, acosh like that.
Examples:
double mathValue=45.00;
mathValue= Math.Exp(-mathValue-mathValue*mathValue);
mathValue=5.00;
mathValue=Math.Pow(mathValue,-0.9) * Math.Log(1/mathValue)
mathValue=3.00;
mathValue=mathValue*mathValue*mathValue * Math.Log(Math.Abs((mathValue*mathValue-1) * (mathValue*mathValue - 2)))
Post a Comment
Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.