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 --- 1862/CH11/EX11.8/C11P8.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 1862/CH11/EX11.8/C11P8.sce (limited to '1862/CH11/EX11.8') diff --git a/1862/CH11/EX11.8/C11P8.sce b/1862/CH11/EX11.8/C11P8.sce new file mode 100755 index 000000000..dc6a64ee7 --- /dev/null +++ b/1862/CH11/EX11.8/C11P8.sce @@ -0,0 +1,20 @@ + +clear + clc +//to find spring compression + +// GIVEN:: +//mass of body +m = 3.63//in kg +//speed of block +v = 1.22//in m/s +//force constant for spring +k = 135//in + +// SOLUTION: +//using work-energy principle +//spring compression +d = v*sqrt(m/k)//in meters +d1 = d*10^2//in +printf ("\n\n Spring compression d = \n\n %.3f m",d); +printf ("\n\n Spring compression d = \n\n %.1f cm",d1); -- cgit