summaryrefslogtreecommitdiff
path: root/3204/CH14/EX14.11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH14/EX14.11
downloadScilab-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/CH14/EX14.11')
-rw-r--r--3204/CH14/EX14.11/Ex14_11.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3204/CH14/EX14.11/Ex14_11.sce b/3204/CH14/EX14.11/Ex14_11.sce
new file mode 100644
index 000000000..38ff8a24c
--- /dev/null
+++ b/3204/CH14/EX14.11/Ex14_11.sce
@@ -0,0 +1,17 @@
+// Initilization of variables
+// Conditions given are
+t=1 // s
+x=14.75 // m
+v=6.33 // m/s
+// Calculations
+// We use expression 1,2 & 3 to find distance,velocity & acceleration of the particle after 2 sec
+T=2 // sec
+X=(T^4/12)-(T^3/3)+(T^2)+(5*T)+9 // m // eq'n 3
+V=(T^3/3)-(T^2)+(2*T)+5 // m/s
+a=(T^2)-(2*T)+2 // m/s^2
+// Results
+clc
+printf('The distance travelled by the particle is %f m \n',X)
+printf('The velocity of the particle is %f m/s \n',V)
+printf('The acceleration of the particle is %f m/s^2 \n',a)
+// The answer may vary due to decimal point error