summaryrefslogtreecommitdiff
path: root/3785/CH4/EX4.4/Ex4_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3785/CH4/EX4.4/Ex4_4.sce')
-rw-r--r--3785/CH4/EX4.4/Ex4_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3785/CH4/EX4.4/Ex4_4.sce b/3785/CH4/EX4.4/Ex4_4.sce
new file mode 100644
index 000000000..38bd31ff9
--- /dev/null
+++ b/3785/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,11 @@
+// Example 4_4
+clc;funcprot(0);
+// Given data
+V_1=50;// Velocity in m/s
+alpha=45;// Angle in degree
+g=9.807;// The acceleration due to gravity in m/s^2
+
+// Calculation
+w_1=V_1*sind(alpha);// m/s
+h=(w_1)^2/(2*g);// Height in m
+printf("\nThe maximum value of h is %2.2f m",h)