summaryrefslogtreecommitdiff
path: root/3648/CH6/EX6.3
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH6/EX6.3')
-rw-r--r--3648/CH6/EX6.3/Ex6_3.sce11
-rw-r--r--3648/CH6/EX6.3/Ex6_3.txt2
2 files changed, 13 insertions, 0 deletions
diff --git a/3648/CH6/EX6.3/Ex6_3.sce b/3648/CH6/EX6.3/Ex6_3.sce
new file mode 100644
index 000000000..ac0de7706
--- /dev/null
+++ b/3648/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,11 @@
+//Example 6_3
+clc();
+clear;
+//To find out how fast and the direction car moving
+m1=30000 //units in Kg
+m2=1200 //units in Kg
+v10=10 //units in meters/sec
+v20=-25 //units in meters/sec
+vf=((m1*v10)+(m2*v20))/(m1+m2) //unis in meters/sec
+printf("The car is moving at vf=%.2f Meters/sec\n",vf)
+printf("The positive sign of vf Indicate the car is moving in the direction the truck was moving")
diff --git a/3648/CH6/EX6.3/Ex6_3.txt b/3648/CH6/EX6.3/Ex6_3.txt
new file mode 100644
index 000000000..90146f8d5
--- /dev/null
+++ b/3648/CH6/EX6.3/Ex6_3.txt
@@ -0,0 +1,2 @@
+The car is moving at vf=8.65 Meters/sec
+The positive sign of vf Indicate the car is moving in the direction the truck was moving \ No newline at end of file