diff options
Diffstat (limited to '3648/CH3/EX3.3/Ex3_3.sce')
-rw-r--r-- | 3648/CH3/EX3.3/Ex3_3.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3648/CH3/EX3.3/Ex3_3.sce b/3648/CH3/EX3.3/Ex3_3.sce new file mode 100644 index 000000000..ab734b1c6 --- /dev/null +++ b/3648/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,12 @@ +//Example 3_3
+clc();
+clear;
+//To find acceleration and the distance it travels in time
+vf=5 //units in meters/sec
+v0=0 //units in meters/sec
+t=10 //units in sec
+a=(vf-v0)/t //units in meters/sec^2
+v_1=(vf+v0)/2 //unis in meters/sec
+x=v_1*t //units in meters
+printf("Acceleration is a=%.1f meters/sec\n",a)
+printf("Distance travelled is x=%d meters",x)
|