diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH6/EX6.5 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1172/CH6/EX6.5')
-rwxr-xr-x | 1172/CH6/EX6.5/6_5.txt | 6 | ||||
-rwxr-xr-x | 1172/CH6/EX6.5/Example6_5.sce | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/1172/CH6/EX6.5/6_5.txt b/1172/CH6/EX6.5/6_5.txt new file mode 100755 index 000000000..eaee257dc --- /dev/null +++ b/1172/CH6/EX6.5/6_5.txt @@ -0,0 +1,6 @@ + # Problem 5 #
+
+ Standard formula used
+ E = m*c^2
+ Amount of energy produced is 3.600000e+17 J.
+
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)
+
+
|