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 /24/CH29 | |
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 '24/CH29')
-rwxr-xr-x | 24/CH29/EX29.1/Example29_1.sce | 11 | ||||
-rwxr-xr-x | 24/CH29/EX29.1/Example29_1_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH29/EX29.2/Example29_2.sce | 15 | ||||
-rwxr-xr-x | 24/CH29/EX29.2/Example29_2_result.txt | 5 | ||||
-rwxr-xr-x | 24/CH29/EX29.3/Example29_3.sce | 15 | ||||
-rwxr-xr-x | 24/CH29/EX29.3/Example29_3_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH29/EX29.4/Example29_4.sce | 17 | ||||
-rwxr-xr-x | 24/CH29/EX29.4/Example29_4_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH29/EX29.5/Example29_5.sce | 16 | ||||
-rwxr-xr-x | 24/CH29/EX29.5/Example29_5_result.txt | 5 | ||||
-rwxr-xr-x | 24/CH29/EX29.6/Example29_6.sce | 11 | ||||
-rwxr-xr-x | 24/CH29/EX29.6/Example29_6_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH29/EX29.7/Example29_7.sce | 14 | ||||
-rwxr-xr-x | 24/CH29/EX29.7/Example29_7_result.txt | 2 | ||||
-rwxr-xr-x | 24/CH29/EX29.8/Example29_8.sce | 13 | ||||
-rwxr-xr-x | 24/CH29/EX29.8/Example29_8_result.txt | 2 |
16 files changed, 134 insertions, 0 deletions
diff --git a/24/CH29/EX29.1/Example29_1.sce b/24/CH29/EX29.1/Example29_1.sce new file mode 100755 index 000000000..ef94ea8ae --- /dev/null +++ b/24/CH29/EX29.1/Example29_1.sce @@ -0,0 +1,11 @@ +//Given that
+B = 1.2*10^-3 //in T
+e = 1.6*10^-19 //in C
+K = 5.3*10^6*e //in J
+m = 1.6*10^-27 //in kg
+
+//Sample Problem 29-1
+printf("**Sample Problem 29-1**\n")
+v = sqrt(2*K/m)
+F = e*v*B
+printf("The magnitude of magnetic force acting on the proton is %eN", F)
\ No newline at end of file diff --git a/24/CH29/EX29.1/Example29_1_result.txt b/24/CH29/EX29.1/Example29_1_result.txt new file mode 100755 index 000000000..2085d0e04 --- /dev/null +++ b/24/CH29/EX29.1/Example29_1_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 29-1**
+The magnitude of magnetic force acting on the proton is 6.251067e-015N
\ No newline at end of file diff --git a/24/CH29/EX29.2/Example29_2.sce b/24/CH29/EX29.2/Example29_2.sce new file mode 100755 index 000000000..6c36cdf45 --- /dev/null +++ b/24/CH29/EX29.2/Example29_2.sce @@ -0,0 +1,15 @@ +//Given that
+d = 1.5*10^-2 //in meter
+v = 4.0 //in m/s
+B = 0.050 //in T
+
+//Sample Problem 29-2a
+printf("**Sample Problem 29-2a**\n")
+//force is in right direction
+printf("The right surface will be at high potential\n")
+
+//Sample Problem 29-2b
+printf("\n**Sample Problem 29-2b**\n")
+F = v*B //force per unit charge
+deltaU = d*F //energy per unit charge = potential difference
+printf("The potential difference between the two surface is %1.1eV", deltaU)
\ No newline at end of file diff --git a/24/CH29/EX29.2/Example29_2_result.txt b/24/CH29/EX29.2/Example29_2_result.txt new file mode 100755 index 000000000..d3b7d67c6 --- /dev/null +++ b/24/CH29/EX29.2/Example29_2_result.txt @@ -0,0 +1,5 @@ +**Sample Problem 29-2a**
+The right surface will be at high potential
+
+**Sample Problem 29-2b**
+The potential difference between the two surface is 3.0e-003V
\ No newline at end of file diff --git a/24/CH29/EX29.3/Example29_3.sce b/24/CH29/EX29.3/Example29_3.sce new file mode 100755 index 000000000..4d6f31d4d --- /dev/null +++ b/24/CH29/EX29.3/Example29_3.sce @@ -0,0 +1,15 @@ +//Given that
+B = 80*10^-3 //in T
+V = 1000.0 //in V
+q = 1.6022*10^-19 //in C
+x = 1.6254 //in m
+conv = 1.6605*10^-27 //in kg/u
+
+//Sample Problem 29-3
+printf("**Sample Problem 29-3**\n")
+m = poly(0, 'm')
+r = x/2
+//r = m*v/(q*B)
+//v = q*B*r/m
+m = 0.5*(q*r*B)^2/V/q
+printf("The mass of the particle is %ekg", m)
\ No newline at end of file diff --git a/24/CH29/EX29.3/Example29_3_result.txt b/24/CH29/EX29.3/Example29_3_result.txt new file mode 100755 index 000000000..0721fc00a --- /dev/null +++ b/24/CH29/EX29.3/Example29_3_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 29-3**
+The mass of the particle is 3.386314e-025kg
\ No newline at end of file diff --git a/24/CH29/EX29.4/Example29_4.sce b/24/CH29/EX29.4/Example29_4.sce new file mode 100755 index 000000000..3bea29a04 --- /dev/null +++ b/24/CH29/EX29.4/Example29_4.sce @@ -0,0 +1,17 @@ +exec('degree_rad.sci', -1)
+
+//Given that
+e = 1.6*10^-19
+K = 22.5*e //in J
+B = 4.55*10^-4 //in T
+theta = dtor(65.5)
+m = 9.11*10^-31 //in kg
+
+//Sample Problem 29-4
+printf("**Sample Problem 29-4**\n")
+q = e
+v = sqrt(2*K/m)
+r = m*v*sin(theta)/(q*B)
+T = 2*%pi*r/(v*sin(theta))
+p = v*cos(theta)*T
+printf("The pitch of the electron is equal to %fm", p)
\ No newline at end of file diff --git a/24/CH29/EX29.4/Example29_4_result.txt b/24/CH29/EX29.4/Example29_4_result.txt new file mode 100755 index 000000000..4fcef24e3 --- /dev/null +++ b/24/CH29/EX29.4/Example29_4_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 29-4**
+The pitch of the electron is equal to 0.091664m
\ No newline at end of file diff --git a/24/CH29/EX29.5/Example29_5.sce b/24/CH29/EX29.5/Example29_5.sce new file mode 100755 index 000000000..7b4fd5524 --- /dev/null +++ b/24/CH29/EX29.5/Example29_5.sce @@ -0,0 +1,16 @@ +//Given that
+f = 12*10^6 //in Hz
+R = 53*10^-2 //in m
+q = 1.6*10^-19 //in C
+m = 3.34*10^-27 //in kg
+
+//Sample Problem 29-5a
+printf("**Sample Problem 29-5a**\n")
+B = 2*%pi*m*f/q
+printf("The magnitude of magnetic field should be %fT\n", B)
+
+//Sample Problem 29-5b
+printf("\n**Sample Problem 29-5b**\n")
+v = q*B*R/m
+K = 0.5*m*v^2
+printf("The kinetic energy of the deuteron will be %eJ", K)
\ No newline at end of file diff --git a/24/CH29/EX29.5/Example29_5_result.txt b/24/CH29/EX29.5/Example29_5_result.txt new file mode 100755 index 000000000..522aebd0a --- /dev/null +++ b/24/CH29/EX29.5/Example29_5_result.txt @@ -0,0 +1,5 @@ +**Sample Problem 29-5a**
+The magnitude of magnetic field should be 1.573938T
+
+**Sample Problem 29-5b**
+The kinetic energy of the deuteron will be 2.666800e-012J
\ No newline at end of file diff --git a/24/CH29/EX29.6/Example29_6.sce b/24/CH29/EX29.6/Example29_6.sce new file mode 100755 index 000000000..dcfaeb950 --- /dev/null +++ b/24/CH29/EX29.6/Example29_6.sce @@ -0,0 +1,11 @@ +//Given that
+i = 28 //in A
+LD = 46.6*10^-3 //in kg/m
+g = 9.8 //in m/s^2
+
+//Sample Problem 29-6
+printf("**Sample Problem 29-6**\n")
+L = 1 //(say)
+m = LD*L
+B = m*g/i/L
+printf("The minimum magnetic field required to suspend the wire is equal to %eT", B)
\ No newline at end of file diff --git a/24/CH29/EX29.6/Example29_6_result.txt b/24/CH29/EX29.6/Example29_6_result.txt new file mode 100755 index 000000000..9c9b11b99 --- /dev/null +++ b/24/CH29/EX29.6/Example29_6_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 29-6**
+The minimum magnetic field required to suspend the wire is equal to 1.631000e-002T
\ No newline at end of file diff --git a/24/CH29/EX29.7/Example29_7.sce b/24/CH29/EX29.7/Example29_7.sce new file mode 100755 index 000000000..ce2bfa481 --- /dev/null +++ b/24/CH29/EX29.7/Example29_7.sce @@ -0,0 +1,14 @@ +//Given that
+h = 2.1*10^-2 //in m
+w = 1.2*10^-2 //in m
+n = 250
+B = 0.23 //in T
+i = 100*10^-6 //in A
+theta = 28 //in degree
+
+//Sample Problem 29-7
+printf("**Sample Problem 29-7**\n")
+A = h*w
+T = B*i*n*A
+k = T/theta
+printf("The value of constant k is equal to %eN.m/degree", k)
\ No newline at end of file diff --git a/24/CH29/EX29.7/Example29_7_result.txt b/24/CH29/EX29.7/Example29_7_result.txt new file mode 100755 index 000000000..0d2a8fc8d --- /dev/null +++ b/24/CH29/EX29.7/Example29_7_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 29-7**
+The value of constant k is equal to 5.175000e-008N.m/degree
\ No newline at end of file diff --git a/24/CH29/EX29.8/Example29_8.sce b/24/CH29/EX29.8/Example29_8.sce new file mode 100755 index 000000000..07673fd56 --- /dev/null +++ b/24/CH29/EX29.8/Example29_8.sce @@ -0,0 +1,13 @@ +//Given that
+n = 250
+A = 2.52*10^-4 //in m^2
+i = 100*10^-6 //in A
+B = 0.85 //in T
+
+//Sample Problem 29-8
+printf("**Sample Problem 29-8**\n")
+mu = n*i*A
+U1 = -mu*B*cos(%pi/2)
+U2 = -mu*B*cos(0)
+W = U1 - U2
+printf("Work done is equal to %eJ", W)
\ No newline at end of file diff --git a/24/CH29/EX29.8/Example29_8_result.txt b/24/CH29/EX29.8/Example29_8_result.txt new file mode 100755 index 000000000..4aaad31f5 --- /dev/null +++ b/24/CH29/EX29.8/Example29_8_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 29-8**
+Work done is equal to 5.355000e-006J
\ No newline at end of file |