summaryrefslogtreecommitdiff
path: root/3772/CH1/EX1.12
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3772/CH1/EX1.12
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/CH1/EX1.12')
-rw-r--r--3772/CH1/EX1.12/Ex1_12.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3772/CH1/EX1.12/Ex1_12.sce b/3772/CH1/EX1.12/Ex1_12.sce
new file mode 100644
index 000000000..594cdc7d3
--- /dev/null
+++ b/3772/CH1/EX1.12/Ex1_12.sce
@@ -0,0 +1,24 @@
+// Problem no 1.12,Page no.16
+
+
+clc;clear;
+close;
+
+//Right Circular Cyclinder
+//m_1=(16*%pi*h*rho_1) //gm
+//y_1=4+h*2**-1 //cm
+
+//Hemisphere
+//m_2=256*%pi*rho_1 //gm
+y_2=2.5 //cm
+
+Y_bar=4 //cm
+r=4 //cm
+
+//Calculation
+
+//Y_bar=(m_1*y_1+m_2*y_2)*(m_1+m_2)**-1 //cm //Centroid
+h=(402.114*25.132**-1)**0.5
+
+//Result
+printf("The value of h is %.2f cm",h)