summaryrefslogtreecommitdiff
path: root/446/CH2/EX2.15
diff options
context:
space:
mode:
Diffstat (limited to '446/CH2/EX2.15')
-rwxr-xr-x446/CH2/EX2.15/2_15.sce9
-rwxr-xr-x446/CH2/EX2.15/2_15.txt2
2 files changed, 11 insertions, 0 deletions
diff --git a/446/CH2/EX2.15/2_15.sce b/446/CH2/EX2.15/2_15.sce
new file mode 100755
index 000000000..02bef3a87
--- /dev/null
+++ b/446/CH2/EX2.15/2_15.sce
@@ -0,0 +1,9 @@
+clear
+clc
+disp('Exa-2.15');
+r=1.5*10^11; I=1.4*10^3; //radius and intensity of sun
+s=4*%pi*r^2 //surface area of the sun
+Pr=s*I // Power radiated in J/sec
+c=3*10^8; //velocity of light
+m=Pr/c^2 //rate od decrease of mass
+printf('The rate of decrease in mass of the sun is %.1e kg/sec.',m); \ No newline at end of file
diff --git a/446/CH2/EX2.15/2_15.txt b/446/CH2/EX2.15/2_15.txt
new file mode 100755
index 000000000..9d7eced48
--- /dev/null
+++ b/446/CH2/EX2.15/2_15.txt
@@ -0,0 +1,2 @@
+ Exa-2.15
+The rate of decrease in mass of the sun is 4.4e+009 kg/sec. \ No newline at end of file