summaryrefslogtreecommitdiff
path: root/1784/CH36
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1784/CH36
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 '1784/CH36')
-rwxr-xr-x1784/CH36/EX36.1/example1.sce11
-rwxr-xr-x1784/CH36/EX36.2/example2.sce8
-rwxr-xr-x1784/CH36/EX36.3/example3.sce11
-rwxr-xr-x1784/CH36/EX36.4/example4.sce21
-rwxr-xr-x1784/CH36/EX36.6/example6.sce16
5 files changed, 67 insertions, 0 deletions
diff --git a/1784/CH36/EX36.1/example1.sce b/1784/CH36/EX36.1/example1.sce
new file mode 100755
index 000000000..010a0e4a6
--- /dev/null
+++ b/1784/CH36/EX36.1/example1.sce
@@ -0,0 +1,11 @@
+//chapter 36
+//example1
+clc
+//given
+u0=4*%pi*10^-7//in weber/amp-m Mu-not=u0
+N=10^3//no.of turns
+a=5*10^-2//im meter
+b=10*10^-2 //in meter
+h=1*10^-2// in metre
+L=(u0*N^2*h)/(2*%pi)*log(b/a)
+disp(L,"Inductance of a toroid of recyangular cross section in henry is")
diff --git a/1784/CH36/EX36.2/example2.sce b/1784/CH36/EX36.2/example2.sce
new file mode 100755
index 000000000..8cfedee07
--- /dev/null
+++ b/1784/CH36/EX36.2/example2.sce
@@ -0,0 +1,8 @@
+//chapter 36
+//example2
+clc
+//given
+L=50 //inductance in henry
+R=30 //resistance in ohms
+t0=log(2)*(L/R)
+disp(t0,"Time taken for the current to reach one-half of its final equilibrium in sec is")
diff --git a/1784/CH36/EX36.3/example3.sce b/1784/CH36/EX36.3/example3.sce
new file mode 100755
index 000000000..c58fe7d7e
--- /dev/null
+++ b/1784/CH36/EX36.3/example3.sce
@@ -0,0 +1,11 @@
+//chapter 36
+//example3
+clc
+//given
+L=5 //inductance in henry
+V=100 //emf in volts
+R=20 //resistance in ohms
+i=V/R
+disp(i,"Maximum current in amp is")
+U=(L*i^2)/2
+disp(U,"Energy stored in the magnetic field in joules is")
diff --git a/1784/CH36/EX36.4/example4.sce b/1784/CH36/EX36.4/example4.sce
new file mode 100755
index 000000000..793b0872e
--- /dev/null
+++ b/1784/CH36/EX36.4/example4.sce
@@ -0,0 +1,21 @@
+//chapter 36
+//example4
+clc
+//given
+L=3//inductance in henry
+R=10 //resistance in ohm
+V=3 //emf in volts
+t=0.30//in sec
+T=0.30 //inductive time constant in sec
+//(a)
+i=(V/R)*(1-exp(-t/T))
+P1=V*i
+disp(P1,"The rate at which energy is delivred by the battery in watt is")
+//(b)
+P2=i^2*R
+disp(P2,"The rate at which energy appears as Joule heat in the resistor in watt is")
+//(c)
+disp("Let D=di/dt")
+D=(V/L)*exp(-t/T)// in amp/sec
+P3=L*i*D
+disp(P3,"The desired rate at which energy is being stored in the magnetic field in watt is")
diff --git a/1784/CH36/EX36.6/example6.sce b/1784/CH36/EX36.6/example6.sce
new file mode 100755
index 000000000..74d848bfb
--- /dev/null
+++ b/1784/CH36/EX36.6/example6.sce
@@ -0,0 +1,16 @@
+//chapter 36
+//example6
+clc
+//given
+epsilon0=8.9*10^-12//in coul2/nt-m2
+E=10^5//elelctric field in volts/meter
+B=1 //magnetic field in weber/meter2
+u0=4*%pi*10^-7//in weber/amp-m Mu-not=u0
+a=0.1 //side of the cube in meter
+V0=a^3 //volume of the cube in meter3
+//(a)
+U1=epsilon0*E^2*V0/2 //in elelctric field
+disp(U1,"(a)Energy required to set up in the given cube on edge in electric field in joules is")
+//(b)
+U2=(B^2/(2*u0))*V0
+disp(U2,"(b)Energy required to set up in the given cube on edge in magnetic field in joules is")