summaryrefslogtreecommitdiff
path: root/3648/CH25/EX25.5/Ex25_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH25/EX25.5/Ex25_5.sce')
-rw-r--r--3648/CH25/EX25.5/Ex25_5.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3648/CH25/EX25.5/Ex25_5.sce b/3648/CH25/EX25.5/Ex25_5.sce
new file mode 100644
index 000000000..7cde91c06
--- /dev/null
+++ b/3648/CH25/EX25.5/Ex25_5.sce
@@ -0,0 +1,10 @@
+//Example 25_5
+clc();
+clear;
+//To compare the energy that obtained by changing all mass to energy
+m=0.1 //units in Kg
+c=3*10^8 //Units in meters/sec
+e=m*c^2 //units in J
+printf("The energy that is obtained by changing all mass to energy is E=")
+disp(e)
+printf("J")