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 /3487/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 '3487/CH3')
-rw-r--r-- | 3487/CH3/EX3.1/Ex3_1.sce | 28 | ||||
-rw-r--r-- | 3487/CH3/EX3.2/Ex3_2.sce | 28 | ||||
-rw-r--r-- | 3487/CH3/EX3.3/Ex3_3.sce | 23 |
3 files changed, 79 insertions, 0 deletions
diff --git a/3487/CH3/EX3.1/Ex3_1.sce b/3487/CH3/EX3.1/Ex3_1.sce new file mode 100644 index 000000000..1577f6649 --- /dev/null +++ b/3487/CH3/EX3.1/Ex3_1.sce @@ -0,0 +1,28 @@ +//Chapter 3,Example 3.1 Page 104 +clc +clear +R1 = 75 //ohms +R2 = 2600 //ohms +C1 = 25 // nF +C2 = 2.5 //nF +alpha = (10^9/2)*(1/(R2*C1)+1/(R1*C1)+1/(R1*C2)) +beeta = (1/2)*sqrt(4*alpha^2-4*10^18/(R1*R2*C1*C2)) +t1 = (1/(2*beeta))*log((alpha+beeta)/(alpha-beeta)) +K = 0.7/(t1*(alpha-beeta))+1 +t2 = K*t1 +printf (" alpha = %e \n ",alpha) +printf (" beta = %e \n ",beeta) +printf (" K = %f \n ",K) +printf (" t1 = %e micro sec \n ",t1*10^6) +printf (" t2 = %f micro sec \n ",t2*10^6) + +//Aproximating the circuit and neglecting R2 +t1 = 3*((C1*C2*10^-18)/(C1+C2*10^-9))*R1 +// C1 and C2 are in parallel and R1 and R2 in series +t2 = 0.7*(R1+R2)*(C1+C2)*10^-9 +printf (" t1 = %f micro sec \n ",t1*10^9*10^6) +printf (" t2 = %f micro sec \n ",t2*10^6) +printf ("On comparison with the values obtained through exact formulate it is found that whereas wave tail time is more or less same, \n the wave front time as calculated through approximate formula is quite erroneous.") + +// Answers may vary due to round off error + diff --git a/3487/CH3/EX3.2/Ex3_2.sce b/3487/CH3/EX3.2/Ex3_2.sce new file mode 100644 index 000000000..9c6ad9244 --- /dev/null +++ b/3487/CH3/EX3.2/Ex3_2.sce @@ -0,0 +1,28 @@ +//Chapter 3,Example 3.2 Page 106 +clc +clear +t1 = 1.2*10^-6 +C1 = (0.3/12)*10^3 +C2 = 0.4 +R1 = (C1+C2)*t1/(3*(C1*C2*10^-9)) +t2 = 50*10^-6 +R1R2 = t2/(0.7*(C1+C2)*10^-9)// (R1+R2) +R2 = R1R2-R1 +printf (" R1 = %f ohm \n ",R1) +printf (" R2 = %f ohm \n ",R2) +// Alternative method +ab = 0.7*10^-6/(t2-t1) // alpha-beta +ghama = C1/C2 // large value therefore +R2 = 10^3/(C1*ab) // mentioned wrong in the text +// alpha = beta and based on the eq: t1 = (2/(2*alpha))log((2*alpha)/(alpha-beta)) +alpha = 2.43 +beeta = 2.415656 +R1 = (10^3/C1)*((1/(alpha+beeta))+(62.5/(alpha+beeta))) +V0 = 125*12 +Vmax = V0/(2*R1*C2*10^-3*beeta) +printf (" ghama = %f (large value)\n ",ghama) +printf (" R2 = %f ohm \n Since alpha aprox. equla to beta ",R2) +printf (" \n R1 = %f ohm \n ",R1) +printf (" Vmax = %f kV \n ",Vmax) + +//Answers vary due to round of error diff --git a/3487/CH3/EX3.3/Ex3_3.sce b/3487/CH3/EX3.3/Ex3_3.sce new file mode 100644 index 000000000..a44b79307 --- /dev/null +++ b/3487/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,23 @@ +//Chapter 3,Example 3.3 Page 107 +clc +clear +R = 1 +C = 15*10^-6 +L = 2*10^-3 +V = 125 // kV +v = R/2*sqrt(C/L) +pow = -v*asin(sqrt(1-v^2))/sqrt(1-v^2) +e = exp(pow) +Imax = 2*V*v*e +t1 = sqrt(L*C)*asin(sqrt(1-v^2))/sqrt(1-v^2) +// based on trila and error t2=1275 micro sec +t2 = 1275 // micro sec +RHS = 0.5286*sin(t2/173.2) +printf (" Imax = %f KA \n ",Imax) +printf (" t1 = %f micro sec \n ",t1*10^6) +printf (" t2 = %f micro sec \n ",t2) +printf (" RHS = %f \n ",RHS) +printf ("Therefore, time to 50 percent value is 1275 μ sec") + + + |