diff options
Diffstat (limited to '3845/CH2/EX2.3/Ex2_3.sce')
-rw-r--r-- | 3845/CH2/EX2.3/Ex2_3.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3845/CH2/EX2.3/Ex2_3.sce b/3845/CH2/EX2.3/Ex2_3.sce new file mode 100644 index 000000000..ca88641f4 --- /dev/null +++ b/3845/CH2/EX2.3/Ex2_3.sce @@ -0,0 +1,10 @@ +//Example 2.3
+displacement_a=+2;//Displacement in part (a) (km), See Example 2.2
+distance_a=abs(displacement_a);//Distance traveled in part (a) (km)
+printf('Distance travelled in part (a) = %0.2f km',distance_a)
+displacement_b=-1.5;//Displacement in part (b) (km), See Example 2.2
+distance_b=abs(displacement_b);//Distance traveled in part (b) (km)
+printf('\nDistance travelled in part (b) = %0.2f km',distance_b)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
+
|