summaryrefslogtreecommitdiff
path: root/3886/CH21/EX21.3
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3886/CH21/EX21.3
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3886/CH21/EX21.3')
-rw-r--r--3886/CH21/EX21.3/21_3.sce9
-rw-r--r--3886/CH21/EX21.3/21_3.txt6
2 files changed, 15 insertions, 0 deletions
diff --git a/3886/CH21/EX21.3/21_3.sce b/3886/CH21/EX21.3/21_3.sce
new file mode 100644
index 000000000..828ad6d5d
--- /dev/null
+++ b/3886/CH21/EX21.3/21_3.sce
@@ -0,0 +1,9 @@
+//Displacement
+//After 0.5 sec
+theta=5.236*0.5*(180/%pi)
+//displacement
+x=0.75*sind(150) //m
+//Velocity
+vx=0.75*5.236*cosd(150)
+ax=0.375*5.236^2 //m/sec^2
+printf("\nx=%.3f m\nvx=%.3f m/sec\nax=%.2f ",x,vx,ax)
diff --git a/3886/CH21/EX21.3/21_3.txt b/3886/CH21/EX21.3/21_3.txt
new file mode 100644
index 000000000..e1c2d6949
--- /dev/null
+++ b/3886/CH21/EX21.3/21_3.txt
@@ -0,0 +1,6 @@
+
+--> exec('E:\My program EM\21. Mechanical vibration\21.3.sce', -1)
+
+x=0.375 m
+vx=-3.401 m/sec
+ax=10.28 \ No newline at end of file