summaryrefslogtreecommitdiff
path: root/1019/CH3/EX3.27/Example_3_27.sce
diff options
context:
space:
mode:
Diffstat (limited to '1019/CH3/EX3.27/Example_3_27.sce')
-rw-r--r--1019/CH3/EX3.27/Example_3_27.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1019/CH3/EX3.27/Example_3_27.sce b/1019/CH3/EX3.27/Example_3_27.sce
new file mode 100644
index 000000000..c8149b731
--- /dev/null
+++ b/1019/CH3/EX3.27/Example_3_27.sce
@@ -0,0 +1,16 @@
+//Example 3.27
+clear;
+clc;
+
+//Given
+E=-21;
+c1=3;
+delE = E * 10^6;//evolved energy in J
+c = c1 * 10^8;//speed of light in m/s^2
+
+//To determine change in mass
+delm = delE/(c^2);//change in mass in kg by Einstein equation
+m=E/(c1^2);
+t=6-(2*8)
+mprintf('change in mass = %f*10^%i kg',m,t);
+//end \ No newline at end of file