C# Programming Examples on Mathematics
Here is the listing of C# programming examples on Mathematics.
1. C# Examples on Special Numbers in Mathematics
The C# Programs in the following section checks for different number types. These numbers include Armstrong number, Perfect number and Amicable number. It also generates various number series including Fibonacci series and Factorial series. It also performs summation operation on the given set of input numbers and performs arithmetic operations like Addition, Subtraction, Multiplication and Division on the given set of input numbers.
2. C# Examples on Complex Numbers and Trigonometric Functions
The Complex number is of the form a+ib where a is the real part and b is the imaginary part. The following programs cover various sections of Mathematics and Statistics. They are trigonometric functions such as sin(x) and cos(x), Mean, Standard Deviation for the given set of numbers and other applications related to Speed, Distance and Time.
3. C# Examples on Divisibility Tests and Bitwise Operations
The following section contains programs on different types of mathematical numbers. They are Prime numbers, Binary numbers, Natural numbers, Divisibility tests for different numbers. Apart from this it contains programs to implement special types of triangles like Floyd triangle and Pascal triangle. It performs Addition, Subtraction, Multiplication and Summation operations on the above mentioned special numbers. The remaining programs include demonstration of Bitwise operations and calculating the powers of various numbers.
4. C# Examples on Quadratic Equations
The equation which is of the form ax2+bx+c is called a Quadratic Equation. The distance of the number from 0 on a number line is called Absolute value of a number. The following programs evaluates the roots of a given quadratic equation, prints the absolute value of a given number, demonstrates the usage of static constructor and evaluates the LCM of the given numbers. The constructor that is called automatically even before the first instance of the class is created is called a static constructor.
5. C# Examples on Permutations and Combinations and Evaluating Volume and Surface Area of Solids
Product of a given number and its quantity is called a multiple. The following programs perform addition operation on multiples of the given numbers and displays them. The programs evaluate the square root and cube root of various numbers. The others programs in the section perform permutation and combination operations on various numbers. No of arrangements made is called Permutation. The numbers of arrangements and selections is called Combination. The remaining programs evaluate the surface area and volume of different solids like Cone, Sphere and Rectangle.
6. C# Examples on Summation Functions
The basic data-type are int, float and double. The programs in this section calculates the maximum and minimum range of values for these data-types. They also carry out the summation operation on various different series ranging from trigonometric series like sin(x), cos(x) to many different mathematical series.


