From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3886/CH18/EX18.1/18_1.sce | 12 ++++++++++++ 3886/CH18/EX18.1/18_1.txt | 5 +++++ 3886/CH18/EX18.11/18_11.sce | 18 ++++++++++++++++++ 3886/CH18/EX18.11/18_11.txt | 6 ++++++ 3886/CH18/EX18.12/18_12.sce | 14 ++++++++++++++ 3886/CH18/EX18.12/18_12.txt | 4 ++++ 3886/CH18/EX18.13/18_13.sce | 11 +++++++++++ 3886/CH18/EX18.13/18_13.txt | 4 ++++ 3886/CH18/EX18.2/18_2.sce | 9 +++++++++ 3886/CH18/EX18.2/18_2.txt | 5 +++++ 3886/CH18/EX18.3/18_3.sce | 14 ++++++++++++++ 3886/CH18/EX18.3/18_3.txt | 6 ++++++ 3886/CH18/EX18.4/18_4.sce | 13 +++++++++++++ 3886/CH18/EX18.4/18_4.txt | 5 +++++ 3886/CH18/EX18.5/18_5.sce | 22 ++++++++++++++++++++++ 3886/CH18/EX18.5/18_5.txt | 7 +++++++ 3886/CH18/EX18.6/18_6.sce | 21 +++++++++++++++++++++ 3886/CH18/EX18.6/18_6.txt | 7 +++++++ 3886/CH18/EX18.7/18_7.sce | 15 +++++++++++++++ 3886/CH18/EX18.7/18_7.txt | 5 +++++ 3886/CH18/EX18.8/18_8.sce | 17 +++++++++++++++++ 3886/CH18/EX18.8/18_8.txt | 5 +++++ 22 files changed, 225 insertions(+) create mode 100644 3886/CH18/EX18.1/18_1.sce create mode 100644 3886/CH18/EX18.1/18_1.txt create mode 100644 3886/CH18/EX18.11/18_11.sce create mode 100644 3886/CH18/EX18.11/18_11.txt create mode 100644 3886/CH18/EX18.12/18_12.sce create mode 100644 3886/CH18/EX18.12/18_12.txt create mode 100644 3886/CH18/EX18.13/18_13.sce create mode 100644 3886/CH18/EX18.13/18_13.txt create mode 100644 3886/CH18/EX18.2/18_2.sce create mode 100644 3886/CH18/EX18.2/18_2.txt create mode 100644 3886/CH18/EX18.3/18_3.sce create mode 100644 3886/CH18/EX18.3/18_3.txt create mode 100644 3886/CH18/EX18.4/18_4.sce create mode 100644 3886/CH18/EX18.4/18_4.txt create mode 100644 3886/CH18/EX18.5/18_5.sce create mode 100644 3886/CH18/EX18.5/18_5.txt create mode 100644 3886/CH18/EX18.6/18_6.sce create mode 100644 3886/CH18/EX18.6/18_6.txt create mode 100644 3886/CH18/EX18.7/18_7.sce create mode 100644 3886/CH18/EX18.7/18_7.txt create mode 100644 3886/CH18/EX18.8/18_8.sce create mode 100644 3886/CH18/EX18.8/18_8.txt (limited to '3886/CH18') diff --git a/3886/CH18/EX18.1/18_1.sce b/3886/CH18/EX18.1/18_1.sce new file mode 100644 index 000000000..bec05db58 --- /dev/null +++ b/3886/CH18/EX18.1/18_1.sce @@ -0,0 +1,12 @@ +//Direct central impact +//Refer fig. 18.3 +u1=6 //m/sec +u2=-10 //m/sec +//Principle of conservation of momentum +//2*v1+v2=2 +//From the defination of coefficient of restitution +//v2-v1=12.8 +//solving +v1=-3.6 //m/sec +v2=12.8-(-v1) //m/sec +printf("\nv1=%.2f m/sec\nv2=%.2f m/sec",v1,v2) diff --git a/3886/CH18/EX18.1/18_1.txt b/3886/CH18/EX18.1/18_1.txt new file mode 100644 index 000000000..b151eecff --- /dev/null +++ b/3886/CH18/EX18.1/18_1.txt @@ -0,0 +1,5 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.1.sce', -1) + +v1=-3.60 m/sec +v2=9.20 m/sec \ No newline at end of file diff --git a/3886/CH18/EX18.11/18_11.sce b/3886/CH18/EX18.11/18_11.sce new file mode 100644 index 000000000..8304cbd87 --- /dev/null +++ b/3886/CH18/EX18.11/18_11.sce @@ -0,0 +1,18 @@ +//Ball dropped from height +//refer fig. 18.11 +g=9.81 //m/sec^2 +h0=1.2 //m +uy=sqrt(2*g*h0) //downward +h1=1 //m +v1y=sqrt(2*9.81*h1) //upwards +e=sqrt(1/1.2) +//Time of flight +t1=(2*sqrt(2*9.81*1))/(9.81) //sec +ux=0.4/0.903 //m/sec +//Vertical component of velocity after second bounce +v2y=0.903*sqrt(2*9.81*1) //m/sec +h2=((v2y)^2)/(2*9.81) //m +t2=(2*4)/(9.81) //sec +//Horizontal range +D2=0.443*0.815 //m +printf("\ne=%.3f \nh2=%.3f m \nD2=%.3f m ",e,h2,D2) diff --git a/3886/CH18/EX18.11/18_11.txt b/3886/CH18/EX18.11/18_11.txt new file mode 100644 index 000000000..529e046b6 --- /dev/null +++ b/3886/CH18/EX18.11/18_11.txt @@ -0,0 +1,6 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.11.sce', -1) + +e=0.913 +h2=0.815 m +D2=0.361 m \ No newline at end of file diff --git a/3886/CH18/EX18.12/18_12.sce b/3886/CH18/EX18.12/18_12.sce new file mode 100644 index 000000000..ef9595f61 --- /dev/null +++ b/3886/CH18/EX18.12/18_12.sce @@ -0,0 +1,14 @@ +//Sphere +//refere fig. 18.12 +u1=3 //m/sec +u2=0.6 //m/sec +//From principle of conservation of momentum +//v1+5*v2=6 +//From the defination of coefficient of restitution +//v2-v1=1.8 +//solving +v1=6-1.3*5 //m/sec +//The velocity of first ball is reversed after impact +//Loss of K.E.=Initial K.E.-final K.E. +loss=1.07 //joules +printf("\nLoss=%.3f joules",loss) diff --git a/3886/CH18/EX18.12/18_12.txt b/3886/CH18/EX18.12/18_12.txt new file mode 100644 index 000000000..96348bb34 --- /dev/null +++ b/3886/CH18/EX18.12/18_12.txt @@ -0,0 +1,4 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.12.sce', -1) + +Loss=1.070 joules \ No newline at end of file diff --git a/3886/CH18/EX18.13/18_13.sce b/3886/CH18/EX18.13/18_13.sce new file mode 100644 index 000000000..8b364d5fe --- /dev/null +++ b/3886/CH18/EX18.13/18_13.sce @@ -0,0 +1,11 @@ +//Loss in K.E. +uAX=7.79 //m/sec +uBX=-6 //m/sec +vAX=-5.31 //m/sec +vBX=7.104 //m/sec +//mass of the ball m +m=10/9.81 +//Loss of K.E. +loss=(10*((7.79^2)+(6*6)-(5.31*5.31)-(7.104*7.104)))/(2*9.81) //J +printf("\nLoss of K.E.=%.3f J",loss) +//The answer provided in the textbook is wrong diff --git a/3886/CH18/EX18.13/18_13.txt b/3886/CH18/EX18.13/18_13.txt new file mode 100644 index 000000000..01fca8cb6 --- /dev/null +++ b/3886/CH18/EX18.13/18_13.txt @@ -0,0 +1,4 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.13.sce', -1) + +Loss of K.E.=9.185 J \ No newline at end of file diff --git a/3886/CH18/EX18.2/18_2.sce b/3886/CH18/EX18.2/18_2.sce new file mode 100644 index 000000000..ccd33e2df --- /dev/null +++ b/3886/CH18/EX18.2/18_2.sce @@ -0,0 +1,9 @@ +//Body moving to the right +v2=3 //m/sec +u2=-10 //m/sec +v2=4 //m/sec +//Applying principles of conservation of momentum +v1=((80*3)-100-40)/(80) //m/sec +//Defination of coeff. of restitution gives +e=(4-1.25)/(3+10) +printf("\nv1=%.3f m/sec\ne=%.3f ",v1,e) diff --git a/3886/CH18/EX18.2/18_2.txt b/3886/CH18/EX18.2/18_2.txt new file mode 100644 index 000000000..7c9afcc00 --- /dev/null +++ b/3886/CH18/EX18.2/18_2.txt @@ -0,0 +1,5 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.2.sce', -1) + +v1=1.250 m/sec +e=0.212 \ No newline at end of file diff --git a/3886/CH18/EX18.3/18_3.sce b/3886/CH18/EX18.3/18_3.sce new file mode 100644 index 000000000..74427d055 --- /dev/null +++ b/3886/CH18/EX18.3/18_3.sce @@ -0,0 +1,14 @@ +//A golf ball +h0=10 //m +//u1=sqrt(2*g*h0) +u2=0 +v2=0 +//defination of coefficient of restitution gives +//v1=%e*sqrt(2*g*h0) in upward direction +//From kinematic equation +h1=10*0.894^2 //m +//After second bounce +h2=6.388 //m +//After third bounce +h3=5.105 //m +printf("\nh1=%.3f m\nAfter second bounce h2=%.3f m\nAfter third bounce h3=%.3f m",h1,h2,h3) diff --git a/3886/CH18/EX18.3/18_3.txt b/3886/CH18/EX18.3/18_3.txt new file mode 100644 index 000000000..ff717eafa --- /dev/null +++ b/3886/CH18/EX18.3/18_3.txt @@ -0,0 +1,6 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.3.sce', -1) + +h1=7.992 m +After second bounce h2=6.388 m +After third bounce h3=5.105 m \ No newline at end of file diff --git a/3886/CH18/EX18.4/18_4.sce b/3886/CH18/EX18.4/18_4.sce new file mode 100644 index 000000000..97d3dc681 --- /dev/null +++ b/3886/CH18/EX18.4/18_4.sce @@ -0,0 +1,13 @@ +//Ball is dropped from height +u1=sqrt(2*9.81*1) //m/sec +v1=-sqrt(2*9.81*0.810) //m/sec +//There is no movement of the floor before and after striking +//u2=0 +//v2=0 +//From the defination of coefficient of restitution +e=(3.987/4.429) +//Let the velocity of the ball after second bounce be v2 +v2=e*3.987 //m/sec upward +//Expected height h2 +h2=(3.576^2)/(2*9.81) //m +printf("\nCoefficient of restitution=%.3f \nExpected height of second bounce h2=%.4f m",e,h2) diff --git a/3886/CH18/EX18.4/18_4.txt b/3886/CH18/EX18.4/18_4.txt new file mode 100644 index 000000000..ed7b52339 --- /dev/null +++ b/3886/CH18/EX18.4/18_4.txt @@ -0,0 +1,5 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.4.sce', -1) + +Coefficient of restitution=0.900 +Expected height of second bounce h2=0.6518 m \ No newline at end of file diff --git a/3886/CH18/EX18.5/18_5.sce b/3886/CH18/EX18.5/18_5.sce new file mode 100644 index 000000000..c7f2d06c1 --- /dev/null +++ b/3886/CH18/EX18.5/18_5.sce @@ -0,0 +1,22 @@ +//Ball in frictionless tube +//refer fif. 18.4 +u1=sqrt(2*9.81*2) //m/sec +u2=0 +//By principle of conservation of momentum +//v1+2*v2=6.264 +//From defination of coefficient of restitution +//case(1)-e=1 +//v2-v1=6.264 +//solving +v2=4.176 //m/sec +v1=6.264-(2*4.176) //m/sec +//Let h be the height to which hanging ball will rise +//Change in K.E=Work Done +h=(v2^2)/(2*9.81) //m +//case(2)- e=0.7 +//v2-v1=4.385 +//solving +bv2=(6.264+4.385)/(3) //m/sec +//Height to which ball will rise +h2=(bv2^2)/(2*9.81) //m +printf("\nCase(1)-\nh=%.4f m\nCase(2)-\nh2=%.4f m ",h,h2) diff --git a/3886/CH18/EX18.5/18_5.txt b/3886/CH18/EX18.5/18_5.txt new file mode 100644 index 000000000..0c940a833 --- /dev/null +++ b/3886/CH18/EX18.5/18_5.txt @@ -0,0 +1,7 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.5.sce', -1) + +Case(1)- +h=0.8888 m +Case(2)- +h2=0.6422 m \ No newline at end of file diff --git a/3886/CH18/EX18.6/18_6.sce b/3886/CH18/EX18.6/18_6.sce new file mode 100644 index 000000000..ddd12ae7e --- /dev/null +++ b/3886/CH18/EX18.6/18_6.sce @@ -0,0 +1,21 @@ +//Two identical balls +//refer fig. 18.5 and 18.6 (a) and (b) +//Before impact +uAY=4.5 //m/sec +uAX=7.794 //m/sec +uBY=10.392 //m/sec +uBX=-6 //m/sec +vAY=uAY //m/sec +vBY=uBY //m/sec +//Applying principle of conservation of momentum +//vAX+vBX=1.794 +//From defination of coefficient of restitution +//vBX-vAX=12.415 +//Solving +vBX=(12.415+1.794)/(2) //m/sec +vAX=1.794-7.104 //m/sec +vA=sqrt((5.31^2)+(4.5^2)) //m/sec +thetaA=atand(4.5/5.31) //degree +vB=sqrt((7.104^2)+(10.392^2)) //m/sec +thetaB=atand(10.392/7.104) //degree +printf("\nvA=%.3f m/sec\nthetaA=%.3f degree\nvB=%.3f m/sec\nthetaB=%.3f degree",vA,thetaA,vB,thetaB) diff --git a/3886/CH18/EX18.6/18_6.txt b/3886/CH18/EX18.6/18_6.txt new file mode 100644 index 000000000..f65b21b53 --- /dev/null +++ b/3886/CH18/EX18.6/18_6.txt @@ -0,0 +1,7 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.6.sce', -1) + +vA=6.960 m/sec +thetaA=40.280 degree +vB=12.588 m/sec +thetaB=55.643 degree \ No newline at end of file diff --git a/3886/CH18/EX18.7/18_7.sce b/3886/CH18/EX18.7/18_7.sce new file mode 100644 index 000000000..ff68f5661 --- /dev/null +++ b/3886/CH18/EX18.7/18_7.sce @@ -0,0 +1,15 @@ +//Ball is dropped +//refer fig. 18.7 +//Normal to line of impact +u1x=1.986 //m/sec +//In the line of impact +u1y=-7.411 //m/sec +//Let the velocity after impact be v1 +v1x=u1x +//Initial and final velocities of floor=0 +//From the defination of coefficient of restitution +v1y=sqrt((1.986^2)+(5.929^2)) //m/sec +theta=atand(v1x/v1y) //degree to the line of impact +//Inclination to the plane +I=90-18.52 //degree The answer provided in the textbook is wrong +printf("\nv1=%.3f m/sec\nInclination to the plane=%.3f degree",v1,I) diff --git a/3886/CH18/EX18.7/18_7.txt b/3886/CH18/EX18.7/18_7.txt new file mode 100644 index 000000000..5e8967ca4 --- /dev/null +++ b/3886/CH18/EX18.7/18_7.txt @@ -0,0 +1,5 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.7.sce', -1) + +v1=6.253 m/sec +Inclination to the plane=71.480 degree \ No newline at end of file diff --git a/3886/CH18/EX18.8/18_8.sce b/3886/CH18/EX18.8/18_8.sce new file mode 100644 index 000000000..71f747103 --- /dev/null +++ b/3886/CH18/EX18.8/18_8.sce @@ -0,0 +1,17 @@ +//Ball falls vertically +//refer fig. 18.8 +//Velocity of the ball which striking plane=3*g +//Component of velocity down the plane=3*g*sind(20) +//Component of velocity in the line of impact before striking +//vy=-3*g*cosd(20) +//velocity after the impact after striking plane +//vy=2.4*g*cosd(20) +//Acceleration in the line of impact=-g*cosd(20) +//Using kinematic equation +t=4.8 //sec +//vx=3*g*sind(20) +//Acceleration in this direction=g*sind(20) +//Distance travelled in 4.8 sec +s=(3*9.81*t*sind(20))-((9.81*t*t*sind(20))/(2)) //m The answer provided in the textbook is wrong +printf("\nt=%.4f sec\ns=%.4f m",t,s) + diff --git a/3886/CH18/EX18.8/18_8.txt b/3886/CH18/EX18.8/18_8.txt new file mode 100644 index 000000000..b4f27fea6 --- /dev/null +++ b/3886/CH18/EX18.8/18_8.txt @@ -0,0 +1,5 @@ + +--> exec('E:\My program EM\18. Impact of elastic bodies\18.8.sce', -1) + +t=4.8000 sec +s=9.6630 m \ No newline at end of file -- cgit