summaryrefslogtreecommitdiff
path: root/3792/CH3/EX3.29/Ex3_29.sce
diff options
context:
space:
mode:
Diffstat (limited to '3792/CH3/EX3.29/Ex3_29.sce')
-rw-r--r--3792/CH3/EX3.29/Ex3_29.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3792/CH3/EX3.29/Ex3_29.sce b/3792/CH3/EX3.29/Ex3_29.sce
new file mode 100644
index 000000000..4cc4d840e
--- /dev/null
+++ b/3792/CH3/EX3.29/Ex3_29.sce
@@ -0,0 +1,15 @@
+// SAMPLE PROBLEM 3/29
+clc;funcprot(0);
+// Given data
+v_1=50;// m/s
+v_2=0;// m/s
+e=0.5;// The effective coefficient of restitution
+theta=30;// degree
+
+// Calculation
+v_1an=e*v_1*sind(theta);// ft/sec
+v_1at=v_1*cosd(theta);// ft/sec
+// Assume ' as a
+v_a=sqrt((v_1an)**2+(v_1at)**2);// ft/sec
+theta_a=atand((v_1an/v_1at));// degree
+printf("\nThe rebound velocity and its angle are then v_a=%2.1f ft/sec and theta_a=%2.1f degree",v_a,theta_a);