diff options
Diffstat (limited to '1535/CH8/EX8.10/Ch08Ex10.sci')
-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 |