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 --- 1958/CH1/EX1.e.5/Chapter1_ex5.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 1958/CH1/EX1.e.5/Chapter1_ex5.sce (limited to '1958/CH1/EX1.e.5/Chapter1_ex5.sce') diff --git a/1958/CH1/EX1.e.5/Chapter1_ex5.sce b/1958/CH1/EX1.e.5/Chapter1_ex5.sce new file mode 100755 index 000000000..995c97eaf --- /dev/null +++ b/1958/CH1/EX1.e.5/Chapter1_ex5.sce @@ -0,0 +1,14 @@ +clc +clear +m=100//Mass of block in kg +F=500//Force in N +q=30//Angle made with the horizontal in degrees +u=0.4//Coefficient of sliding friction + +//Calculations +R=m*9.8//Reaction force in N +f=(u*R)//Frictional force in N +a=(F*cosd(q)-f)/m//Acceleration of the block in m/s^2 + +//Output +printf('The acceleration of the block is %3.2f m/s^2',a) -- cgit