summaryrefslogtreecommitdiff
path: root/3648/CH3/EX3.10
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH3/EX3.10')
-rw-r--r--3648/CH3/EX3.10/Ex3_10.sce13
-rw-r--r--3648/CH3/EX3.10/Ex3_10.txt3
2 files changed, 16 insertions, 0 deletions
diff --git a/3648/CH3/EX3.10/Ex3_10.sce b/3648/CH3/EX3.10/Ex3_10.sce
new file mode 100644
index 000000000..2b0565feb
--- /dev/null
+++ b/3648/CH3/EX3.10/Ex3_10.sce
@@ -0,0 +1,13 @@
+//Example 3_10
+clc();
+clear;
+//To find out how high does it goes and its speed and how long will it be in air
+vf=0 //units in meters/sec
+v0=15 //units in meters/sec
+a=-9.8 //units in meters/sec^2
+y=(vf^2-v0^2)/(2*a) //units in meters
+printf("Distance it travels is y=%.1f meters\n",y)
+vf=-sqrt(2*a*-y) //units in meters/sec
+printf("The speed is vf=%d meters/sec\n",vf)
+t=vf/(0.5*a) //units in sec
+printf("Time taken is T=%.2f sec",t)
diff --git a/3648/CH3/EX3.10/Ex3_10.txt b/3648/CH3/EX3.10/Ex3_10.txt
new file mode 100644
index 000000000..f63d0c57c
--- /dev/null
+++ b/3648/CH3/EX3.10/Ex3_10.txt
@@ -0,0 +1,3 @@
+Distance it travels is y=11.5 meters
+The speed is vf=-15 meters/sec
+Time taken is T=3.06 sec \ No newline at end of file