From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3845/CH8/EX8.1/Ex8_1.sce | 11 +++++++++++ 3845/CH8/EX8.2/Ex8_2.sce | 11 +++++++++++ 3845/CH8/EX8.3/Ex8_3.sce | 9 +++++++++ 3845/CH8/EX8.4/Ex8_4.sce | 22 ++++++++++++++++++++++ 3845/CH8/EX8.5/Ex8_5.sce | 12 ++++++++++++ 3845/CH8/EX8.6/Ex8_6.sce | 15 +++++++++++++++ 3845/CH8/EX8.7/Ex8_7.sce | 16 ++++++++++++++++ 3845/CH8/EX8.8/Ex8_8.sce | 9 +++++++++ 8 files changed, 105 insertions(+) create mode 100644 3845/CH8/EX8.1/Ex8_1.sce create mode 100644 3845/CH8/EX8.2/Ex8_2.sce create mode 100644 3845/CH8/EX8.3/Ex8_3.sce create mode 100644 3845/CH8/EX8.4/Ex8_4.sce create mode 100644 3845/CH8/EX8.5/Ex8_5.sce create mode 100644 3845/CH8/EX8.6/Ex8_6.sce create mode 100644 3845/CH8/EX8.7/Ex8_7.sce create mode 100644 3845/CH8/EX8.8/Ex8_8.sce (limited to '3845/CH8') diff --git a/3845/CH8/EX8.1/Ex8_1.sce b/3845/CH8/EX8.1/Ex8_1.sce new file mode 100644 index 000000000..f8a8fe679 --- /dev/null +++ b/3845/CH8/EX8.1/Ex8_1.sce @@ -0,0 +1,11 @@ +//Example 8.1 +m=110;//Mass of football player (kg) +v=8;//Speed (m/s) +p_player=m*v;//Momentum (kg.m/s) +printf('a.Momentum of the player = %0.1f kg.m/s',p_player) +m_ball=0.410;//Mass of the ball (kg) +v_ball=25;//Velocity of ball (m/s) +p_ball=m_ball*v_ball;//Momentum of ball (kg.m/s) +printf('\nb.Ratio of momentum of the player to that of the ball = %0.1f',p_player/p_ball) +//Openstax - College Physics +//Download for free at http://cnx.org/content/col11406/latest diff --git a/3845/CH8/EX8.2/Ex8_2.sce b/3845/CH8/EX8.2/Ex8_2.sce new file mode 100644 index 000000000..a324a1744 --- /dev/null +++ b/3845/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,11 @@ +//Example 8.2 +m=0.057;//Mass of ball (kg) +v_i=0;//Initial velocity (m/s) +v_f=58;//Final velocity (m/s) +delta_p=m*(v_f-v_i);//Change in momentum (kg.m/s) +delta_t=5*10^-3;//Duration of contact of ball with racquet (s) +F_net=delta_p/delta_t;//Net external force (N) +printf('Average force exerted on the ball by the racquet = %0.1f N',F_net) +//Answer varies due to round off error +//Openstax - College Physics +//Download for free at http://cnx.org/content/col11406/latest diff --git a/3845/CH8/EX8.3/Ex8_3.sce b/3845/CH8/EX8.3/Ex8_3.sce new file mode 100644 index 000000000..d93ee4a53 --- /dev/null +++ b/3845/CH8/EX8.3/Ex8_3.sce @@ -0,0 +1,9 @@ +//Example 8.3 +printf('a.Solution is beyond the scope of numerical computation'); +//For (b), the ratio of magnitudes of impulse imparted to the balls = (2*m*u)/(2*m*u*cosd(30)) +theta=30;//Angle (deg) +r=1/cosd(theta); +printf('\nb.Ratio of magnitude of impulse exerted on first ball to that on second ball = %0.3f',r) +//Openstax - College Physics +//Download for free at http://cnx.org/content/col11406/latest + diff --git a/3845/CH8/EX8.4/Ex8_4.sce b/3845/CH8/EX8.4/Ex8_4.sce new file mode 100644 index 000000000..7763c7eb7 --- /dev/null +++ b/3845/CH8/EX8.4/Ex8_4.sce @@ -0,0 +1,22 @@ +//Example 8.4 +m1=0.500;//Mass of object 1 (kg) +m2=3.50;//Mass of object 2 (kg) +v1=4.00;//Initial velocity of object 1 (m/s) +v2=0;//Initial velocity of object 2 (m/s) +//Using equations of conservation of momentum and conservation of internal kinetic energy, we can derive a quadratic equation with v1_final as the variable +//(1/2*m1+1/2*m1^2/m2)v1_final^2-(m1^2/m2*v1)v1_final-(1/2*m1*v1^2-1/2*m1^2/m2*v1^2) + +p=[(1/2*m1+1/2*m1^2/m2) -(m1^2/m2*v1) -(1/2*m1*v1^2-1/2*m1^2/m2*v1^2)];//Coefficients of above polynomial + +r=roots(p);//Finding the roots of the equation +if r(1,1)==v1 then + v1_final=r(2,1); +else + v1_final=r(1,1); +end//Assigning a meaningful value to final velocity of object 1 (m/s) +v2_final=m1/m2*(v1-v1_final);//Final value of object 2 from momentum equation (m/s) + +printf('Final velocity of object 1 = %0.2f m/s',v1_final) +printf('\nFinal velocity of object 2 = %0.2f m/s',v2_final) +//Openstax - College Physics +//Download for free at http://cnx.org/content/col11406/latest diff --git a/3845/CH8/EX8.5/Ex8_5.sce b/3845/CH8/EX8.5/Ex8_5.sce new file mode 100644 index 000000000..333558b50 --- /dev/null +++ b/3845/CH8/EX8.5/Ex8_5.sce @@ -0,0 +1,12 @@ +//Example 8.5 +m1=0.150;//Mass of puck (kg) +m2=70.0;//Mass of goalie (kg) +v1=35.0;//Initial velocity of puck (m/s) +v=(m1*v1)/(m1+m2);//Final velocity from conservation of momentum (m/s) +printf('a.Recoil velocity = %0.2e m/s',v) +KE_int1=1/2*m1*v1^2;//Internal kinetic energy before collision (J) +KE_int2=1/2*(m1+m2)*v^2;//Internal kinetic energy after collision (J) +delta_KE=KE_int2-KE_int1;//Change in internal kinetic energy (J) +printf('\nb.Change in internal kinetic energy = %0.1f J',delta_KE) +//Openstax - College Physics +//Download for free at http://cnx.org/content/col11406/latest diff --git a/3845/CH8/EX8.6/Ex8_6.sce b/3845/CH8/EX8.6/Ex8_6.sce new file mode 100644 index 000000000..59aafc402 --- /dev/null +++ b/3845/CH8/EX8.6/Ex8_6.sce @@ -0,0 +1,15 @@ +//Example 8.6 +m1=0.350;//Mass of cart 1 and spring (kg) +m2=0.500;//Mass of cart 2 (kg) +v1=2.00;//Initial velocity of cart 1 (m/s) +v2=-0.500;//Initial velocity of cart 2 (m/s) +v1_final=-4.00;//Final velocity of cart 1 (m/s) +v2_final=(m1*v1+m2*v2-m1*v1_final)/m2;//Final velocity of cart 2 (m/s) +printf('a.Final velocity of cart 2 = %0.2f m/s',v2_final) +KE_int1=(1/2*m1*v1^2)+(1/2*m2*v2^2);//Internal kinetic energy before collision (J) +KE_int2=(1/2*m1*v1_final^2)+(1/2*m2*v2_final^2);//Internal kinetic energy after collision (J) +delta_KE=KE_int2-KE_int1;//Change in internal kinetic energy (J) +printf('\nb.Energy released by the spring = %0.2f J',delta_KE) +//Openstax - College Physics +//Download for free at http://cnx.org/content/col11406/latest + diff --git a/3845/CH8/EX8.7/Ex8_7.sce b/3845/CH8/EX8.7/Ex8_7.sce new file mode 100644 index 000000000..12d35b0ed --- /dev/null +++ b/3845/CH8/EX8.7/Ex8_7.sce @@ -0,0 +1,16 @@ +//Example 8.7 +m1=0.250;//Mass of object 1 (kg) +m2=0.400;//Mass of object 2 (kg) +v1=2.00;//Initial speed of object 1 (m/s) +v1_final=1.50;//Final speed of object 1 (m/s) +theta1=45;//Angle of emergence (deg) +theta2=atand((v1_final*sind(theta1))/(v1_final*cosd(theta1)-v1));//Direction of velocity of object 2 (deg) +printf('Direction of velocity of object 2 after collision = %0.1f deg\n',theta2) +if theta2<0 + printf('\t\t\t\t\t\t or %0.1f deg',360+theta2) +end +v2_final=-(m1/m2)*v1_final*(sind(theta1)/sind(theta2)); +printf('\nMagnitude of velocity of object 2 after collision = %0.3f m/s',v2_final) +//Answer varies due to round off error +//Openstax - College Physics +//Download for free at http://cnx.org/content/col11406/latest diff --git a/3845/CH8/EX8.8/Ex8_8.sce b/3845/CH8/EX8.8/Ex8_8.sce new file mode 100644 index 000000000..862ca6bfb --- /dev/null +++ b/3845/CH8/EX8.8/Ex8_8.sce @@ -0,0 +1,9 @@ +//Example 8.8 +m=2.80*10^6;//Mass at liftoff (kg) +delta_m_by_delta_t=1.40*10^4;//Fuel-burn rate (kg/s) +v_e=2.40*10^3;//Exhaust velocity (m/s) +g=9.80;//Acceleration due to gravity (m/s^2) +a=v_e*(delta_m_by_delta_t)/m-g;//Acceleration (m/s^2) +printf('Initial acceleration = %0.2f m/s^2',a) +//Openstax - College Physics +//Download for free at http://cnx.org/content/col11406/latest -- cgit