summaryrefslogtreecommitdiff
path: root/24/CH6/EX6.7
diff options
context:
space:
mode:
Diffstat (limited to '24/CH6/EX6.7')
-rwxr-xr-x24/CH6/EX6.7/Example6_7.sce9
-rwxr-xr-x24/CH6/EX6.7/Example6_7_result.txt2
2 files changed, 11 insertions, 0 deletions
diff --git a/24/CH6/EX6.7/Example6_7.sce b/24/CH6/EX6.7/Example6_7.sce
new file mode 100755
index 000000000..c4e18284d
--- /dev/null
+++ b/24/CH6/EX6.7/Example6_7.sce
@@ -0,0 +1,9 @@
+//Given that
+g = 9.8 //in m/s^2
+Radius = 2.7 //in meter
+
+//Sample Problem 6-7
+printf("**Sample Problem 6-7**\n")
+//The velocity at highest point is equal to sqrt(gR)
+velocity_topmost = sqrt(g * Radius)
+printf("The velocity of ball at the topmost point would be %f m/s", velocity_topmost) \ No newline at end of file
diff --git a/24/CH6/EX6.7/Example6_7_result.txt b/24/CH6/EX6.7/Example6_7_result.txt
new file mode 100755
index 000000000..3d35a8046
--- /dev/null
+++ b/24/CH6/EX6.7/Example6_7_result.txt
@@ -0,0 +1,2 @@
+**Sample Problem 6-7**
+The velocity of ball at the topmost point would be 5.143928 m/s \ No newline at end of file