diff options
Diffstat (limited to '1172/CH6/EX6.5/Example6_5.sce')
-rwxr-xr-x | 1172/CH6/EX6.5/Example6_5.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1172/CH6/EX6.5/Example6_5.sce b/1172/CH6/EX6.5/Example6_5.sce new file mode 100755 index 000000000..5332c768f --- /dev/null +++ b/1172/CH6/EX6.5/Example6_5.sce @@ -0,0 +1,11 @@ +clc
+//Given that
+m = 4 // mass of substance consumed fully in kg
+c = 3e8 // speed of light in m/s
+// sample problem 5 page No. 223
+printf("\n \n\n # Problem 5 # \n")
+printf("\n Standard formula used \n E = m*c^2")
+E = m * c^2// calculation of Amount of energy produced
+printf ("\n Amount of energy produced is %e J.", E)
+
+
|