diff options
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");
|