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 /3204/CH21/EX21.2 | |
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 '3204/CH21/EX21.2')
-rw-r--r-- | 3204/CH21/EX21.2/Ex21_2.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3204/CH21/EX21.2/Ex21_2.sce b/3204/CH21/EX21.2/Ex21_2.sce new file mode 100644 index 000000000..a312deff7 --- /dev/null +++ b/3204/CH21/EX21.2/Ex21_2.sce @@ -0,0 +1,12 @@ +// Initilization of variables
+r=1 // m // radius of the cylinder
+v_c=20 // m/s // velocity of the cylinder at its centre
+// Calculations
+// The velocity of point E is given by using the triangle law as,
+v_e=sqrt(2)*v_c // m/s
+// Similarly the velocity at point F is given as,
+v_f=2*v_c // m/s
+// Results
+clc
+printf('The velocity of point E is %f m/s \n',v_e)
+printf('The velocity of point F is %f m/s \n',v_f)
|