diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2021/CH4/EX4.6/EX4_6.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2021/CH4/EX4.6/EX4_6.sce')
-rwxr-xr-x | 2021/CH4/EX4.6/EX4_6.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2021/CH4/EX4.6/EX4_6.sce b/2021/CH4/EX4.6/EX4_6.sce new file mode 100755 index 000000000..41d34e557 --- /dev/null +++ b/2021/CH4/EX4.6/EX4_6.sce @@ -0,0 +1,18 @@ +//Finding of Weight and Metacentric height
+//Given
+l=4;
+b=2;
+h=1;
+d=0.6;
+v=l*b*d;
+rho=1000;
+g=9.81;
+//To Find
+wd=rho*g*v;
+disp("Weight of the body ="+string(wd)+" Newtons");
+I=(l*b^3)/12;
+h1=h/2;
+d1=d/2;
+h2=h1-d1;
+mh=(I/v)-h2;
+disp("Metacentric Height ="+string(mh)+" meter");
|