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 /1376/CH2 | |
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 '1376/CH2')
-rwxr-xr-x | 1376/CH2/EX2.1/2_1.sci | 9 | ||||
-rwxr-xr-x | 1376/CH2/EX2.2/2_2.sci | 25 | ||||
-rwxr-xr-x | 1376/CH2/EX2.3/2_3.sci | 8 |
3 files changed, 42 insertions, 0 deletions
diff --git a/1376/CH2/EX2.1/2_1.sci b/1376/CH2/EX2.1/2_1.sci new file mode 100755 index 000000000..d1e893ac3 --- /dev/null +++ b/1376/CH2/EX2.1/2_1.sci @@ -0,0 +1,9 @@ +//2.1
+clc;
+N=400;
+a=4*10^-4;
+MUo=4*%pi*10^-7;
+MUr=800;
+l=0.3;
+L=(MUo*MUr*a*N^2)/l;
+printf("Self inductance of the coil=%.3f H",L)
diff --git a/1376/CH2/EX2.2/2_2.sci b/1376/CH2/EX2.2/2_2.sci new file mode 100755 index 000000000..6781ee4f1 --- /dev/null +++ b/1376/CH2/EX2.2/2_2.sci @@ -0,0 +1,25 @@ +// 2.2
+clc;
+P0=8.854*10^-12;
+Pr1=5.5;
+d1=10^-3;
+b1=d1/Pr1;
+Pr2=2.2;
+d2=10^-3;
+b2=d2/Pr2;
+Pr3=1.5;
+d3=10^-3;
+b3=d3/Pr3;
+A=100*10^-4;
+C=P0*A/(b1+b2+b3);
+V=5000;
+Q=C*V*10^6;
+printf("stored charge in the capacitor=%.2f coulombs",Q)
+D=Q/A;
+D=146*10^-6;
+g1=D*10^-3/(P0*Pr1);
+printf("\npotential gradient g1=%.2f kV/m",g1)
+g2=D*10^-3/(P0*Pr2);
+printf("\npotential gradient g2=%.2f kV/m",g2)
+g3=D*10^-3/(P0*Pr3);
+printf("\npotential gradient g3=%.2f kV/m",g3)
diff --git a/1376/CH2/EX2.3/2_3.sci b/1376/CH2/EX2.3/2_3.sci new file mode 100755 index 000000000..c1a2beae2 --- /dev/null +++ b/1376/CH2/EX2.3/2_3.sci @@ -0,0 +1,8 @@ +// 2.3
+clc;
+a=0.5/2;
+b=0.25+0.4;
+Pr=4.5;
+C=(0.024*Pr)/(log10(b/a))
+C_total=300*C
+printf("\ncapacitance of the cable=%.2f uF",C_total)
|