summaryrefslogtreecommitdiff
path: root/3648/CH3/EX3.4/Ex3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH3/EX3.4/Ex3_4.sce')
-rw-r--r--3648/CH3/EX3.4/Ex3_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3648/CH3/EX3.4/Ex3_4.sce b/3648/CH3/EX3.4/Ex3_4.sce
new file mode 100644
index 000000000..c047a35cd
--- /dev/null
+++ b/3648/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,12 @@
+//Example 3_4
+clc();
+clear;
+//To find acceleration and time taken to stop
+v0=5 //units in meters/sec
+vf=0 //units in meters/sec
+v_1=(v0+vf)/2 //units in meters/sec
+x=20 //units in meters
+t=x/v_1 //units in sec
+a=(vf-v0)/t //units in meters/sec^2
+printf("Acceleration is a=%.3f meters/sec^2\n",a)
+printf("Time taken to stop t=%d sec",t)