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 /1301/CH12 | |
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 '1301/CH12')
-rwxr-xr-x | 1301/CH12/EX12.10/ex12_10.sce | 7 | ||||
-rwxr-xr-x | 1301/CH12/EX12.12/ex12_12.sce | 10 | ||||
-rwxr-xr-x | 1301/CH12/EX12.13/ex12_13.sce | 5 | ||||
-rwxr-xr-x | 1301/CH12/EX12.14/ex12_14.sce | 8 | ||||
-rwxr-xr-x | 1301/CH12/EX12.15/ex12_15.sce | 6 | ||||
-rwxr-xr-x | 1301/CH12/EX12.16/ex12_16.sce | 5 | ||||
-rwxr-xr-x | 1301/CH12/EX12.17/ex12_17.sce | 6 | ||||
-rwxr-xr-x | 1301/CH12/EX12.18/ex12_18.sce | 11 | ||||
-rwxr-xr-x | 1301/CH12/EX12.19/ex12_19.sce | 8 | ||||
-rwxr-xr-x | 1301/CH12/EX12.20/ex12_20.sce | 8 | ||||
-rwxr-xr-x | 1301/CH12/EX12.7/ex12_7.sce | 5 | ||||
-rwxr-xr-x | 1301/CH12/EX12.8/ex12_8.sce | 7 | ||||
-rwxr-xr-x | 1301/CH12/EX12.9/ex12_9.sce | 7 |
13 files changed, 93 insertions, 0 deletions
diff --git a/1301/CH12/EX12.10/ex12_10.sce b/1301/CH12/EX12.10/ex12_10.sce new file mode 100755 index 000000000..033bb47be --- /dev/null +++ b/1301/CH12/EX12.10/ex12_10.sce @@ -0,0 +1,7 @@ +clc;
+q1=5*10^-7; //charge in coulomb
+q2=2*10^-7; //charge in coulomb
+k=9*10^9; //constant in N.m square/coulomb square
+F=10^2; //force in Newton
+r=sqrt((k*q1*q2)/F); //calculating r using Coulomb's law
+disp(r*10^3,"Distance between them in mm = "); //displaying result
diff --git a/1301/CH12/EX12.12/ex12_12.sce b/1301/CH12/EX12.12/ex12_12.sce new file mode 100755 index 000000000..3df047589 --- /dev/null +++ b/1301/CH12/EX12.12/ex12_12.sce @@ -0,0 +1,10 @@ +clc;
+k=9*10^9; //constant in N.m square/kg square
+G=6.67*10^-11; //universal gravitational constant in N.m square/kg square
+m1=1.67*10^-27; //mass in kg
+m2=1.67*10^-27; //mass in kg
+mp=1.6*10^-19; //mass of proton in kg
+Fg=G*m1*m2;
+Fe=k*mp*mp;
+d=Fe/Fg;
+disp(d,"Times electric force is greater than gravitational force"); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.13/ex12_13.sce b/1301/CH12/EX12.13/ex12_13.sce new file mode 100755 index 000000000..0991b1ce1 --- /dev/null +++ b/1301/CH12/EX12.13/ex12_13.sce @@ -0,0 +1,5 @@ +clc;
+F=8.2*10^-8; //force in Newton
+e=1.6*10^-19; //charge on an electron in Coulomb
+E=F/e; //calculating electric field in V/m using E=F/Q
+disp(E,"Electric field in v/m = "); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.14/ex12_14.sce b/1301/CH12/EX12.14/ex12_14.sce new file mode 100755 index 000000000..55f8432ff --- /dev/null +++ b/1301/CH12/EX12.14/ex12_14.sce @@ -0,0 +1,8 @@ +clc;
+e=1.6*10^-19; //charge on an electron in coulomb
+E=5*10^3; //electric field in V/m
+m=3.3*10^-26; //mass of neon ion in kg
+F=E*e; //calculating foece in Newton using F=Q*E
+a=F/m; //calculating accelaration in m/sec square using Newton's Law(F=m*a)
+disp(F,"Force on neon Ion in Newton = "); //displaying result
+disp(a,"Accelaration of the ion in m/sec square"); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.15/ex12_15.sce b/1301/CH12/EX12.15/ex12_15.sce new file mode 100755 index 000000000..bfedd1951 --- /dev/null +++ b/1301/CH12/EX12.15/ex12_15.sce @@ -0,0 +1,6 @@ +clc;
+m=1.67*10^-27; //mass of proton in kg
+g=9.8; //gravitational constant in m/sec square
+e=1.6*10^-19; //charge on electron in coulomb
+E=(m*g)/e; //calculating Electric field in V/m using e*E=m*g
+disp(E,"Electric Field in V/metre = "); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.16/ex12_16.sce b/1301/CH12/EX12.16/ex12_16.sce new file mode 100755 index 000000000..46259d4c5 --- /dev/null +++ b/1301/CH12/EX12.16/ex12_16.sce @@ -0,0 +1,5 @@ +clc;
+Q=50; //charge in Coulomb
+V=7*10^6; //Potential difference in Volt
+W=Q*V; //calculating energy dissipated in Joule
+disp(W,"Power dissipated in Joule = "); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.17/ex12_17.sce b/1301/CH12/EX12.17/ex12_17.sce new file mode 100755 index 000000000..e39dffd1c --- /dev/null +++ b/1301/CH12/EX12.17/ex12_17.sce @@ -0,0 +1,6 @@ +clc;
+V=20; //potential difference in Volt
+E=500; //Electric field in V/m
+s=V/E; //calculating distance between them in metre using s=V/E
+disp(s,"Distance between the plates in metre = "); //displaying result
+disp(s*100,"Distance between the plates in cm = "); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.18/ex12_18.sce b/1301/CH12/EX12.18/ex12_18.sce new file mode 100755 index 000000000..b94cf7578 --- /dev/null +++ b/1301/CH12/EX12.18/ex12_18.sce @@ -0,0 +1,11 @@ +clc;
+E=600; //electric field in volt/metre
+s=0.15; //distance between plates in metre
+r=0.05; //distance in m
+V=E*s; //calculating potential difference in Volt
+disp(V,"(a)Potential Difference in Volt = "); //displaying result
+Q=10^-10; //charge in coulomb
+F=Q*E; //calculating force in Newton
+disp(F,"Force on the charge of 10^-10 C in Newton = "); //displaying result
+KE=F*r; //calculating Kinetic Energy in Joule
+disp(KE,"Kinetic Energy in Joule = "); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.19/ex12_19.sce b/1301/CH12/EX12.19/ex12_19.sce new file mode 100755 index 000000000..874a20214 --- /dev/null +++ b/1301/CH12/EX12.19/ex12_19.sce @@ -0,0 +1,8 @@ +clc;
+m=9.1*10^-31; //mass of electron in kg
+v=10^7; //velocity of electron in m/sec
+e=1.6*10^-19; //charge on electron in coulomb
+KE=(1/2)*(m*v*v); //Kinetic Energy of electron in Joule
+V=KE/e; //calculating potential difference in Volt
+disp(KE,"Kinetic Energy in Joule = "); //displaying result
+disp(V,"Potential difference in Volt = "); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.20/ex12_20.sce b/1301/CH12/EX12.20/ex12_20.sce new file mode 100755 index 000000000..f2306320f --- /dev/null +++ b/1301/CH12/EX12.20/ex12_20.sce @@ -0,0 +1,8 @@ +clc;
+V=12; //potential diff in volt
+Q=15; //charge per time in Coulomb/sec
+t=3600; //time (seconds in an hour)
+P=V*Q; //calculating power in Watt
+W=P*t; //work done in Joule
+disp(P,"Power in Watt = "); //displaying result
+disp(W,"Work done in 1 hr in Joule = "); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.7/ex12_7.sce b/1301/CH12/EX12.7/ex12_7.sce new file mode 100755 index 000000000..4e0b6234f --- /dev/null +++ b/1301/CH12/EX12.7/ex12_7.sce @@ -0,0 +1,5 @@ +clc;
+e=1.6*10^-19; //charge on an electron in coulomb
+q=10^-12; //charge on pith ball in coulomb
+n=q/e; //calculating no of electrons
+disp(n,"No. of electrons = "); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.8/ex12_8.sce b/1301/CH12/EX12.8/ex12_8.sce new file mode 100755 index 000000000..765d8784d --- /dev/null +++ b/1301/CH12/EX12.8/ex12_8.sce @@ -0,0 +1,7 @@ +clc;
+k=9*10^9; //constant in free space in N.m square/C square
+q1=4*10^-9; //charge in coulomb
+q2=5*10^-8; //charge in coulomb
+r=5*10^-2; //radius in metre
+F=(k*q1*q2)/(r*r); //calculating force in Newton
+disp(F,"Force in Newton = "); //displaying result
\ No newline at end of file diff --git a/1301/CH12/EX12.9/ex12_9.sce b/1301/CH12/EX12.9/ex12_9.sce new file mode 100755 index 000000000..577cdc3f1 --- /dev/null +++ b/1301/CH12/EX12.9/ex12_9.sce @@ -0,0 +1,7 @@ +clc;
+k=9*10^9; //constant in free space in N.m square/C square
+q1=1.6*10^-19; //charge in coulomb
+q2=1.6*10^-19; //charge in coulomb
+r=5.3*10^-11; //radius in metre
+F=(k*q1*q2)/(r*r); //calculating force in Newton
+disp(F,"Force in Newton = "); //displaying result
\ No newline at end of file |