summaryrefslogtreecommitdiff
path: root/632/CH11/EX11.2
diff options
context:
space:
mode:
Diffstat (limited to '632/CH11/EX11.2')
-rwxr-xr-x632/CH11/EX11.2/example11_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/632/CH11/EX11.2/example11_2.sce b/632/CH11/EX11.2/example11_2.sce
new file mode 100755
index 000000000..5000ca062
--- /dev/null
+++ b/632/CH11/EX11.2/example11_2.sce
@@ -0,0 +1,10 @@
+//clc()
+PE = 1.5*10^3;//J
+m = 10;//kg
+g = 9.81;//m/s^2
+v = 50;//m/s
+//PE = mgz
+z = PE / (m*g);
+KE = m* (v^2) / 2;
+disp("m",z,"Height of the body from the ground = ")
+disp("kJ",KE/1000,"Kinetic energy of the body = ")