diff options
Diffstat (limited to '3651/CH4')
-rw-r--r-- | 3651/CH4/EX4.1/1.sce | 20 | ||||
-rw-r--r-- | 3651/CH4/EX4.10/10.sce | 14 | ||||
-rw-r--r-- | 3651/CH4/EX4.2/2.sce | 12 | ||||
-rw-r--r-- | 3651/CH4/EX4.3/3.sce | 15 | ||||
-rw-r--r-- | 3651/CH4/EX4.4/4.sce | 9 | ||||
-rw-r--r-- | 3651/CH4/EX4.5/5.sce | 12 | ||||
-rw-r--r-- | 3651/CH4/EX4.6/6.sce | 23 | ||||
-rw-r--r-- | 3651/CH4/EX4.7/7.sce | 11 | ||||
-rw-r--r-- | 3651/CH4/EX4.8/8.sce | 15 | ||||
-rw-r--r-- | 3651/CH4/EX4.9/9.sce | 13 |
10 files changed, 144 insertions, 0 deletions
diff --git a/3651/CH4/EX4.1/1.sce b/3651/CH4/EX4.1/1.sce new file mode 100644 index 000000000..fcf02c588 --- /dev/null +++ b/3651/CH4/EX4.1/1.sce @@ -0,0 +1,20 @@ +
+
+//Variable declaration
+m=9.1*10**-31; //mass(kg)
+nx=1;
+ny=1
+nz=1
+n=6;
+a=1; //edge(m)
+h=6.63*10**-34; //planck's constant
+k=1.38
+//Calculation
+E1=h**2*(nx**2+ny**2+nz**2)/(8*m*a**2);
+E2=h**2*n/(8*m*a**2);
+E=E2-E1; //energy difference(J)
+T=(2*E2*10**37)/(3*k*10**-23)
+//Result
+printf('energy difference is%0.3f *10**-37 J \n ',(E*10**37))
+printf('3/2*k*T = E2 =%0.3f *10**-37 J \n ',(E2*10**37))
+printf('T =%0.3f *10**-14 K \n ',(T/10**23))
diff --git a/3651/CH4/EX4.10/10.sce b/3651/CH4/EX4.10/10.sce new file mode 100644 index 000000000..fe752c767 --- /dev/null +++ b/3651/CH4/EX4.10/10.sce @@ -0,0 +1,14 @@ +//Variable declaration
+rho1=1.2*10**-8
+p1=0.4
+rho2=0.12*10**-8
+p2=0.5
+rho3=1.5*10**-8
+//Calculations
+R=(rho1*p1)+(rho2*p2)
+R_c=R+rho3
+
+//Results
+printf('Increase in resistivity in copper =%0.3f *10**-8 ohm m \n ',(R*10**8))
+printf('Total resistivity of copper alloy =%0.3f *10**-8 ohm m \n ',(R_c*10**8))
+printf('The resistivity of alloy at 3K =%0.3f *10**-8 ohm m \n ',(R*10**8))
\ No newline at end of file diff --git a/3651/CH4/EX4.2/2.sce b/3651/CH4/EX4.2/2.sce new file mode 100644 index 000000000..a0ad56714 --- /dev/null +++ b/3651/CH4/EX4.2/2.sce @@ -0,0 +1,12 @@ +//Variable declaration
+y=1/100; //percentage of probability
+x=0.5*1.6*10**-19; //energy(J)
+k=1.38*10**-23; //boltzmann constant
+
+//Calculation
+xbykT=log((1/y)-1);
+T=x/(k*xbykT); //temperature(K)
+
+//Result
+printf('temperature is %0.3f K ',int(T))
+printf('answer varies due to ing off errors')
\ No newline at end of file diff --git a/3651/CH4/EX4.3/3.sce b/3651/CH4/EX4.3/3.sce new file mode 100644 index 000000000..ff7aaf8fe --- /dev/null +++ b/3651/CH4/EX4.3/3.sce @@ -0,0 +1,15 @@ +//Variable declaration
+d=970; //density(kg/m**3)
+Na=6.02*10**26; //avagadro number
+w=23; //atomic weight
+m=9.1*10**-31; //mass(kg)
+h=6.62*10**-34; //planck's constant
+
+//Calculation
+N=d*Na/w; //number of atoms/m**3
+x=h**2/(8*m);
+y=(3*N/%pi)**(2/3)
+EF=x*y; //fermi energy(J)
+
+//Result
+printf('fermi energy is %0.3f eV \n ',(EF/(1.6*10**-19)))
diff --git a/3651/CH4/EX4.4/4.sce b/3651/CH4/EX4.4/4.sce new file mode 100644 index 000000000..3e98c58df --- /dev/null +++ b/3651/CH4/EX4.4/4.sce @@ -0,0 +1,9 @@ +//Variable declaration
+kT=1;
+E_EF=1;
+
+//Calculations
+p_E=1/(1+exp(E_EF/kT))
+
+//Result
+printf('p(E) =%0.3f \n ',(p_E))
\ No newline at end of file diff --git a/3651/CH4/EX4.5/5.sce b/3651/CH4/EX4.5/5.sce new file mode 100644 index 000000000..4c225cc36 --- /dev/null +++ b/3651/CH4/EX4.5/5.sce @@ -0,0 +1,12 @@ +//Variable declarations
+m=9.1*10**-31
+h=6.626*10**-34
+Ef=3.1
+Ef1=Ef+0.02
+e=1.6*10**-19
+//Calculations
+
+ N=integrate('%pi*((8*m)**(3/2))*(E**(1/2)*e**(3/2))/(2*(h**3))','E',Ef,Ef1)
+
+//Result
+printf('N =%0.3f *10**26 states \n ',(N*10**-26))
diff --git a/3651/CH4/EX4.6/6.sce b/3651/CH4/EX4.6/6.sce new file mode 100644 index 000000000..f4ce0e2e0 --- /dev/null +++ b/3651/CH4/EX4.6/6.sce @@ -0,0 +1,23 @@ +//Variable declaration
+N=6.023*10**26 //Avagadro number
+D=8960 //density
+F_e=1 //no.of free electrons per atom
+W=63.54 //Atomic weight
+i=10
+e=1.602*10**-19
+m=9.1*10**-31
+rho=2*10**-8
+Cbar=1.6*10**6 //mean thermal velocity(m/s)
+
+//Calculations
+n=(N*D*F_e)/W
+A=%pi*0.08**2*10**-4
+Vd=i/(A*n*e) //Drift speed
+Tc=m/(n*(e**2)*rho)
+lamda=Tc*Cbar
+
+//Result
+printf('n =%0.3f *10**28 /m**3 \n ',(n/10**28))
+printf('The drift speed Vd =%0.3f *10**-5 m/s \n ',(Vd*10**5))
+printf('The mean free collision time Tc =%0.3f *10**-14 seconds \n ',(Tc*10**14))
+printf('Mean free path =%0.3f *10**-8 m""(answer varies due to ing off errors) \n ',(lamda*10**8))
\ No newline at end of file diff --git a/3651/CH4/EX4.7/7.sce b/3651/CH4/EX4.7/7.sce new file mode 100644 index 000000000..d0dfb5c12 --- /dev/null +++ b/3651/CH4/EX4.7/7.sce @@ -0,0 +1,11 @@ +//Variable declaration
+n=8.5*10**28
+e=1.602*10**-19
+t=2*10**-14
+m=9.1*10**-31
+
+//Calculations
+Tc=n*(e**2)*t/m
+
+//Result
+printf('The mean free collision time =%0.3f *10**7 ohm**-1 m**-1 \n ',(Tc/10**7))
\ No newline at end of file diff --git a/3651/CH4/EX4.8/8.sce b/3651/CH4/EX4.8/8.sce new file mode 100644 index 000000000..d6ac49552 --- /dev/null +++ b/3651/CH4/EX4.8/8.sce @@ -0,0 +1,15 @@ +//Variable declaration
+e=1.6*10**-19
+E=1 //(V/m)
+rho=1.54*10**-8
+n=5.8*10**28
+m=9.1*10**-31
+//Calculations
+T=m/(rho*n*e**2)
+Me=(e*T)/m
+Vd=Me*E
+
+//Result
+printf('Relaxation time =%0.3f *10**-14 second \n ',(T*10**14))
+printf('Mobility =%0.3f *10**-3 m**2/volt-s \n ',(Me*10**3))
+printf('Drift Velocity=%0.3f m/s \n ',(Vd*100))
diff --git a/3651/CH4/EX4.9/9.sce b/3651/CH4/EX4.9/9.sce new file mode 100644 index 000000000..393ab7cbe --- /dev/null +++ b/3651/CH4/EX4.9/9.sce @@ -0,0 +1,13 @@ +
+//Variable declaration
+rho_r=0
+T=300
+rho=1.7*10**-18
+
+//Calculations
+a=rho/T
+rho_973=a*973
+
+//Results
+printf('Temperature coefficient of resistivity,a =%0.3f \n ',(a*10**21))
+printf('rho_973 =%0.3f *10**-8 ohm-m \n ',(rho_973*10**18))
\ No newline at end of file |