diff options
Diffstat (limited to '3792/CH2/EX2.15')
-rw-r--r-- | 3792/CH2/EX2.15/Ex2_15.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3792/CH2/EX2.15/Ex2_15.sce b/3792/CH2/EX2.15/Ex2_15.sce new file mode 100644 index 000000000..43e3ca538 --- /dev/null +++ b/3792/CH2/EX2.15/Ex2_15.sce @@ -0,0 +1,13 @@ +// Example 2_15
+clc;funcprot(0);
+// Given data
+v_A=0.3;// m/s
+
+// Calculation
+// Solution (I).
+// v_A=y_A,v_B=y_B
+v_B=-(2*v_A)/3;// m/s
+printf("\nThe velocity of B,v_B=%0.1f m/s",v_B);
+// Solution (II).
+v_B=abs((2/3)*v_A);// m/s
+printf("\nThe velocity of B,v_B=%0.1f m/s (upward)",v_B);
|