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 /2915/CH4/EX4.14/Ex4_14.sce | |
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 '2915/CH4/EX4.14/Ex4_14.sce')
-rwxr-xr-x | 2915/CH4/EX4.14/Ex4_14.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2915/CH4/EX4.14/Ex4_14.sce b/2915/CH4/EX4.14/Ex4_14.sce new file mode 100755 index 000000000..bd8fbc541 --- /dev/null +++ b/2915/CH4/EX4.14/Ex4_14.sce @@ -0,0 +1,15 @@ +clc,clear
+//Example 4.14
+//To find linear and angular speed of a moving object
+
+t=0.5 //time in second
+r= 3 //radius in m of the circle
+theta = %pi/3 // central angle in radian
+w = theta/t //angular speed in rad /sec
+v=w*r//linear speed in m/sec
+
+printf('Angular speed= %f radian/sec\n',w)
+printf('Linear speed = %f m/sec',v)
+
+printf('\n\n(or)\n\nAngular speed= %f*pi radian/sec\n',w/%pi)
+printf('Linear speed = %f*pi m/sec',v/%pi)
|