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 /1535/CH8/EX8.10 | |
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 '1535/CH8/EX8.10')
-rwxr-xr-x | 1535/CH8/EX8.10/Ch08Ex10.sci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1535/CH8/EX8.10/Ch08Ex10.sci b/1535/CH8/EX8.10/Ch08Ex10.sci new file mode 100755 index 000000000..cb1c55c62 --- /dev/null +++ b/1535/CH8/EX8.10/Ch08Ex10.sci @@ -0,0 +1,8 @@ +// Scilab Code Ex8.10: Page-175 (2010)
+c = 3e+008; // Speed of light in vacuum, m/s
+dE = 4e+026; // Energy radiated per second my the sun, J/s
+dm = dE/c^2; // Rate of decrease of mass of sun, kg/s
+printf("\nThe rate of decrease of mass of sun = %4.2e kg/s", dm);
+
+// Result
+// The rate of decrease of mass of sun = 4.44e+009 kg/s
\ No newline at end of file |