Showing posts with label Maths Programs. Show all posts
Showing posts with label Maths Programs. Show all posts

Trick To Convert Fahrenheit and Celsius




Formula :-
To Convert Celsius to Fahrenheit 

°C  x  9/5 + 32 = °F  OR °F = (1.8 x °C) + 32

To Convert Fahrenheit to Celsius
 
(°F  -  32)  x  5/9 = °C OR °C = (°F - 32) / 1.8


Trick To Convert Celsius to Fahrenheit :


You will not get the accurate value of Fahrenheit using this trick.

Step 1 :  Double the celsius

Step 2 : Add 30

For example 

lets take 15 °C

Step 1 :  Double the celsius 15 x 2 = 30

Step 2 : Add 30 so 30 + 30 = 60°F

So it is quite near to the actual answer 59°F

Now to convert  Fahrenheit to Celsius 

Step 1 : Subtract  30

Step 2 : Divide by 2



Program To Convert Celsius to Fahrenheit and Fahrenheit to Celsius

Degrees and Radians Calculator



Converting from Degrees to Radians

 Degrees can be converted to Radians with the help of this formula :

Radians = (Degrees x π) / 180

Converting from Radians to Degrees

Radians can be converted to Degrees with the help of this formula :

Degrees = (Radians x 180) /  π


Symbol : 1 Degree = 1°
               1 Radian = 1c


1 Radian ≈  57.2958°

1 Degree
≈ 0.017460317c


Program to calculate Degrees to Radians and Radians to Degrees

Factorial of a Number




Definition : It just means to multiply a series of descending natural numbers. (symbol :-    ! )

For Example :  1) 3! = 3 x 2 x 1 = 6
                         2) 5! = 5 x 4 x 3 x 2 x 1 = 120 

Note : 1! is 1 and 0! is also 1


Factorials are use in many fields of Mathematics but particularly in Permutation and Combination.


Note : We can have factorial for negative numbers as well as decimal numbers but we need to get into a subject called the "Gamma Function"



Program to Calculate Factorial of a Number

Prime Numbers





Definition :- A Natural number greater than 1 which is divisible by one and itself is known as Prime Number.

Example:- 5 can only be divided evenly by 1 or 5, so it is a prime number.

But 6 can be divided evenly by 1, 2, 3 and 6 so it is NOT a prime number.


Fact: - The Number 2 is the only even number that is  prime.

Circumference of a Circle



Here is the formula to calculate circumference of a circle 



2 π r OR π d



Where r is the Radius of a Circle and d is the Diameter of a Circle... 



For example : Let the Radius of  a Circle be 5cm 



 So, Circumference of a circle = 2 x 3.141592 x 5



i.e.,  31.41592 cm






Here is a Program to Calculate Circumference of a Circle...

Perimeter of a Triangle

Here is the formula to find the Perimeter of a Triangle....


Perimeter of a Triangle = a + b + c


where a, b and c are the side lengths of the triangle.

For example : Suppose the length of the sides are 5cm, 6cm and 10cm


Perimeter of the Triangle = 5 + 6 + 10


i.e., 21 cm

Here is the Program to Calculate the Perimeter of a Triangle..


Perimeter of a Rectangle

Here is the formula to find the Perimeter of a Rectangle...

  

Perimeter of a Rectangle = 2a + 2b



where a and b are the breadth and height respectively...



For example : Suppose the breadth of a rectangle is 5 cm.
and height of a rectangle is 6cm.



so the Perimeter of a Rectangle = 2x5 + 2x6



i.e.,  22cm.


Here is the program to calculate the Perimeter of a Rectangle...

Perimeter of a square




Here is the formula to find the Perimeter of a Square...



Perimeter of a Square = 4 x (Length of a Side)


For example : Suppose the length of a side is 5 cm.


so the perimeter of a square = 4 x 5.

i.e., 20 cm.


Here is the program to calculate the Perimeter of a Square..



Calculate Area of Square, Area of Parallelogram, Area of Trapezoid, Area of Circle and Area of Ellipse




Here are some formulas to calculate Area of Square, Area of Parallelogram, Area of Trapezoid, Area of Circle and Area of Ellipse...

Note :-  a =  Side of a square.
             b =  Breadth.
             h =  Height.
             r =  Radius
Formulas



Square = a 2

Parallelogram = b*h

Trapezoid = 1/2* (b1 + b2)*h

Circle = π r 2

Ellipse = π r1 r2   




Click on the Buttons to find Area of Square, Area of Parallelogram, Area of Trapezoid, Area of Circle and Area of Ellipse.


1) Click on the button to find the


2) Click on the button to find the


3) Click on the button to find the



4) Click on the button to find the



5) Click on the button to find the







Note : I have considered the value of π upto 3.14159265 in the above programs.

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by | lasantha bandara
Modified by | SUJIT