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 /1286/CH15 | |
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 '1286/CH15')
-rwxr-xr-x | 1286/CH15/EX15.1/15_1.sce | 9 | ||||
-rwxr-xr-x | 1286/CH15/EX15.10/15_10.sce | 13 | ||||
-rwxr-xr-x | 1286/CH15/EX15.11/15_11.sce | 8 | ||||
-rwxr-xr-x | 1286/CH15/EX15.14/15_14.sce | 11 | ||||
-rwxr-xr-x | 1286/CH15/EX15.2/15_2.sce | 10 | ||||
-rwxr-xr-x | 1286/CH15/EX15.3/15_3.sce | 9 | ||||
-rwxr-xr-x | 1286/CH15/EX15.4/15_4.sce | 11 | ||||
-rwxr-xr-x | 1286/CH15/EX15.5/15_5.sce | 14 | ||||
-rwxr-xr-x | 1286/CH15/EX15.6/15_6.sce | 22 | ||||
-rwxr-xr-x | 1286/CH15/EX15.9/15_9.sce | 10 |
10 files changed, 117 insertions, 0 deletions
diff --git a/1286/CH15/EX15.1/15_1.sce b/1286/CH15/EX15.1/15_1.sce new file mode 100755 index 000000000..16ecac39a --- /dev/null +++ b/1286/CH15/EX15.1/15_1.sce @@ -0,0 +1,9 @@ +clc
+//initialisations
+c=8
+h=3
+t=5
+//CALCULATIONS
+a=factorial(8)/(factorial(3)*factorial(5)*2^8)
+//results
+printf(' \n probability of 3 heads and 5 tails= % 1f ',a)
diff --git a/1286/CH15/EX15.10/15_10.sce b/1286/CH15/EX15.10/15_10.sce new file mode 100755 index 000000000..e4d377b6e --- /dev/null +++ b/1286/CH15/EX15.10/15_10.sce @@ -0,0 +1,13 @@ +clc
+//initialisation
+t1=301//k
+t2=300//k
+f=5*(10^30)
+fa=f/2
+//CALCULATIONS
+r=t1/t2
+i=r^fa
+//results
+printf(' \sigma(E) increases by a factor r^fa ')
+printf(' \n r= % 1f ',r)
+printf(' \n fa= % 1f ',fa)
diff --git a/1286/CH15/EX15.11/15_11.sce b/1286/CH15/EX15.11/15_11.sce new file mode 100755 index 000000000..833becc7b --- /dev/null +++ b/1286/CH15/EX15.11/15_11.sce @@ -0,0 +1,8 @@ +clc
+//initialisation
+de=5.52*10^-21//j
+k=1.38*10^-23
+//CALCULATIONS
+t=de/(2*k)
+//results
+printf(' \n temperature of system= % 1f k',t)
diff --git a/1286/CH15/EX15.14/15_14.sce b/1286/CH15/EX15.14/15_14.sce new file mode 100755 index 000000000..125bafe04 --- /dev/null +++ b/1286/CH15/EX15.14/15_14.sce @@ -0,0 +1,11 @@ +clc
+//initialisation
+p=0.76*9.81*13600
+dv=10^-5//m3
+k=1.38*10^-23
+t=300//k
+//CALCULATIONS
+r=(p*dv)/(k*t)
+//results
+printf(' \n factor by which number of accessible states increases is exp(r) ')
+printf(' \n r= % 1e ',r)
diff --git a/1286/CH15/EX15.2/15_2.sce b/1286/CH15/EX15.2/15_2.sce new file mode 100755 index 000000000..4e8c38139 --- /dev/null +++ b/1286/CH15/EX15.2/15_2.sce @@ -0,0 +1,10 @@ +clc
+//initialisation
+n=5
+h=2
+p=1/6
+//CALCULATIONS
+t=1-p
+a=((factorial(n))/(factorial(h)*factorial(n-h)))*(p^h)*(t^(n-h))
+//results
+printf(' \n probability of apperance of 4 in two dices= % 1f ',a)
diff --git a/1286/CH15/EX15.3/15_3.sce b/1286/CH15/EX15.3/15_3.sce new file mode 100755 index 000000000..9c7dbcba8 --- /dev/null +++ b/1286/CH15/EX15.3/15_3.sce @@ -0,0 +1,9 @@ +clc
+//initialisation
+n=12
+p=2
+//CALCULATIONS
+t=n/p
+a=factorial(n)/(factorial(t)*factorial(n-t)*p^n)
+//results
+printf(' \n probability= % 1f ',a)
diff --git a/1286/CH15/EX15.4/15_4.sce b/1286/CH15/EX15.4/15_4.sce new file mode 100755 index 000000000..bfe1734be --- /dev/null +++ b/1286/CH15/EX15.4/15_4.sce @@ -0,0 +1,11 @@ +clc
+//initialisation
+n=10
+a=0.6
+h=0
+//CALCULATIONS
+b=1-a
+p=factorial(n)*a^10/(factorial(n-h)*factorial(h))
+//results
+printf(' \n probability of heads occurence= % 1f ',a*10)
+printf(' \n probability of occuring head only in 10 throws= % 1f ',p)
diff --git a/1286/CH15/EX15.5/15_5.sce b/1286/CH15/EX15.5/15_5.sce new file mode 100755 index 000000000..d57ac864b --- /dev/null +++ b/1286/CH15/EX15.5/15_5.sce @@ -0,0 +1,14 @@ +clc
+//initialisation
+n=400
+a1=300
+b1=100
+a2=200
+b2=200
+r=2
+//CALCULATIONS
+p1=factorial(n)/(factorial(a1)*factorial(b1)*r^n)
+p2=factorial(n)/(factorial(a2)*factorial(b2)*r^n)
+w=p1/p2
+//results
+printf(' \n ratio of probabilities= % 1e ',w)
diff --git a/1286/CH15/EX15.6/15_6.sce b/1286/CH15/EX15.6/15_6.sce new file mode 100755 index 000000000..e14fde6dd --- /dev/null +++ b/1286/CH15/EX15.6/15_6.sce @@ -0,0 +1,22 @@ +clc
+//initialisation
+a1=2
+a2=6
+a3=16
+a4=2
+b1=1
+b2=3
+b3=4
+b4=7
+//CALCULATIONS
+a=a1+a2+a3+a4
+x=a1*b1+a2*b2+a3*b3+a4*b4
+p2=a1/a
+p6=a2/a
+p16=a3/a
+d=x/a
+//results
+printf(' \n probability of state 2= % 1f ',p2)
+printf(' \n probability of state 6= % 1f ',p6)
+printf(' \n probability of state 16= % 1f ',p16)
+printf(' \n value of <x>= % 1f ',d)
diff --git a/1286/CH15/EX15.9/15_9.sce b/1286/CH15/EX15.9/15_9.sce new file mode 100755 index 000000000..a49c7e92b --- /dev/null +++ b/1286/CH15/EX15.9/15_9.sce @@ -0,0 +1,10 @@ +clc
+//initialisation
+dx=10^-11//m
+c=10^7//m/sec
+h=6.6*10^-34
+//CALCULATIONS
+dp=(9.1*10^-31*c)
+n=(2*dx*dp*100)/h
+//results
+printf(' \n number of quantum states available= % 1f ',n)
|