summaryrefslogtreecommitdiff
path: root/2345/CH5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2345/CH5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2345/CH5')
-rwxr-xr-x2345/CH5/EX5.1/Ex5_1.sce15
-rwxr-xr-x2345/CH5/EX5.2/Ex5_2.sce11
-rwxr-xr-x2345/CH5/EX5.3/Ex5_3.sce18
-rwxr-xr-x2345/CH5/EX5.4/Ex5_4.sce14
-rwxr-xr-x2345/CH5/EX5.5/Ex5_5.sce10
5 files changed, 68 insertions, 0 deletions
diff --git a/2345/CH5/EX5.1/Ex5_1.sce b/2345/CH5/EX5.1/Ex5_1.sce
new file mode 100755
index 000000000..4d27b152e
--- /dev/null
+++ b/2345/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,15 @@
+//Finding charge and capacitance
+//Example 5.1(pg 193)
+clc
+clear
+t=0.25//time in sec
+I=0.22//Current in A
+V=220//voltage in V
+Q=I*t//charge given to condenser
+C=Q/V//capacitance of condenser
+C1=C*(10^6)
+printf('Charge given to condenser is %3.3f Coulombs \n',Q)
+printf('Capacitance of condenser is %3.4f F',C)
+printf('or %3.0f microF',C1)
+
+
diff --git a/2345/CH5/EX5.2/Ex5_2.sce b/2345/CH5/EX5.2/Ex5_2.sce
new file mode 100755
index 000000000..674acd347
--- /dev/null
+++ b/2345/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,11 @@
+//Finding charge and potential gradient
+//Example 5.2(pg 193)
+clc
+clear
+C=0.0002*(10^-6)//capacitance in F
+V=20000//P.D across condenser in V
+t=2//thickness in mm
+Q=C*V//charge on each plate in coulomb
+g=(V/t)*(1/1000)// potential gradient in kV/mm
+printf('Charge given to condenser is %e Coulombs \n',Q)
+printf('Potential gradient of condenser is %3.0f kV/mm',g)
diff --git a/2345/CH5/EX5.3/Ex5_3.sce b/2345/CH5/EX5.3/Ex5_3.sce
new file mode 100755
index 000000000..7cccf9cae
--- /dev/null
+++ b/2345/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,18 @@
+//Finding charge and energy
+//Example 5.3(pg 194)
+clc
+clear
+//Before immersion of oil
+C=0.005*(10^-6)
+V=500
+q=C*V
+E=(1/2)*(C*V*V)
+printf('Charge of condenser is %e coulomb \n',q)
+printf('Energy stored in condenser before immersion of oil is %e Joules \n',E)
+
+//After immersion of oil
+K=2.5
+q1=q// since no loss of charge
+C1=K*C//capacity of condenser
+E1=(q1^2)/(2*C1)// energy stored in condenser
+printf('Energy stored in condenser after immersion of oil is %e Joules',E1)
diff --git a/2345/CH5/EX5.4/Ex5_4.sce b/2345/CH5/EX5.4/Ex5_4.sce
new file mode 100755
index 000000000..a8fad58a3
--- /dev/null
+++ b/2345/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,14 @@
+//dielectric constant and flux density
+//Example 5.4(pg 194)
+clc
+clear
+A=0.02//surface area of plate in m^2
+d=0.001//distance between plates in m
+C=4.5*(10^-10)//capacitance in F
+V=15000//voltage in volts
+K0=8.854*(10^-12)
+K=(C*d)/(K0*A)
+q=C*V// charge on condenser in coulombs
+D=q/A//Electric flux density in Coulomb/m^2
+printf('Thus dielectric constant is %3.2f \n',K)
+printf('Thus Electric flux density is %e Coulombs/m^2',D)
diff --git a/2345/CH5/EX5.5/Ex5_5.sce b/2345/CH5/EX5.5/Ex5_5.sce
new file mode 100755
index 000000000..f719d04d9
--- /dev/null
+++ b/2345/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,10 @@
+//Finding capacitance
+//Example 5.5(pg 195)
+clc
+clear
+A=0.2//surface area of plate in m^2
+t=2.5*(10^-5)//thickness of dielectric in m
+K0=8.854*(10^-12)//permittivity of air in F/m
+K=5//relative permittivity of dielectric
+C=(K*K0*A*(10^6))/t//capacitance of condenser in microF
+printf('Thus the Capacitance of condenser is %3.3f microF',C)