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/CH9 | |
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/CH9')
-rwxr-xr-x | 1172/CH9/EX9.1/9_1.txt | 4 | ||||
-rwxr-xr-x | 1172/CH9/EX9.1/Example9_1.sce | 11 | ||||
-rwxr-xr-x | 1172/CH9/EX9.2.1/9_2a.txt | 4 | ||||
-rwxr-xr-x | 1172/CH9/EX9.2.1/Example9_2a.sce | 9 | ||||
-rwxr-xr-x | 1172/CH9/EX9.2.2/9_2b.txt | 4 | ||||
-rwxr-xr-x | 1172/CH9/EX9.2.2/Example9_2b.sce | 14 |
6 files changed, 46 insertions, 0 deletions
diff --git a/1172/CH9/EX9.1/9_1.txt b/1172/CH9/EX9.1/9_1.txt new file mode 100755 index 000000000..aff440139 --- /dev/null +++ b/1172/CH9/EX9.1/9_1.txt @@ -0,0 +1,4 @@ + # Problem 1 #
+Standard formula used
+ M = m - 2.5log(L/L_0)
+ In two days novas brightness is increased by 160000 times nearly
diff --git a/1172/CH9/EX9.1/Example9_1.sce b/1172/CH9/EX9.1/Example9_1.sce new file mode 100755 index 000000000..5af7d8f50 --- /dev/null +++ b/1172/CH9/EX9.1/Example9_1.sce @@ -0,0 +1,11 @@ +clc
+//Given that
+m_i = 15 // initial magnitude of supernova
+m_f = 2 // final magnitude of supernova
+// sample problem 1 page No. 332
+printf("\n # Problem 1 # \n")
+
+printf("Standard formula used \n\t M = m - 2.5log(L/L_0) ")
+del_m = m_i - m_f // calculation of change in magnitude
+brightness_ratio = 100^(del_m/5) // calculation of increment in brightness ratio.
+printf ("\n In two days novas brightness is increased by %d times nearly", ceil(brightness_ratio / 10000)*10000 )
diff --git a/1172/CH9/EX9.2.1/9_2a.txt b/1172/CH9/EX9.2.1/9_2a.txt new file mode 100755 index 000000000..76b9f04b3 --- /dev/null +++ b/1172/CH9/EX9.2.1/9_2a.txt @@ -0,0 +1,4 @@ + # Problem 2a #
+Standard formula used
+ M = m - 2.5log(L/L_0)
+ Change in magnitude is 0.752575 times
diff --git a/1172/CH9/EX9.2.1/Example9_2a.sce b/1172/CH9/EX9.2.1/Example9_2a.sce new file mode 100755 index 000000000..f3e347b17 --- /dev/null +++ b/1172/CH9/EX9.2.1/Example9_2a.sce @@ -0,0 +1,9 @@ +clc
+//Given that
+b_ratio = 2 // ratio of light output in a period
+// sample problem 2a page No. 333
+printf("\n # Problem 2a # \n")
+
+printf("Standard formula used \n\t M = m - 2.5log(L/L_0) ")
+del_m = 2.5 * log10(b_ratio) // calulation of change in magnitude
+printf ("\n Change in magnitude is %f times", del_m )
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 )
|