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/CH12/EX12.20 | |
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/CH12/EX12.20')
-rw-r--r-- | 3137/CH12/EX12.20/Ex12_20.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3137/CH12/EX12.20/Ex12_20.sce b/3137/CH12/EX12.20/Ex12_20.sce new file mode 100644 index 000000000..3235836ac --- /dev/null +++ b/3137/CH12/EX12.20/Ex12_20.sce @@ -0,0 +1,19 @@ +//Initilization of variables
+theta=45 //degrees
+l=0.5 //m
+w=10 //rad/s
+//Calculations
+//PART a
+//Here the theta derivative with respect to time is angular speed w
+Vp1=l*(secd(theta)^2)*w //m/s
+//Part b
+//Radial Component
+r=l*secd(theta)*tand(theta)*w //m/s
+//Transverse Component
+t=l*secd(theta)*w //m/s
+//Total
+Vp2=sqrt(r^2+t^2) //m/s
+//Result
+clc
+printf('The velocity is:%fm/s\n',Vp1)
+printf('The velocity in part b is %fm/s',Vp2)
|