summaryrefslogtreecommitdiff
path: root/3845/CH7/EX7.7/Ex7_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH7/EX7.7/Ex7_7.sce')
-rw-r--r--3845/CH7/EX7.7/Ex7_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3845/CH7/EX7.7/Ex7_7.sce b/3845/CH7/EX7.7/Ex7_7.sce
new file mode 100644
index 000000000..4cdf08a5b
--- /dev/null
+++ b/3845/CH7/EX7.7/Ex7_7.sce
@@ -0,0 +1,11 @@
+//Example 7.7
+g=9.80;//Acceleration due to gravity (m/s^2)
+h=20;//Magnitude of height (m)
+v_a=sqrt(2*g*h);//Final speed (m/s)
+printf('a.Final speed = %0.1f m/s',v_a)
+v_0=5;//Initial speed (m/s)
+v_b=sqrt(2*g*h +v_0^2);//Final speed (m/s)
+printf('\nb.Final speed = %0.1f m/s',v_b)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
+