blob: 7a011265b661ec5e80a3f0e3b16bc083633a8941 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clear
//
//The section is divided into a triangle PQR, a semicircle PSQ having base on axis AB and a circle having its centre on axis AB
//variable declaration
//Now,Moment of inertia of the section about axis AB
IAB=(80*(80**3)/12)+(%pi*(80**4)/128)-(%pi*(40**4)/64)
printf("\n IAB= %0.0f mm^4",IAB)
|