summaryrefslogtreecommitdiff
path: root/3845/CH2/EX2.6/Ex2_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH2/EX2.6/Ex2_6.sce')
-rw-r--r--3845/CH2/EX2.6/Ex2_6.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3845/CH2/EX2.6/Ex2_6.sce b/3845/CH2/EX2.6/Ex2_6.sce
new file mode 100644
index 000000000..5cf02ed18
--- /dev/null
+++ b/3845/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,13 @@
+//Example 2.6
+//See Figure 2.22
+x_0_prime=5.25;//Initial position (km)
+x_f_prime=3.75;//Final position (km)
+delta_x_prime=x_f_prime-x_0_prime;//Displacement (km)
+delta_t=5;//Time duration (min)
+v=delta_x_prime/delta_t;//Velocity (km/min)
+v=v*60;//Velocity (km/h)
+printf('Average velocity = %0.1f km/h',v)
+//Velocity is negative as motion is to the left
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
+