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 /2534/CH3 | |
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 '2534/CH3')
-rwxr-xr-x | 2534/CH3/EX3.1/EX3_1.sce | 10 | ||||
-rwxr-xr-x | 2534/CH3/EX3.10/Ex3_10.sce | 12 | ||||
-rwxr-xr-x | 2534/CH3/EX3.11/Ex3_11.sce | 9 | ||||
-rwxr-xr-x | 2534/CH3/EX3.12/Ex3_12.sce | 13 | ||||
-rwxr-xr-x | 2534/CH3/EX3.13/Ex3_13.sce | 19 | ||||
-rwxr-xr-x | 2534/CH3/EX3.14/Ex3_14.sce | 17 | ||||
-rwxr-xr-x | 2534/CH3/EX3.15/Ex3_15.sce | 31 | ||||
-rwxr-xr-x | 2534/CH3/EX3.16/Ex3_16.sce | 9 | ||||
-rwxr-xr-x | 2534/CH3/EX3.17/Ex3_17.sce | 9 | ||||
-rwxr-xr-x | 2534/CH3/EX3.18/Ex3_18.sce | 9 | ||||
-rwxr-xr-x | 2534/CH3/EX3.19/Ex3_19.sce | 12 | ||||
-rwxr-xr-x | 2534/CH3/EX3.2/Ex3_2.sce | 10 | ||||
-rwxr-xr-x | 2534/CH3/EX3.3/Ex3_3.sce | 12 | ||||
-rwxr-xr-x | 2534/CH3/EX3.4/Ex3_4.sce | 14 | ||||
-rwxr-xr-x | 2534/CH3/EX3.5/Ex3_5.sce | 10 | ||||
-rwxr-xr-x | 2534/CH3/EX3.6/Ex3_6.sce | 13 | ||||
-rwxr-xr-x | 2534/CH3/EX3.7/Ex3_7.sce | 7 | ||||
-rwxr-xr-x | 2534/CH3/EX3.8/Ex3_8.sce | 7 | ||||
-rwxr-xr-x | 2534/CH3/EX3.9/Ex3_9.sce | 7 |
19 files changed, 230 insertions, 0 deletions
diff --git a/2534/CH3/EX3.1/EX3_1.sce b/2534/CH3/EX3.1/EX3_1.sce new file mode 100755 index 000000000..5c8e73b38 --- /dev/null +++ b/2534/CH3/EX3.1/EX3_1.sce @@ -0,0 +1,10 @@ +//Ex3_1
+clc
+E = 20*10^3
+e = -(1.6*10^-19)
+F = e*E
+disp("E = "+string(E)+"ax V/m")//initializing electic field
+disp("e = "+string(e)+"C")//intializing electron charge
+disp("F = eE = "+string(F)+"ax N")//calculation for force on electron due to electric field
+
+// NOTE : answer provided in the textbook is wrong Correct answer is, -3.2*10^16ax N
diff --git a/2534/CH3/EX3.10/Ex3_10.sce b/2534/CH3/EX3.10/Ex3_10.sce new file mode 100755 index 000000000..84957d3e0 --- /dev/null +++ b/2534/CH3/EX3.10/Ex3_10.sce @@ -0,0 +1,12 @@ +//Ex3_10
+clc
+l = .03
+d = 0.01
+L = 0.18
+Va = 1000
+disp("l = "+string(l)+"m")//lenght of deflection plate
+disp("d = "+string(d)+"m")//plate separation
+disp("L = "+string(L)+"m")//distance of screen from plate
+disp("Va = "+string(Va)+"V")//anode voltage
+SE = (l*L)/(2*d*Va)
+disp("SE = (l*L)/(2*d*Va) = "+string(SE)+"m/V")
diff --git a/2534/CH3/EX3.11/Ex3_11.sce b/2534/CH3/EX3.11/Ex3_11.sce new file mode 100755 index 000000000..ba09941db --- /dev/null +++ b/2534/CH3/EX3.11/Ex3_11.sce @@ -0,0 +1,9 @@ +//Ex3_11
+clc
+disp("fm = BIL")//formula used for finding FORCE ON CURRENT ELEMENT
+B = 2.0
+IL = 10*10^-3
+fm = B*IL
+disp("B = "+string(B)+"Wb/m-sq")//magnetic field
+disp("IL = "+string(IL)+"A-m")//current element
+disp("fm ="+string(fm)+"Newton")//answer displayed
diff --git a/2534/CH3/EX3.12/Ex3_12.sce b/2534/CH3/EX3.12/Ex3_12.sce new file mode 100755 index 000000000..20dcee0cc --- /dev/null +++ b/2534/CH3/EX3.12/Ex3_12.sce @@ -0,0 +1,13 @@ +//Ex3_12
+clc
+disp("v = (2*e*Va/m)^.5")//formula used to calculate velocity of electrons
+e = -1.6*10^-19
+m = 9.1*10^-31
+Va = 3.0*10^3
+disp("e = "+string(e)+"C")//electron charge
+disp("m = "+string(m)+"Kg")//mass of electron
+disp("Va = "+string(Va)+"V")//potential difference = anode voltage
+v = abs((2*e*Va/m))^.5
+disp("v = "+string(v)+"m/s")
+W = e*Va//kinetic energy
+disp("W = e*Va = "+string(W)+"joules")//Kinetic energy
diff --git a/2534/CH3/EX3.13/Ex3_13.sce b/2534/CH3/EX3.13/Ex3_13.sce new file mode 100755 index 000000000..cbf60b857 --- /dev/null +++ b/2534/CH3/EX3.13/Ex3_13.sce @@ -0,0 +1,19 @@ +//Ex3_13
+clc
+e = -1.6*10^-19
+m = 9.1*10^-31
+Va = 400
+v = (abs(2*e*Va/m))^.5
+disp("e = "+string(e)+"C")//electron charge
+disp("m = "+string(m)+"Kg")//mass of electron
+disp("Va = "+string(Va)+"V")//anode voltage
+disp("v = (2*e*Va/m)^.5 = "+string(v)+"m/s")//formula used to calculate velocity of electrons
+//as electron traces a circular path, radius of circular path
+H = 47.75
+micro_not = 4*%pi*10^-7
+B = H*micro_not
+disp("B = "+string(B)+"Wb/m-sq")
+r = (v/(e/m)/B)
+disp("r = (v/(e/m))/B = "+string(r)+"m")
+
+// NOTE : Question is incompletely solved in the textbook
diff --git a/2534/CH3/EX3.14/Ex3_14.sce b/2534/CH3/EX3.14/Ex3_14.sce new file mode 100755 index 000000000..8c2e39ecb --- /dev/null +++ b/2534/CH3/EX3.14/Ex3_14.sce @@ -0,0 +1,17 @@ +//Ex3_14
+clc
+l = 22
+d = 1.5
+Va = 625
+e = 1.6*10^-19
+m = 9.1*10^-31
+disp("l = "+string(l)+"cm")//distance from location of magnetic field
+disp("d = "+string(d)+"cm")//length over which magnetic field is present
+disp("Va = "+string(Va)+"V")//voltage applied to anode
+disp("e = "+string(e)+"C")//electron charge
+disp("m = "+string(m)+"Kg")//mass of electron
+SH = l*10^-2*d*10^-2*(e/(2*m*Va))^.5
+disp("SH = D/B = l*d*(e/(2*m*Va))^.5 = "+string(SH)+"m/tesla")//magnetic deflection sensitivity in terms of meter and tesla
+// as B = micro_not*H
+micro_not = 4*%pi*10^-7
+disp("SH = D/H = micro_not*l*d*(e/(2*m*Va))^.5 = "+string(SH*micro_not)+"m-sq/Amp.")//magnetic deflection sensitivity in terms of meter and amperes
diff --git a/2534/CH3/EX3.15/Ex3_15.sce b/2534/CH3/EX3.15/Ex3_15.sce new file mode 100755 index 000000000..06db83564 --- /dev/null +++ b/2534/CH3/EX3.15/Ex3_15.sce @@ -0,0 +1,31 @@ +//Ex3_15
+clc
+Vd = 50
+d = 1
+disp("(a)")
+disp("Vd = "+string(Vd)+"V")//voltage applied to deflection plates
+disp("d = "+string(d)+"cm")//plate separation
+E = Vd/d/10^-2
+disp("E = Vd/d = "+string(E)+"V/m")//electric field produced
+
+disp("(b)")
+e = -1.6*10^-19
+m = 9.1*10^-31
+Va = 500
+v = abs((2*e*Va/m))^.5
+disp("v = (2*e*Va/m)^.5")// formula for Velocity OF Electron
+disp("e = "+string(e)+"C")//electron charge
+disp("m = "+string(m)+"Kg")//mass of electron
+disp("Va = "+string(Va)+"V")//voltage applied at anode
+disp("v = "+string(v)+"m/s")
+
+disp("(c)")
+l = 2
+L = 30
+Va = 500
+SE = l*L/2/Va/d*10
+disp("l = "+string(l)+"cm")//length of deflection plate
+disp("L = "+string(L)+"cm")//distance between plates and screen
+disp("d = "+string(d)+"cm")//plate separation
+disp("Va = "+string(Va)+"V")//anode voltage
+disp("SE = (l*L)/(2*Va*d) = "+string(SE)+"mm/volts")//Electrostatic deflection sensitivity
diff --git a/2534/CH3/EX3.16/Ex3_16.sce b/2534/CH3/EX3.16/Ex3_16.sce new file mode 100755 index 000000000..cf3afa77a --- /dev/null +++ b/2534/CH3/EX3.16/Ex3_16.sce @@ -0,0 +1,9 @@ +//Ex3_16
+clc
+//considering Lissajous pattern given in question
+y1 = 0
+y2 = 5
+phi = asind(y1/y2)
+disp("y1 = "+string(y1)+"cm")//minor axis
+disp("y2 = "+string(y2)+"cm")//major axis
+disp("phi = sin-1(y1/y2) = "+string(phi)+"degree")//phase difference
diff --git a/2534/CH3/EX3.17/Ex3_17.sce b/2534/CH3/EX3.17/Ex3_17.sce new file mode 100755 index 000000000..e139ff38d --- /dev/null +++ b/2534/CH3/EX3.17/Ex3_17.sce @@ -0,0 +1,9 @@ +//Ex3_17
+clc
+//considering Lissajous pattern given in question
+y1 = 4
+y2 = 5
+phi = asind(y1/y2)
+disp("y1 = "+string(y1)+"unit")//minor axis
+disp("y2 = "+string(y2)+"unit")//major axis
+disp("phi = sin-1(y1/y2) = "+string(phi)+"degree")//phase difference
diff --git a/2534/CH3/EX3.18/Ex3_18.sce b/2534/CH3/EX3.18/Ex3_18.sce new file mode 100755 index 000000000..27d57c73b --- /dev/null +++ b/2534/CH3/EX3.18/Ex3_18.sce @@ -0,0 +1,9 @@ +//Ex3_16
+clc
+//considering Lissajous pattern given in question
+y1 = 4
+y2 = 4
+phi = asind(y1/y2)
+disp("y1 = "+string(y1)+"cm")//minor axis
+disp("y2 = "+string(y2)+"cm")//major axis
+disp("phi = sin-1(y1/y2) = "+string(phi)+"degree")//phase difference
diff --git a/2534/CH3/EX3.19/Ex3_19.sce b/2534/CH3/EX3.19/Ex3_19.sce new file mode 100755 index 000000000..bebeef0ae --- /dev/null +++ b/2534/CH3/EX3.19/Ex3_19.sce @@ -0,0 +1,12 @@ +//Ex3_16
+clc
+//considering Lissajous pattern given in question
+y1 = 2
+y2 = 6
+phi = asind(y1/y2)
+disp("y1 = "+string(y1)+"cm")//minor axis
+disp("y2 = "+string(y2)+"cm")//major axis
+disp("phi = sin-1(y1/y2) = "+string(phi)+"degree")//phase difference
+disp("OR")
+phi = 180 - phi
+disp("phi = "+string(phi)+"degree")
diff --git a/2534/CH3/EX3.2/Ex3_2.sce b/2534/CH3/EX3.2/Ex3_2.sce new file mode 100755 index 000000000..2c7b44726 --- /dev/null +++ b/2534/CH3/EX3.2/Ex3_2.sce @@ -0,0 +1,10 @@ +//Ex3_2
+clc
+E = 50*10^3
+e = -1.6*10^-19
+N = 10^6
+F = N*e*E
+disp("E = "+string(E)+"az V/m")//value of Electric field applied
+disp("e = "+string(e)+"C")//value of eletron charge
+disp("N = "+string(N))//total number of charge
+disp("F = NeE = "+string(F)+"az N")//force on electron
diff --git a/2534/CH3/EX3.3/Ex3_3.sce b/2534/CH3/EX3.3/Ex3_3.sce new file mode 100755 index 000000000..067064cf4 --- /dev/null +++ b/2534/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,12 @@ +//Ex3_3
+clc
+v = 5*10^6
+e = -1.6*10^-19
+B = 20*10^-6
+F = e*v*B
+disp("v = "+string(v)+"m/s")//velocity of electron
+disp("e = "+string(e)+"C")//charge of electron
+disp("B = "+string(B)+"Wb/m-sq")//magnetic field
+disp("F = e(VxB) = e*v*B = "+string(F)+"N")//force on the electron due to field
+
+
diff --git a/2534/CH3/EX3.4/Ex3_4.sce b/2534/CH3/EX3.4/Ex3_4.sce new file mode 100755 index 000000000..11b66cff3 --- /dev/null +++ b/2534/CH3/EX3.4/Ex3_4.sce @@ -0,0 +1,14 @@ +//Ex3_4
+clc
+Bx = 40*10^-6
+By = 10*10^-6
+N = 10^6
+e = -1.6*10^-19
+v = 8*10^6
+disp("B = "+string(Bx)+"ax + "+string(By)+"ay Wb/m-sq")//magnetic field
+disp("N = "+string(N))//number of electrons
+disp("e = "+string(e)+"C")//electron charge
+disp("v = "+string(v)+"ax m/s")//velocity of electron
+disp("F = Q(VxB) = "+string(e*N*v*By)+" az N")//force on electron
+//as we are taking curl of V and B,.. thus Vx X Bx = 0
+//force will be only due to V x By.
diff --git a/2534/CH3/EX3.5/Ex3_5.sce b/2534/CH3/EX3.5/Ex3_5.sce new file mode 100755 index 000000000..9c0c23432 --- /dev/null +++ b/2534/CH3/EX3.5/Ex3_5.sce @@ -0,0 +1,10 @@ +//Ex3_5
+clc
+e = -1.6*10^-19
+n = 10^6
+v = 5*10^6
+J = n*e*v
+disp("e = "+string(e)+"C")//charge of electrons
+disp("n = "+string(n)+" /m-cube")//electron density
+disp("v = "+string(v)+"m/s")//electron velocity
+disp("J = nev = "+string(abs(J))+"A/m-sq")//current density
diff --git a/2534/CH3/EX3.6/Ex3_6.sce b/2534/CH3/EX3.6/Ex3_6.sce new file mode 100755 index 000000000..bb1becd0d --- /dev/null +++ b/2534/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,13 @@ +//Ex3_6
+clc
+v = 2*10^7
+e = -1.6*10^-19
+n = 10^8
+J = n*e*v
+disp("v = "+string(v)+"m/s")//velocity of electron
+disp("e = "+string(e)+"C")//electron charge
+disp("n = "+string(n)+" /m-cube")//electron density
+disp("J = nev = "+string(abs(J))+"A/m-sq")//current density
+
+//note: formula for current density in the solution in the textbook is misprinted
+// also the answer is provide in the textbook for above problem is misprinted.
diff --git a/2534/CH3/EX3.7/Ex3_7.sce b/2534/CH3/EX3.7/Ex3_7.sce new file mode 100755 index 000000000..9766bc703 --- /dev/null +++ b/2534/CH3/EX3.7/Ex3_7.sce @@ -0,0 +1,7 @@ +//Ex3_7
+clc
+l = 4//cycle length
+t = 10*10^-6//scale setting
+T = l*t//time period for full cycle
+disp("T = "+string(T)+" s")
+disp("Frequency = 1/T = "+string(1/T)+"Hz")//frequency of the signal
diff --git a/2534/CH3/EX3.8/Ex3_8.sce b/2534/CH3/EX3.8/Ex3_8.sce new file mode 100755 index 000000000..a2e0f9cea --- /dev/null +++ b/2534/CH3/EX3.8/Ex3_8.sce @@ -0,0 +1,7 @@ +//Ex3_8
+clc
+Vpp = 4.2*10*10^-3//peak to peak voltage of sinusoidal signal //notation not used in textbook
+Vm = Vpp/2//maximum positive voltage
+Vrms = Vm/(2^.5)//root mean square value of voltage
+disp("Vm = "+string(Vm)+"V")
+disp("Vrms = Vm/(2^.5) = "+string(Vrms)+"V")
diff --git a/2534/CH3/EX3.9/Ex3_9.sce b/2534/CH3/EX3.9/Ex3_9.sce new file mode 100755 index 000000000..70136e95f --- /dev/null +++ b/2534/CH3/EX3.9/Ex3_9.sce @@ -0,0 +1,7 @@ +//Ex3_9
+clc
+V = 4.5*10^-3//applied dc voltage
+r = 100// given resistance
+I = V/r//flow of current
+disp("DC voltage = "+string(V)+"V")
+disp("The current in 100 ohm = "+string(I)+"A")
|