summaryrefslogtreecommitdiff
path: root/3648/CH3/EX3.8/Ex3_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH3/EX3.8/Ex3_8.sce')
-rw-r--r--3648/CH3/EX3.8/Ex3_8.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3648/CH3/EX3.8/Ex3_8.sce b/3648/CH3/EX3.8/Ex3_8.sce
new file mode 100644
index 000000000..fd939ab8d
--- /dev/null
+++ b/3648/CH3/EX3.8/Ex3_8.sce
@@ -0,0 +1,10 @@
+//Example 3_8
+clc();
+clear;
+//To calculate the acceleration
+vf=30 //units in meters/sec
+v0=0 //units in meters/sec
+t=9 //units in sec
+a=(vf-v0)/t //units in meters/sec^2
+a=a*(1/1000)*(3600/1)*(3600/1) //units in km/h^2
+printf("Acceleration a=%d km/h^2",a)