summaryrefslogtreecommitdiff
path: root/3772/CH2/EX2.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3772/CH2/EX2.3
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3772/CH2/EX2.3')
-rw-r--r--3772/CH2/EX2.3/Ex2_3.sce39
1 files changed, 39 insertions, 0 deletions
diff --git a/3772/CH2/EX2.3/Ex2_3.sce b/3772/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..efcd717c9
--- /dev/null
+++ b/3772/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,39 @@
+// Problem no 2.3,Page no.32
+
+
+clc;clear;
+close;
+
+//Rectangle-1
+b_1=12 //cm //width of Rectangle-1
+d_1=2 //cm //breadth of Rectangle-1
+a_1=24 //cm**2 //Area of Rectangle-1
+y_1=1 //cm //Distance of centroid-1
+
+//Rectangle-2
+b_2=2 //cm //width of Rectangle-2
+d_2=6 //cm //breadthof Rectangle-2
+a_2=12 //cm**2 //Area of rectangle-2
+y_2=5 //cm //Distance of centroid-2
+
+//Rectangle-3
+b_3=5 //cm //width of Rectangle-3
+d_3=2 //cm //breadth of Rectangle-3
+a_3=10 //cm**2 //Area of rectangle-3
+y_3=9 //cm //Distance of centroid-3
+
+//Calculation
+Y_bar=((a_1*y_1+a_2*y_2+a_3*y_3)*(a_1+a_2+a_3)**-1) //cm //centre of gravity of section
+
+Y_1=2.78 //cm //Distance of centroid of rectangle 1 to C.G
+Y_2=1.22 //cm //Distance of centroid of rectangle 2 to C.G
+Y_3=5.22 //cm //Distance of centroid of rectangle 3 to C.G
+
+I_x_x_1=b_1*d_1**3*12**-1+a_1*Y_1**2 //moment of inertia of rectangle 1 about centroidal x-x axis of the section
+I_x_x_2=b_2*d_2**3*12**-1+a_2*Y_2**2 //moment of inertia of rectangle 2 about centroidal x-x axis of the section
+I_x_x_3=b_3*d_3**3*12**-1+a_3*Y_3**2 //moment of inertia of rectangle 3 about centroidal x-x axis of the section
+I_x_x=I_x_x_1+I_x_x_2+I_x_x_3 //cm**4
+
+
+//Result
+printf("Moment of Inertia of the section is %.2f cm^4",I_x_x)