summaryrefslogtreecommitdiff
path: root/3850/CH25/EX25.1/Ex25_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH25/EX25.1/Ex25_1.sce')
-rw-r--r--3850/CH25/EX25.1/Ex25_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3850/CH25/EX25.1/Ex25_1.sce b/3850/CH25/EX25.1/Ex25_1.sce
new file mode 100644
index 000000000..bfde0c4e1
--- /dev/null
+++ b/3850/CH25/EX25.1/Ex25_1.sce
@@ -0,0 +1,16 @@
+
+//To calculate the kinetic energy
+
+//Example 25.1
+
+clear;
+
+clc;
+
+m=10;//mass in kg
+
+v=36;//speed in kmph
+
+E=[1/2*m*(v*10^3/3600)^2]/4.186;//formula for finding kinetic energy
+
+printf("kinetic energy=%f cal",E);