diff options
Diffstat (limited to '1172/CH9/EX9.2.2')
-rwxr-xr-x | 1172/CH9/EX9.2.2/9_2b.txt | 4 | ||||
-rwxr-xr-x | 1172/CH9/EX9.2.2/Example9_2b.sce | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/1172/CH9/EX9.2.2/9_2b.txt b/1172/CH9/EX9.2.2/9_2b.txt new file mode 100755 index 000000000..8d576c589 --- /dev/null +++ b/1172/CH9/EX9.2.2/9_2b.txt @@ -0,0 +1,4 @@ + # Problem 2b #
+Standard formula used
+ M = m - 2.5log(L/L_0)
+ Capella is 155.688334 times brighter than sun.
diff --git a/1172/CH9/EX9.2.2/Example9_2b.sce b/1172/CH9/EX9.2.2/Example9_2b.sce new file mode 100755 index 000000000..e3f01e302 --- /dev/null +++ b/1172/CH9/EX9.2.2/Example9_2b.sce @@ -0,0 +1,14 @@ +clc
+// given that
+m_capella = 0.05 // magnitude of brightness of capella at 14 parsecs
+m_sun = 4.8 // absolute magnitude of brightness of sun
+d = 14 // distance of capella in parsecs
+D = 10 // distance of capella considerd for observation
+// sample problem 2b page No. 333
+printf("\n # Problem 2a # \n")
+
+printf("Standard formula used \n\t M = m - 2.5log(L/L_0) ")
+M_capella = m_capella - 5*log10(d/D) // calculation of absolute magnitude of brightness at distance of 10 parsecs
+del_m = m_sun - M_capella // difference between absolute magnitude of sun and capella
+ratio = 10^(del_m/2.5)
+printf ("\n Capella is %f times brighter than sun.", ratio )
|