summaryrefslogtreecommitdiff
path: root/3772/CH2/EX2.5/Ex2_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3772/CH2/EX2.5/Ex2_5.sce')
-rw-r--r--3772/CH2/EX2.5/Ex2_5.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3772/CH2/EX2.5/Ex2_5.sce b/3772/CH2/EX2.5/Ex2_5.sce
new file mode 100644
index 000000000..26f62ef6b
--- /dev/null
+++ b/3772/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,24 @@
+// Problem no 2.5,Page no.33
+
+
+clc;clear;
+close;
+
+
+//Notifications has been changed as per requirement
+
+
+h=8 //cm //height of triangle
+b=8 //cm //breadth of triangle or diameter semicircle
+d=4 //cm //diameter of circle enclosed
+
+//Calculations
+
+I_1=b*h**3*12**-1 //cm //moment of inertia of the triangle ABC about the axis AB
+I_2=%pi*b**4*128**-1 //cm ////moment of inertia of the semicircle about the axis AB
+I_3=%pi*d**4*64**-1 //cm //moment of inertia of circle about the circle about the axis
+
+I=I_1+I_2-I_3 //cm //Moment of Inertia of the shaded area about the axia AB
+
+//Result
+printf("Moment of Inertia of the shaded area is %.2f cm",I)