diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3137/CH17/EX17.26 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3137/CH17/EX17.26')
-rwxr-xr-x | 3137/CH17/EX17.26/Ex17_26.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3137/CH17/EX17.26/Ex17_26.sce b/3137/CH17/EX17.26/Ex17_26.sce new file mode 100755 index 000000000..9ed79b372 --- /dev/null +++ b/3137/CH17/EX17.26/Ex17_26.sce @@ -0,0 +1,17 @@ +//The textbook has a typo in printing the question number
+//Initilization of variables
+W1=96.6 //lb
+W2=128.8 //lb
+v=8 //ft/s
+g=32.2 //ft/s^2
+theta=30 //degrees
+//Calculations
+//Initial KE of the system is T1=0
+T2=(0.5*(W1/g)*v^2)+(0.5*(W2/g)*(v/2)^2) //ft-lb
+//Work Done without s term
+U=-(W1*sind(theta))+W2*0.5
+//S calculations
+s=T2/U //ft
+//Result
+clc
+printf('The block attains a speed of 8ft/s in %f ft',s)
|