Sunday, July 17, 2011

Write a c program to find the perimeter of a circle, rectangle and triangle


Formula of
perimeter of different shapes in geometry:



1. Square = 4 * a

2. Rectangle: 2 * (a + b)

3. General triangle: a + b + c

4. Equilateral triangle: 3 * a

5. Right angled triangle: w + l + v (w2 + l2)

6. Circle: 2 * p * r

7. Parallelogram: 2 * (a + b)

8. Rhombus: 4 * a

9. Cube: 12 * a

10. Cuboids: 4 * (w + l + h)

11. Trapezium: a + b + c + d

12. Equilateral polygon: n * a

13.

No comments:

Post a Comment