diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3131/CH18 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3131/CH18')
-rw-r--r-- | 3131/CH18/EX18.1/18_1.sce | 31 | ||||
-rw-r--r-- | 3131/CH18/EX18.2/18_2.sce | 27 |
2 files changed, 58 insertions, 0 deletions
diff --git a/3131/CH18/EX18.1/18_1.sce b/3131/CH18/EX18.1/18_1.sce new file mode 100644 index 000000000..87d9e8c23 --- /dev/null +++ b/3131/CH18/EX18.1/18_1.sce @@ -0,0 +1,31 @@ +clear all; clc; +disp("Ex 18_1") +//Planar Kinetics of a Rigid Body: Work and Energy +mb=6//mass of the block,kg +md=10//mass of the disc,kg +m=12//mass of the cylinder,kg +rc=0.1//m +vb=0.8//m/s +rd=0.1//m +wd=vb/rd +printf('\n\n wd = %0.0f rad/s',wd) +re=0.2//m +ve=0.8//m/s +wc=ve/re +printf('\n\n wc = %0.0f rad/s',wc) +rg=0.1//m +vg=rg*wc +printf('\n\n vg = %0.1f m/s',vg) +//For the block +Tb=0.5*mb*vb^2 +printf('\n\n Tb = %0.2f J',Tb) +//For the disk +Td=0.5*0.5*md*rd^2*wd^2 +printf('\n\n Td = %0.2f J',Td) +//For the Cylinder +Tc=(0.5*m*vg^2)+(0.5*0.5*m*rc^2*wc^2) +printf('\n\n Tc = %0.2f J\n',Tc) +//Total Energy of the knectic system, +T=Tb+Td+Tc +disp("Total Energy of the knectic system,") +printf('\n T = %0.2f J',T) diff --git a/3131/CH18/EX18.2/18_2.sce b/3131/CH18/EX18.2/18_2.sce new file mode 100644 index 000000000..9709f5416 --- /dev/null +++ b/3131/CH18/EX18.2/18_2.sce @@ -0,0 +1,27 @@ +clear all; clc; +disp("Ex 18_2") +m=10//kg +w=m*9.81//converting mass to weight +x=1.5//displacement +Uw=w*x +printf('\n\n Uw = %0.1f J',Uw) +//Couple moment M +M=50//moment in Nm +theta=%pi/2 +Um=M*theta +printf('\n\n Um = %0.1f J',Um) +//at theta=0, spring is stretched by 0.25m and when theta=90, spring is stretched by 2.25m +k=30//spring constant in N/m +a=0.25//at theta=0, spring deflection in m +b=2.25//at theta=90, spring deflection in m +Us=-((0.5*k*b^2)-(0.5*k*a^2)) +printf('\n\n Us = %0.1f J',Us) +//Force P +P=80//N +y=%pi*3/2//displacement in m +Up=P*y +printf('\n\n Up = %0.1f J\n\',Up) +//Total work of all the forces, +U=Uw+Um+Us+Up +disp("Total work of all the forces,") +printf('\n U = %0.0f J',U) |