From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3204/CH14/EX14.25/Ex14_25.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 3204/CH14/EX14.25/Ex14_25.sce (limited to '3204/CH14/EX14.25') diff --git a/3204/CH14/EX14.25/Ex14_25.sce b/3204/CH14/EX14.25/Ex14_25.sce new file mode 100644 index 000000000..a3404c0bd --- /dev/null +++ b/3204/CH14/EX14.25/Ex14_25.sce @@ -0,0 +1,22 @@ +// Initilization of variables +P=30 // N // weight on pulley A +Q=20 // N // weight on pulley B +R=10 // N // weight on puey B +g=9.81 // m/s^2 // acc due to gravity +// Calculations +// Solving eqn's 6 & 7 using matrix for a & a_1, we get +A=[70 -40;-10 30] +B=[10;-10] +C=inv(A)*B +// Acceleration of P is given as, +P=C(1) // m/s^2 +// Acceleration of Q is given as, +Q=C(2)-C(1) // m/s^2 +// Acceleration of R is given as, +R=-(C(2)+C(1)) // m/s^2 // as R is taken to be +ve +// Results +clc +printf('The acceleration of P is %f g \n',P) +printf('The acceleration of Q is %f g \n',Q) +printf('The acceleration of R is %f g \n',R) +// Here the -ve sign indicates deceleration or backward/downward acceleation. -- cgit