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 /2234/CH3 | |
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 '2234/CH3')
29 files changed, 204 insertions, 0 deletions
diff --git a/2234/CH3/EX3.1/ex3_1.sce b/2234/CH3/EX3.1/ex3_1.sce new file mode 100755 index 000000000..648f9a5e7 --- /dev/null +++ b/2234/CH3/EX3.1/ex3_1.sce @@ -0,0 +1,5 @@ +clc;
+f=15; //focal length in cm
+v=10; //image distance in cm
+u=(150/5); //calculating u using (1/f)=(1/v)-(1/u)
+disp(u,"Object Distance in cm = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.10/ex3_10.sce b/2234/CH3/EX3.10/ex3_10.sce new file mode 100755 index 000000000..f94f17b57 --- /dev/null +++ b/2234/CH3/EX3.10/ex3_10.sce @@ -0,0 +1,7 @@ +clc;
+fo=0.5; //focal length of eye lens
+D=25; //distance of distinct vision
+L=15; //length in cm
+m=375; //magnification
+fe=(-L*D)/(fo*((L/fo)-m)); //calculating fe
+disp(fe,"Focal length of eye lens in cm = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.11/ex3_11.sce b/2234/CH3/EX3.11/ex3_11.sce new file mode 100755 index 000000000..4f2c4c2b9 --- /dev/null +++ b/2234/CH3/EX3.11/ex3_11.sce @@ -0,0 +1,6 @@ +clc;
+m=5; //magnifying power
+L=24; //length in cm
+fe=4; //focal length in cm
+fo=5*fe; //calculating fo
+disp(fo,"Focal length of lens in cm = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.12/ex3_12.sce b/2234/CH3/EX3.12/ex3_12.sce new file mode 100755 index 000000000..29427d754 --- /dev/null +++ b/2234/CH3/EX3.12/ex3_12.sce @@ -0,0 +1,8 @@ +clc;
+D=25; //distance of distinct vision in cm
+fo=140; //focal length of eye lens
+fe=5; //focal length in cm
+m=-(fo/fe); //calculating magnifying power
+disp(m,"Magnifying power at normal adjustment = "); //displaying result
+m1=-(fo/fe)*(1+(fe/D)); //calculating magnifying power
+disp(m1,"Magnifying power atleast distance of distinct vision = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.13/ex3_13.sce b/2234/CH3/EX3.13/ex3_13.sce new file mode 100755 index 000000000..e5ce40282 --- /dev/null +++ b/2234/CH3/EX3.13/ex3_13.sce @@ -0,0 +1,5 @@ +clc;
+M=5; //Magnifying power
+fo=10; //focal length of eye lens
+fe=fo/M; //calculating fe
+disp(fe,"Focal length of eye lens in cm = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.14/ex3_14.sce b/2234/CH3/EX3.14/ex3_14.sce new file mode 100755 index 000000000..ba1388878 --- /dev/null +++ b/2234/CH3/EX3.14/ex3_14.sce @@ -0,0 +1,6 @@ +clc;
+fo=75; //focal length of eye lens
+D=25; //distance of distinct vision
+fe=5; //focal of eye lens in cm
+M=-(fo/fe)*(1+(fe/D)); //calculating M
+disp(M,"Magnifying power = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.15/ex3_15.sce b/2234/CH3/EX3.15/ex3_15.sce new file mode 100755 index 000000000..ce525bc8a --- /dev/null +++ b/2234/CH3/EX3.15/ex3_15.sce @@ -0,0 +1,6 @@ +clc;
+M=7; //magnifying power
+L=40; //length
+fe=(40/8); //focal length of eye lens in cm
+fo=(7*fe); //calculating focal length
+disp(fo,"Focal Length of lens in cm ="); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.16/ex3_16.sce b/2234/CH3/EX3.16/ex3_16.sce new file mode 100755 index 000000000..cdfb91fbc --- /dev/null +++ b/2234/CH3/EX3.16/ex3_16.sce @@ -0,0 +1,9 @@ +clc;
+f=10^3; //frequency in Hz
+l=0.1; //inductance in Henry
+x=2*(%pi)*f*l; //calculating reactance
+disp(x,"Reactance in Ohm = "); //displaying result
+disp("Frequency needs to be raised by the ratio 2000/628 for the frequency to equal the resistance.");
+r=2000/x;
+disp(r,"The frequency in Hz = "); //displaying result
+disp("At this frequency the phase angle is 45 degree."); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.17/ex3_17.sce b/2234/CH3/EX3.17/ex3_17.sce new file mode 100755 index 000000000..8d918484f --- /dev/null +++ b/2234/CH3/EX3.17/ex3_17.sce @@ -0,0 +1,5 @@ +clc;
+vpp=25; //peak to peak voltage in volt
+vp=vpp/2; //calculating peak value in volt
+rms=vp/sqrt(2); //calculating rms value
+disp(rms,"Rms value in volt = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.18/ex3_18.sce b/2234/CH3/EX3.18/ex3_18.sce new file mode 100755 index 000000000..b15e6497a --- /dev/null +++ b/2234/CH3/EX3.18/ex3_18.sce @@ -0,0 +1,4 @@ +clc;
+v=118; //voltage in volt
+vp=v*sqrt(2); //calculating peak voltage
+disp(vp,"Peak voltage in volt = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.19/ex3_19.sce b/2234/CH3/EX3.19/ex3_19.sce new file mode 100755 index 000000000..a54f756e6 --- /dev/null +++ b/2234/CH3/EX3.19/ex3_19.sce @@ -0,0 +1,9 @@ +clc;
+r=1; //reisstance in Ohm
+p1=1/4; //power for 1 Watt
+p2=(2*2)/4; //power for 2 Watt
+p3=(3*3)/4; //power for 3 Watt
+p4=(4*4)/4; //power for 4 Watt
+tp=p1+p2+p3+p4; //calculating total power
+p=sqrt(tp); //calculating rms value
+disp(p,"RMS value in volt = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.2/ex3_2.sce b/2234/CH3/EX3.2/ex3_2.sce new file mode 100755 index 000000000..358d78a08 --- /dev/null +++ b/2234/CH3/EX3.2/ex3_2.sce @@ -0,0 +1,8 @@ +clc;
+f=80; //focal length in cm
+f1=20; //focallength of first lens in cm
+f2=(80/3); //using (1/F)=(1/f1)+(1/f2)
+P=(100/f); //power in D
+P1=100/20; //power of first lens
+P2=P1-P; //power in D
+disp(P2,"Power in D = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.20/ex3_20.sce b/2234/CH3/EX3.20/ex3_20.sce new file mode 100755 index 000000000..aed5464c8 --- /dev/null +++ b/2234/CH3/EX3.20/ex3_20.sce @@ -0,0 +1,5 @@ +clc;
+v1=6; //voltage in volt
+v2=8; //voltage in volt
+v=sqrt((v1*v1)+(v2*v2)); //calculating rms valu
+disp(v,"RMS value in volt = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.21/ex3_21.sce b/2234/CH3/EX3.21/ex3_21.sce new file mode 100755 index 000000000..eab6a12e9 --- /dev/null +++ b/2234/CH3/EX3.21/ex3_21.sce @@ -0,0 +1,8 @@ +clc;
+v=12; //voltage in volt
+f=60; //frequency in Hz
+vt=v*sqrt(2); //true voltage
+vs=vt/10; //sagging voltage
+disp(vs);
+av=vt-(vs/2); //calculating average value
+disp(av,"Average voltage in volt = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.22/ex3_22.sce b/2234/CH3/EX3.22/ex3_22.sce new file mode 100755 index 000000000..f7c3b0e95 --- /dev/null +++ b/2234/CH3/EX3.22/ex3_22.sce @@ -0,0 +1,9 @@ +clc;
+v=10; //voltage in volt
+t=0.001; //lasting time in sec
+t1=0.01; //recuring time in sec
+r=1; //resistance in Ohm
+p=10; //average power in Watt
+v=sqrt(p/r); //calculating dc voltage
+disp(v,"DC Voltage in Volt = "); //displaying result
+disp(v,"Therefore, the RMS value = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.23/ex3_23.sce b/2234/CH3/EX3.23/ex3_23.sce new file mode 100755 index 000000000..0446f895f --- /dev/null +++ b/2234/CH3/EX3.23/ex3_23.sce @@ -0,0 +1,6 @@ +clc;
+l=10; //length in metre
+s=0.3; //speed of energy in m/ns
+tl=2*l; //length of round trip
+t=tl/s; //time taken
+disp(t,"Time taken for round trip in ns = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.24/ex3_24.sce b/2234/CH3/EX3.24/ex3_24.sce new file mode 100755 index 000000000..01a92841f --- /dev/null +++ b/2234/CH3/EX3.24/ex3_24.sce @@ -0,0 +1,8 @@ +clc;
+z=50; //impedance in Ohm
+l=10; //length in metre
+v=10; //voltage in volt
+t=0.3*10^-6; //time in sec
+i=v/z; //calaulating current
+disp(i,"Current on initial wave in Ampere = "); //displaying result
+disp("It takes 0.13*10^-6 for a round trip.There are two round trips in 0.3*10^-6. The current triples for each round trip. At 0.3 ¹s the current is multiplied by 6, or 1.2 A."); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.25/ex3_25.sce b/2234/CH3/EX3.25/ex3_25.sce new file mode 100755 index 000000000..2ab198339 --- /dev/null +++ b/2234/CH3/EX3.25/ex3_25.sce @@ -0,0 +1,14 @@ +clc;
+f=300; //frequency in Hz
+r=1; //distance in metre
+i=2; //current in Ampere
+area=0.1; //area in metre square
+mo=4*(%pi)*10^-7; //constant
+H=i/(2*(%pi)*r); //calcualting H field rms
+disp(H,"H field intensity (rms) in A/m = "); //displaying H field
+Hp=H*sqrt(2); //peak H
+disp(Hp,"H field intensity (peak) in A/m = "); //displaying result
+Bp=(Hp*mo); //calculating B peak in Tesla
+disp(Bp,"Flux peak in Tesla = "); //displaying B
+vp=2*(%pi)*f*Bp; //calculating v peak
+disp(vp,"Peak voltage in volt = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.26/ex3_26.sce b/2234/CH3/EX3.26/ex3_26.sce new file mode 100755 index 000000000..a019d353f --- /dev/null +++ b/2234/CH3/EX3.26/ex3_26.sce @@ -0,0 +1,13 @@ +clc;
+v=10^-5; //ac voltage
+di=10*10^-3; //discharge rate of current
+t=10*10^-3; //time in sec
+ch=(14.14-0.6); //charge of capacitor
+q=ch*v; //charge
+disp(q,"Charge in Coloumb = "); //displaying result
+qt=di*t; //charge for 10 ms
+rc=q-qt; //remaining charge
+disp(qt,"Charge for 10 ms = "); //displaying result
+disp(rc,"Remaining charge in Coloumb = "); //displaying result
+a=(rc/q)*10; //voltage
+disp(a,"Voltage in volt = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.27/ex3_27.sce b/2234/CH3/EX3.27/ex3_27.sce new file mode 100755 index 000000000..1eb0cd78f --- /dev/null +++ b/2234/CH3/EX3.27/ex3_27.sce @@ -0,0 +1,5 @@ +clc;
+s=12; //sum of squares
+hv=sqrt(s); //heating voltage =sum of square roots
+disp(hv,"Heating voltage in volts = "); //displaying result
+disp(s/10,"Power dissipated in Watt = "); //displaying result
diff --git a/2234/CH3/EX3.28/ex3_28.sce b/2234/CH3/EX3.28/ex3_28.sce new file mode 100755 index 000000000..b98b675f7 --- /dev/null +++ b/2234/CH3/EX3.28/ex3_28.sce @@ -0,0 +1,7 @@ +clc;
+vp=10; //peak voltage
+v=vp*sqrt(2); //voltage
+hc=10+7.07; //horizontal components
+disp(hc,"Hrizontal Components = "); //horizontal components
+vc=sqrt((hc*hc)+(7.07*7.07)); //vertical components
+disp(vc,"Vertical Components = "); //vertical components
\ No newline at end of file diff --git a/2234/CH3/EX3.29/ex3_29.sce b/2234/CH3/EX3.29/ex3_29.sce new file mode 100755 index 000000000..32a710945 --- /dev/null +++ b/2234/CH3/EX3.29/ex3_29.sce @@ -0,0 +1,5 @@ +clc;
+c=5*10^-12; //capacitanec in Farad
+p=10*10^6; //pulse in V/sec
+i=c*p; //current
+disp(i,"Current in Ampere = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.3/ex3_3.sce b/2234/CH3/EX3.3/ex3_3.sce new file mode 100755 index 000000000..a53f2ac9a --- /dev/null +++ b/2234/CH3/EX3.3/ex3_3.sce @@ -0,0 +1,4 @@ +clc;
+P=2.5; //Power in D
+f=-(1/P); //calculating f in m
+disp(f,"Focal length in m = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.4/ex3_4.sce b/2234/CH3/EX3.4/ex3_4.sce new file mode 100755 index 000000000..bdc405c57 --- /dev/null +++ b/2234/CH3/EX3.4/ex3_4.sce @@ -0,0 +1,7 @@ +clc;
+m=4; //magnigication
+f=20; //focal length in cm
+u=(20*3)/(4); //on simplifying (1/f)=(1/v)-(1/u)
+v=(4*u); //calculating v in cm
+disp(u,"Object distance in cm = "); //displaying result
+disp(v,"Image distance in cm = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.5/ex3_5.sce b/2234/CH3/EX3.5/ex3_5.sce new file mode 100755 index 000000000..fce06ff60 --- /dev/null +++ b/2234/CH3/EX3.5/ex3_5.sce @@ -0,0 +1,7 @@ +clc;
+u=14; //object distance in cm
+f=-21; //focal distance in cm
+v=(-5/42); //simplifying(1/f)=(1/v)-(1/u)
+I=(3*-8.4)/(-14); //using m=(1/0)=(v/u);
+disp(v,"Image distance in cm = "); //displaying result
+disp(I,"I in cm = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.6/ex3_6.sce b/2234/CH3/EX3.6/ex3_6.sce new file mode 100755 index 000000000..4936e96b0 --- /dev/null +++ b/2234/CH3/EX3.6/ex3_6.sce @@ -0,0 +1,5 @@ +clc;
+fe=5; //focal length in cm
+D=25; //distance od distinct vision in cm
+m=1+(D/fe); //calculating magnifying power
+disp(m,"magnifying Power = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.7/ex3_7.sce b/2234/CH3/EX3.7/ex3_7.sce new file mode 100755 index 000000000..fbec264ed --- /dev/null +++ b/2234/CH3/EX3.7/ex3_7.sce @@ -0,0 +1,5 @@ +clc;
+fe=5; //focal length in cm
+D=25; //distance od distinct vision in cm
+mo=30/(1+(D/fe)); //calculating magnification of objective lens
+disp(mo,"Magnification produced by objective lens = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.8/ex3_8.sce b/2234/CH3/EX3.8/ex3_8.sce new file mode 100755 index 000000000..8e23a440d --- /dev/null +++ b/2234/CH3/EX3.8/ex3_8.sce @@ -0,0 +1,9 @@ +clc;
+u=-6; //object distance in cm
+fo=4; //focal distance in cm
+fe=6; //focal length in cm
+D=25; //distance of distinct vision in cm
+v=(12); //using (1/f)=(1/v)-(1/u)
+m=(v/u)*(1+(D/fe)); //calculating m
+disp(v,"Image distance in cm = "); //displaying result
+disp(-m,"Magnifying Power = "); //displaying result
\ No newline at end of file diff --git a/2234/CH3/EX3.9/ex3_9.sce b/2234/CH3/EX3.9/ex3_9.sce new file mode 100755 index 000000000..2e1bcf172 --- /dev/null +++ b/2234/CH3/EX3.9/ex3_9.sce @@ -0,0 +1,9 @@ +clc;
+D=25; //distance of distinct vision
+u=-9; //object distance in cm
+fe=10; //focal length in cm
+v=(-90/1); //using (1/f)=(1/v)-(1/u)
+m=(v/u); //calculating m
+M=D/u; //calculating Magnifying power of lens
+disp(m,"Magnification of lens = "); //displaying result
+disp(-M,"Magnifying Power = "); //displaying result
\ No newline at end of file |