diff options
Diffstat (limited to '24/CH8/EX8.4/Example8_4.sce')
-rwxr-xr-x | 24/CH8/EX8.4/Example8_4.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/24/CH8/EX8.4/Example8_4.sce b/24/CH8/EX8.4/Example8_4.sce new file mode 100755 index 000000000..627655a96 --- /dev/null +++ b/24/CH8/EX8.4/Example8_4.sce @@ -0,0 +1,15 @@ +//Given that
+m = 61 //in kg
+Hi = 45 //in meter
+L = 25 //in meter
+k = 160 //in N/m
+g = 9.8 //in m/s^2
+
+//Sample Problem 8-4
+printf("**Sample Problem 8-4**\n")
+//Assume that the jumper goes x meter down the bridge
+//Using energy conservation energy
+s=poly(0,"s")
+p = .5*k*(s-25)^2 - m*g*s //equal to 0
+x = roots(p)
+printf("The height fell down is %fm", x(2))
\ No newline at end of file |