diff options
Diffstat (limited to '3648/CH4/EX4.4/Ex4_4.sce')
-rw-r--r-- | 3648/CH4/EX4.4/Ex4_4.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3648/CH4/EX4.4/Ex4_4.sce b/3648/CH4/EX4.4/Ex4_4.sce new file mode 100644 index 000000000..0189194a6 --- /dev/null +++ b/3648/CH4/EX4.4/Ex4_4.sce @@ -0,0 +1,19 @@ +//Example 4_4
+clc();
+clear;
+// To calculate How far does the car goes
+w1=3300 //units in lb
+F1=4.45 //units in Newtons
+w2=1 //units in lb
+weight=w1*(F1/w2) //units in Newtons
+g=9.8 //units in meters/sec^2
+Mass=weight/g //units in Kg
+speed=38 //units in mi/h
+speed=speed*(1.61)*(1/3600) //units in Km/sec
+stoppingforce=0.7*(weight) //units in Newtons
+a=stoppingforce/-(Mass) //units in meters/sec^2
+vf=0
+v0=17 //units in meters/sec
+x=(vf^2-v0^2)/(2*a)
+printf("The car goes by x=%.1f meters",x)
+//In text book the answer is printed wrong as x=20.9 meters the correct answer is x=21.1 meters
|