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 --- 3137/CH13/EX13.8/Ex13_8.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 3137/CH13/EX13.8/Ex13_8.sce (limited to '3137/CH13/EX13.8/Ex13_8.sce') diff --git a/3137/CH13/EX13.8/Ex13_8.sce b/3137/CH13/EX13.8/Ex13_8.sce new file mode 100755 index 000000000..09b7805db --- /dev/null +++ b/3137/CH13/EX13.8/Ex13_8.sce @@ -0,0 +1,18 @@ +//Initilization of variables +m=4 //lb +v=6 //ft/s +r=2 //ft +theta1=40 //degrees +theta2=20 //degrees +g=32.2 //ft/s^2 +//Calculations +a_n=v^2/r //ft/s^2 +//Applying Newtons Principle +Fi=(m*a_n)/g //lb +//Solving by matrix method +A=[cosd(theta1),cosd(theta2);sind(theta1),-sind(theta2)] +B=[m;Fi] +C=inv(A)*B //lb +//Result +clc +printf('The value of T and C are %flb and %flb respectively',C(1),C(2)) -- cgit