Physics 229& 100 Final Exam 2006
Due Tuesday, Dec 12 at noon
Open book, but no discussion with anyone except me. You may use any packages that seem helpful. Provide clear commentary so that I can follow your reasoning.
grads do all problems
undergrads do 1-13 ( 14&15 are extra credit if you do them )

Name: Nasser Abbasi

1.  Find a set of vectors that span the hyperplane w - 2.3 x- 2 y- 3.4z==6

Solution outline:

First find a normal to the hyperplane.

Use the fact that given a general equation of a hyperplane when written in the form

                                 "AbbasiN_FINAL_1.gif"
            
Then a normal is just the vector "AbbasiN_FINAL_2.gif".  For example, given the equation of a line, written in the above form, it is a x+b y=c Hence a normal to this line is the vector {a,b}.

Once the normal is found, then we can obtain basis for the null space of this normal. The nullspace of this normal gives us the basis vectors which span the space that this normal can not reach.

But the space that this normal vector can not reach is the hyperplane itself.

Hence all what we need to do is to use NullSpace on a Matrix which contains one row, which is the normal vector.
                        
step 1. Find the normal vector:

"AbbasiN_FINAL_3.gif"

"AbbasiN_FINAL_4.gif"

Step 2. Find the NullSpace:

"AbbasiN_FINAL_5.gif"

"AbbasiN_FINAL_6.gif"

2. Find the solution to the equations
2x+3y+2z=10
5x-2y+7z=0
which has minimum length.

Solution outline:
Write the system as Ax=b and use PseudoInverse to find the minimum solution

"AbbasiN_FINAL_7.gif"

Convert equations to matrix form

"AbbasiN_FINAL_8.gif"

"AbbasiN_FINAL_9.gif"

"AbbasiN_FINAL_10.gif"

"AbbasiN_FINAL_11.gif"

And now use PseudoInverse to find the minimum solution

"AbbasiN_FINAL_12.gif"

"AbbasiN_FINAL_13.gif"

The above is the solution which gives the minimum length which is

"AbbasiN_FINAL_14.gif"

"AbbasiN_FINAL_15.gif"

3. Calculate "AbbasiN_FINAL_16.gif" using residues.  Show that it is the real part of a complex integral . Specify the contour you are using by drawing a sketch. Explain your reasoning. Check your answer using Integrate.

Solution outline:

Find the poles of the function that we are integrating. (the integrand in the above). Then Find a laurent series expanded around this pole, and find the coeff. of the term "AbbasiN_FINAL_17.gif". This is the residue. The solution is then, by the residue theorem, is the sum of all the residues * 2πi. In this problem there is one pole, hence one residue is found.

Step 1. Start by finding the pole of the integrand

"AbbasiN_FINAL_18.gif"

"AbbasiN_FINAL_19.gif"

Step 2. I need to consider only poles that are inside the contour, which will be in the upper half plan. Hence there are pole are z=I of order 2. Find Laurent series around the pole, and pick up the coefficient of the term "AbbasiN_FINAL_20.gif"

"AbbasiN_FINAL_21.gif"

"AbbasiN_FINAL_22.gif"

step3 . Now find the correct coeff.

"AbbasiN_FINAL_23.gif"

"AbbasiN_FINAL_24.gif"

Step 4. Now use the residue theorem to find the value of the integral

"AbbasiN_FINAL_25.gif"

"AbbasiN_FINAL_26.gif"

Now I need to show it is the real part of a complex integral. To do this I consider an integral of "AbbasiN_FINAL_27.gif"and write the integral as a contour integral that extends over the real x axis from -r to +r and then goes anticlock wise in a circle of radius r from θ=0 to θ=π as shown in this diagram
"AbbasiN_FINAL_28.gif"

Now since "AbbasiN_FINAL_29.gif" then "AbbasiN_FINAL_30.gif" and so the contour integral can be written as

"AbbasiN_FINAL_31.gif"

Now since we want to integrate from x=-∞ to x=∞, then we start by making r larger and larger.

Then we can take r to go to infinity. But notice in the second integral above, in the denominator, r is to the power of 4, while in the numerator r is to the power of 2.

Hence the second integral above (the integral over the circular part) will vanish as r becomes larger and larger.

Hence the integral becomes the real part only which is what we are asked to evaluate which is

"AbbasiN_FINAL_32.gif"

Hence we showed that "AbbasiN_FINAL_33.gif" is the real part of contour complex integral "AbbasiN_FINAL_34.gif" where z is a complex variable "AbbasiN_FINAL_35.gif"

Now I check my answer using Integrate

"AbbasiN_FINAL_36.gif"

"AbbasiN_FINAL_37.gif"

The above matches the result using residue method as shown above.

4.  Find all solutions to "AbbasiN_FINAL_38.gif" Make a plot which shows the location of the roots in the complex plane.

Solution outline:
Since this is a polynomial, we can use Solve. Since this is a polynomial of degree 7, this by the fundamental theory of algebra, we will have 7 roots. Use the command ListPlot to make a plot of the roots in the complex plane.

"AbbasiN_FINAL_39.gif"

"AbbasiN_FINAL_40.gif"

"AbbasiN_FINAL_41.gif"

"AbbasiN_FINAL_42.gif"

5.  Find the 4 smallest positive real  roots of "AbbasiN_FINAL_43.gif"

Solution outline:
Make a plot (try different ranges until you see one which contains at least 4 real roots). Then use FindRoot to locate exact roots.

Find make a plot to see the shape

"AbbasiN_FINAL_44.gif"

"AbbasiN_FINAL_45.gif"

Now by looking at the above plot, I see the smallest 4 positive real roots around 0,4,6,10. So I can use FindRoot with an initial guess at these values. Since my starting guess values are all real, then FindRoot will only find real roots. I also supply a max/min brackets for the range of search by FindRoot for each call.

"AbbasiN_FINAL_46.gif"

Hence the 4 smallest positive roots are

"AbbasiN_FINAL_47.gif"

0.335409
3.61542
6.8467
13.1371

6.  A drunken sailor (or a molecule adsorbed on a surface, or a polymer chain) takes a step of unit length in either the +x,-x,+y, or -y directions every unit of time. Write a procedure which will draw a typical trajectory of nstep steps. Use a Do loop, AppendTo, Random[Integer] and ListPlot with the PlotJoined and AspectRatio-> Automatic option. Draw a trajectory of 2000 steps.

Solution outline:
Make an empty list. Generate random integer from 1 to 4. depending on the value make the appropriate step which will be an new entry, add it to the list. At the end use ListPlot to display it.

Declare data and do initialization

"AbbasiN_FINAL_48.gif"

Start the main loop.  

"AbbasiN_FINAL_49.gif"

"AbbasiN_FINAL_50.gif"

7. Two identical masses are attached to three springs between two fixed walls, as shown in the figure below. The spring constant of the middle spring is different from the outside springs. Neglect gravity.

"AbbasiN_FINAL_51.gif"


Solution Outline:
Generate the lagrangian, then the equation of motion, from this we find the mass matrix and the stiffness matrix. Solve Det([k]-w^2 [M])=0 to find the eigenfrequencies.

First Update the above diagram as shown below to make it clear where displacement are


"AbbasiN_FINAL_52.gif"

a) Construct the Lagrangian , and set up the equations of motion for this system

Set up symbols using notation for ease of reading.

"AbbasiN_FINAL_53.gif"

Now define the kinetic energy KE and the potential energy PE

"AbbasiN_FINAL_54.gif"

"AbbasiN_FINAL_55.gif"

"AbbasiN_FINAL_56.gif"

"AbbasiN_FINAL_57.gif"

Find the lagrangian L

"AbbasiN_FINAL_58.gif"

"AbbasiN_FINAL_59.gif"

Here I can use EulerEquations[] in ["Calculus`VariationalMethods`"] to get the equations, or do it by hand. This is easy enough so I just write it down from the definition (this way I also do not forget it)

"AbbasiN_FINAL_60.gif"

"AbbasiN_FINAL_61.gif"

"AbbasiN_FINAL_62.gif"

"AbbasiN_FINAL_63.gif"

"AbbasiN_FINAL_64.gif"

"AbbasiN_FINAL_65.gif"
"AbbasiN_FINAL_66.gif"

I can also display the above EQM is a more standard format as follows (even though this is not needed to proceed)

"AbbasiN_FINAL_67.gif"

"AbbasiN_FINAL_68.gif"

Multiply the LHS and RHS of the second equation above by minus sign to make the mass matrix all positive. Mathematica does not do it automatically. Notice there is a "-m" in the mass matrix above, so the code below just rewrite the above so that the mass matrix is all positive.

"AbbasiN_FINAL_69.gif"

"AbbasiN_FINAL_70.gif"

b) Calculate the normal mode frequencies for the vibrations of this system.

"AbbasiN_FINAL_71.gif"

"AbbasiN_FINAL_72.gif"

"AbbasiN_FINAL_73.gif"

"AbbasiN_FINAL_74.gif"

"AbbasiN_FINAL_75.gif"

"AbbasiN_FINAL_76.gif"

Finally find the harmonic frequencies. Take the positive square root of the above solutions

"AbbasiN_FINAL_77.gif"

"AbbasiN_FINAL_78.gif"

8. a) The unit sphere  and a cylinder defined by "AbbasiN_FINAL_79.gif" intersect. The region which is inside both the cylinder and the sphere is a peculiar shape. Use ContourPlot3D and RealTime3D to draw a picture of the region which can be rotated so that the region can be examined.

Solution outline:
Divide the volume that is common between the cylinder and the sphere into 2 parts. One is a standard volume shape (dome type shape) with a standard formula for its volume. The second volume, use volume integration to find.

"AbbasiN_FINAL_80.gif"

"AbbasiN_FINAL_81.gif"

"AbbasiN_FINAL_82.gif"

"AbbasiN_FINAL_83.gif"

b) What is the volume of this region?

IMPORTRANT:

Since I am not sure if my analytical solution is correct below, I just thought that I could have solved this problem much more easily numerically.

I am not sure if we have to use analytical solution only. But I give this solution below, I get 40% as the covered volume which looks more closer to what I see in the plot. With the analytical solution I get 45%, and I think I over integrated there. So please accept this numerical solution below unless an analytical solution is needed in which case please accept my analytical solution below it.  Thank you.

Use MonteCarlo method.

"AbbasiN_FINAL_84.gif"

"AbbasiN_FINAL_85.gif"

"AbbasiN_FINAL_86.gif"

"AbbasiN_FINAL_87.gif"

Hence the percentage of the volume found to that of the sphere is

"AbbasiN_FINAL_88.gif"

"AbbasiN_FINAL_89.gif"

Analytical solution (In case the above is not acceptable)

First find the curve where the cylinder and the sphere meet

"AbbasiN_FINAL_90.gif"

"AbbasiN_FINAL_91.gif"

"AbbasiN_FINAL_92.gif"

Now find y for x=0

"AbbasiN_FINAL_93.gif"

"AbbasiN_FINAL_94.gif"

"AbbasiN_FINAL_95.gif"

"AbbasiN_FINAL_96.gif"

Now the above says y=.5 where the cylinder meets the sphere. Find the z coordinates where this happens

"AbbasiN_FINAL_97.gif"

"AbbasiN_FINAL_98.gif"

"AbbasiN_FINAL_99.gif"

Hence y=0.5 is where the intersection started. That is, if I draw a flat surface at y=.5 that is perpendicular to the y-axis, it will meet the cylinder just as it entered the sphere, like this
"AbbasiN_FINAL_100.gif"

Now imagine a flat surface y=.5 that cuts the sphere, then I have 2 volumes to calculate, one above this surface  and one below it as shown. The top surface has a known formula for it which I show below. The bottom surface I calculate using integration as will be done below

"AbbasiN_FINAL_101.gif"

Now I need to find the volume of the segment below the cut-off plane.
A section of the area is given by "AbbasiN_FINAL_102.gif" Hence the volume is "AbbasiN_FINAL_103.gif" , next multiply this by 2 since it goes around all the way

"AbbasiN_FINAL_104.gif"

"AbbasiN_FINAL_105.gif"

"AbbasiN_FINAL_106.gif"

"AbbasiN_FINAL_107.gif"

"AbbasiN_FINAL_108.gif"

"AbbasiN_FINAL_109.gif"

"AbbasiN_FINAL_110.gif"

"AbbasiN_FINAL_111.gif"

Hence total volume is

"AbbasiN_FINAL_112.gif"

"AbbasiN_FINAL_113.gif"

Note the volume of the unit sphere is

"AbbasiN_FINAL_114.gif"

"AbbasiN_FINAL_115.gif"

Hence the percentage of the volume found to that of the sphere is

"AbbasiN_FINAL_116.gif"

"AbbasiN_FINAL_117.gif"

The above is just a little less than half the sphere volume.

9. Express the electric field of a point charge at the origin using cartesian , cylindrical and spherical coordinates and basis vectors.  The JacobianMatrix, Scalefactors, and CoordinatesToCartesian functions from the VectorAnalysis package may be useful.

Solution outline:
The electric field is the electric field force per unit charge

                                       "AbbasiN_FINAL_118.gif"
                                       
where
                                         "AbbasiN_FINAL_119.gif"
                                         
where "AbbasiN_FINAL_120.gif" is a unit vector along the direction of the electric force vector "AbbasiN_FINAL_121.gif"

Since we are using a unit charge, and use a unit test charge as well, then

                                         "AbbasiN_FINAL_122.gif"
                                         
But "AbbasiN_FINAL_123.gif" and r is the length of "AbbasiN_FINAL_124.gif" hence

                                         "AbbasiN_FINAL_125.gif"
                                         
So the problem is 2 parts: Express a vector "AbbasiN_FINAL_126.gif" in different coordinates systems, and express the length of this vector in different coordinates systems.

step1. Start by creating some symbols

"AbbasiN_FINAL_127.gif"

Define a function which takes general vector of the form "AbbasiN_FINAL_128.gif" where the a's are coordinates and the e's are the base vectors associates with these coordinates. For example in Cartesians, the vector is "AbbasiN_FINAL_129.gif" then this function will return its length

"AbbasiN_FINAL_130.gif"

In Cartesian

"AbbasiN_FINAL_131.gif"

"AbbasiN_FINAL_132.gif"

"AbbasiN_FINAL_133.gif"

"AbbasiN_FINAL_134.gif"

Now in  cylindrical

"AbbasiN_FINAL_135.gif"

"AbbasiN_FINAL_136.gif"

"AbbasiN_FINAL_137.gif"

"AbbasiN_FINAL_138.gif"

"AbbasiN_FINAL_139.gif"

"AbbasiN_FINAL_140.gif"

"AbbasiN_FINAL_141.gif"

"AbbasiN_FINAL_142.gif"

"AbbasiN_FINAL_143.gif"

"AbbasiN_FINAL_144.gif"

"AbbasiN_FINAL_145.gif"

Hence the electric field vector in cylindrical is

"AbbasiN_FINAL_146.gif"

"AbbasiN_FINAL_147.gif"

"AbbasiN_FINAL_148.gif"

"AbbasiN_FINAL_149.gif"

"AbbasiN_FINAL_150.gif"

"AbbasiN_FINAL_151.gif"

"AbbasiN_FINAL_152.gif"

"AbbasiN_FINAL_153.gif"

Now do the same for the spherical coordinates. First define the relationship between the cartesian and the spherical coordinates

Now find the unit vectors in spherical coordinates

"AbbasiN_FINAL_154.gif"

"AbbasiN_FINAL_155.gif"

"AbbasiN_FINAL_156.gif"

"AbbasiN_FINAL_157.gif"

"AbbasiN_FINAL_158.gif"

"AbbasiN_FINAL_159.gif"

"AbbasiN_FINAL_160.gif"

"AbbasiN_FINAL_161.gif"

"AbbasiN_FINAL_162.gif"

"AbbasiN_FINAL_163.gif"

Hence the electric field vector in spherical is

"AbbasiN_FINAL_164.gif"

"AbbasiN_FINAL_165.gif"

"AbbasiN_FINAL_166.gif"

"AbbasiN_FINAL_167.gif"

"AbbasiN_FINAL_168.gif"

"AbbasiN_FINAL_169.gif"

"AbbasiN_FINAL_170.gif"

"AbbasiN_FINAL_171.gif"

10. Data for the counts recorded in a radioactive decay experiment, in the form {time, counts/min} can be found  in a file called decay.dat, which is in the localdata directory defined by

"AbbasiN_FINAL_172.gif"

"AbbasiN_FINAL_173.gif"

Import the data into a list.   The counter registers a background count rate even if there are no decays in the sample. The isotope has a decay constant of -0.3 , so a model for the count rate at time t is A +B "AbbasiN_FINAL_174.gif", where A is the background count rate.  Find A and B using Fit. Plot the data and the best fit function on the same plot using two different colors.

"AbbasiN_FINAL_175.gif"

"AbbasiN_FINAL_176.gif"

"AbbasiN_FINAL_177.gif"

"AbbasiN_FINAL_178.gif"

Fit the data

"AbbasiN_FINAL_179.gif"

"AbbasiN_FINAL_180.gif"

Find A and B

"AbbasiN_FINAL_181.gif"

"AbbasiN_FINAL_182.gif"

"AbbasiN_FINAL_183.gif"

"AbbasiN_FINAL_184.gif"

"AbbasiN_FINAL_185.gif"

11. Consider the eigenvalue boundary value problem

"AbbasiN_FINAL_186.gif"         y[0]=0,  y[1]=0

Find the first 3 eigenvalues and plot the  corresponding solutions.

Solution outline: Since this is both an eigenvalue problem and a boundary value problem, DSolve nor NDSolve can solve it as is. Start by converting the problem to an initial value problem. Use y'[0]==1 since it does not matter which initial value for the "speed" we select, we might as well select y'[0]=1.

Next, try a range of eigenvalues, for each use NDSolve to find the solution and evaluate the solution at y[1].  Plot y[1] as a function of λ. Now use FindRoot to find where y[1] is zero on this plot. This gives us the values of λ which when used in the original ODE will result in the correct boundary condition met.

"AbbasiN_FINAL_187.gif"

"AbbasiN_FINAL_188.gif"

Now by inspection and using FindRoot we find the 4 smallest eigenvalues

"AbbasiN_FINAL_189.gif"

"AbbasiN_FINAL_190.gif"

"AbbasiN_FINAL_191.gif"

"AbbasiN_FINAL_192.gif"

"AbbasiN_FINAL_193.gif"

"AbbasiN_FINAL_194.gif"

"AbbasiN_FINAL_195.gif"

"AbbasiN_FINAL_196.gif"

12. For what values of λ does the DE  x y''[x] +(1-x) y'[x] +λ y[x]=0  have polynomial solutions?

"AbbasiN_FINAL_197.gif"

"AbbasiN_FINAL_198.gif"

Solution outline:
Assume the solution is a power series. Substitute this solution in the ODE. We find that we get one possible solution with one free parameter, say a[0].

Now look at the series in x which goes with this free parameter a[0].

This series will have λ in it as well.

We want to look at the conditions on λ which makes this series TERMINATE.

This indicates a convergent solution. Using this condition, we can see for what values λ must have to terminate the a[0] series. Hence these will be the λ values which gives a polynomial solution in x.

step 1: Assume a power series solution

"AbbasiN_FINAL_199.gif"

"AbbasiN_FINAL_200.gif"

Plug in the ODE

"AbbasiN_FINAL_201.gif"

"AbbasiN_FINAL_202.gif"

Now since the ODE=0, then each power of x must be zero as well for this to happen. Use this to generate a set of equations

"AbbasiN_FINAL_203.gif"

λ a[0]+a[1]==0
-a[1]+λ a[1]+4 a[2]==0
-2 a[2]+λ a[2]+9 a[3]==0
-3 a[3]+λ a[3]+16 a[4]==0
-4 a[4]+λ a[4]==0

Drop the last equation since incomplete due to the side-effect of using series

"AbbasiN_FINAL_204.gif"

λ a[0]+a[1]==0
-a[1]+λ a[1]+4 a[2]==0
-2 a[2]+λ a[2]+9 a[3]==0
-3 a[3]+λ a[3]+16 a[4]==0

We see from the above that if we solve for a[1] in terms of a[0], then we can solve for a[2] in terms of a[1], and then solve for a[3] in terms of a[2], etc... Hence we use a[0] as a free parameter.

"AbbasiN_FINAL_205.gif"

"AbbasiN_FINAL_206.gif"

"AbbasiN_FINAL_207.gif"

"AbbasiN_FINAL_208.gif"

"AbbasiN_FINAL_209.gif"

"AbbasiN_FINAL_210.gif"

"AbbasiN_FINAL_211.gif"

"AbbasiN_FINAL_212.gif"

"AbbasiN_FINAL_213.gif"

"AbbasiN_FINAL_214.gif"

Now plug in all the above into the power series trial  solution

"AbbasiN_FINAL_215.gif"

"AbbasiN_FINAL_216.gif"

"AbbasiN_FINAL_217.gif"

"AbbasiN_FINAL_218.gif"

To make it a little easier, let me just remove the a[0] term out of the way for now

"AbbasiN_FINAL_219.gif"

"AbbasiN_FINAL_220.gif"

So now, the above is my main object to examine. I need the above series in x to TERMINATE. Here I am only looking at 4 terms because that is what I tried, but more terms can be added. But these are enough to see the pattern.The point is that we want to find the conditions which causes this series to terminate. Use collect to see it better

"AbbasiN_FINAL_221.gif"

"AbbasiN_FINAL_222.gif"

"AbbasiN_FINAL_223.gif"

"AbbasiN_FINAL_224.gif"

"AbbasiN_FINAL_225.gif"

"AbbasiN_FINAL_226.gif"

"AbbasiN_FINAL_227.gif"

"AbbasiN_FINAL_228.gif"

Ok, the pattern is clear now.

From the above we see the following. If λ=1, then that will remove the "AbbasiN_FINAL_229.gif"' term due to the (-1+λ) factor , and it will also remove all the terms in higher power of x after that, since we see that there is a factor (-1+λ) in each term after that. Hence λ=1 is a good eigenvalue in that it gives us a terminating series in x.

For λ=2, see the same pattern results. It will make the "AbbasiN_FINAL_230.gif"term vanish due it having a (-2+λ) in it. And all higher terms will all vanish as well since each of them has a (-2+λ) factor.

Hence we see that only for λ an integer will the series terminate, giving a polynomial solution. We continue this way.

So for λ=0, the solution is "AbbasiN_FINAL_231.gif"(1)
So for λ=1, the solution is "AbbasiN_FINAL_232.gif"(1-x)
For λ=2, the solution is "AbbasiN_FINAL_233.gif"
For λ=3, the solution is

"AbbasiN_FINAL_234.gif"

"AbbasiN_FINAL_235.gif"

Etc.....

Let "AbbasiN_FINAL_236.gif" (since free parameter), I get


So for λ=0, the solution is 1
So for λ=1, the solution is (1-x)
For λ=2, the solution is "AbbasiN_FINAL_237.gif"
For λ=3, the solution is "AbbasiN_FINAL_238.gif"

This completes the solution. Hence only for

                                         λ=0,1,2,....
                                         
will we get a polynomial solution in x. (for λ=0 it is a constant solution=1).

Note that we rejected non-integer λ values since these will not terminate the series. Also negative λ will not terminate the series.

Btw, it is possible to first see what type of power series solution for this ODE one can expect. The above ODE can be written in the form

                    "AbbasiN_FINAL_239.gif"

Now look at the functions that go with each coef. above. We see the coefficients functions are:   "AbbasiN_FINAL_240.gif","AbbasiN_FINAL_241.gif" and these are clearly not analytic at x=0, they blow up. Hence a series solution around x=0 can not be ordinary. It can be only regular singular or irregular singular.

If we multiply each coeff. function by (x-x0) or by x since we are expanding around x0=0, then we can remove all of the poles.

Hence all of the coeff. functions become analytic.

Hence the series solution is considered a regular singular.

By Frobenius theorem, for a regular singular point, it guarantees the existence of a least one (or possible two) solutions of the form  "AbbasiN_FINAL_242.gif"where "AbbasiN_FINAL_243.gif" not necessarily integer. This is the solution found above.

In addition it says, if there is only one solution of this form, the second solution must be of the form "AbbasiN_FINAL_244.gif"where "AbbasiN_FINAL_245.gif"are roots to a quadratic equation called the indicial equation. I do not need to consider this second case, since the first solution "AbbasiN_FINAL_246.gif" gives us the conditions on λ we are asked to find.

13.  The force on a particle with charge q and mass m is given by the familiar formula F=q(E+v×B). Consider the case of a particle of mass m and charge q starting from rest at the origin in a region of space with a constant B field in the z direction and a constant E field in the x direction.
a) Use dimensional analysis to determine the characteristic length, time and energy in this problem.

"AbbasiN_FINAL_247.gif"

"AbbasiN_FINAL_248.gif"

Now start doing dimensional analysis to find the length scale of the problem (distance from the origin at some future time t). i.e. we are asking the question:

What does the distance away from the origin that the particle will be  some time t depends on?

This distance must depend on how strong the magnetic field B is, and on how strong E is, and on the mass of the particle, and on the amount of electric charge on the particle, and on the velocity of the particle. Hence we write

"AbbasiN_FINAL_249.gif"

"AbbasiN_FINAL_250.gif"

What possible combination can give us a length variable out of the above parameters? use dimanal[]

"AbbasiN_FINAL_251.gif"

"AbbasiN_FINAL_252.gif"

Verify the above answer

"AbbasiN_FINAL_253.gif"

"AbbasiN_FINAL_254.gif"

Hence the length scale is given by
                                           "AbbasiN_FINAL_255.gif")"AbbasiN_FINAL_256.gif"
where "AbbasiN_FINAL_257.gif") is a constant (non-dimensional factor)  i.e

                                         length ~ "AbbasiN_FINAL_258.gif"
                                         
To find what is the length is proportional to, I need to use some physical values. Assume the particle is an electron, we know the mass m and the charge q. For E and B,

Now find a characteristic time

"AbbasiN_FINAL_259.gif"

"AbbasiN_FINAL_260.gif"

Find characteristic energy

"AbbasiN_FINAL_261.gif"

"AbbasiN_FINAL_262.gif"

b)  Find the analytic solution to the equations of motion. What is the period of the motion? What is the maximum and minimum values of the kinetic energy of the particle as a function of time? Comment on how these quantities are related to the characteristic values found in part a.

"AbbasiN_FINAL_263.gif"

"AbbasiN_FINAL_264.gif"

"AbbasiN_FINAL_265.gif"

"AbbasiN_FINAL_266.gif"

"AbbasiN_FINAL_267.gif"

Now since we are told that E is constant and along the x direction only, we set the electric field vector coordinates that way. Also since we are told that the magnetic field B is constant and along the z direction, we set its coordinates to point that way as well.

"AbbasiN_FINAL_268.gif"

"AbbasiN_FINAL_269.gif"

Declare a position vector

"AbbasiN_FINAL_270.gif"

"AbbasiN_FINAL_271.gif"

Declare the ODE using F=ma

"AbbasiN_FINAL_272.gif"

"AbbasiN_FINAL_273.gif"

"AbbasiN_FINAL_274.gif"

"AbbasiN_FINAL_275.gif"

"AbbasiN_FINAL_276.gif"

"AbbasiN_FINAL_277.gif"

"AbbasiN_FINAL_278.gif"

"AbbasiN_FINAL_279.gif"

Find the period.
From above we see that the x component of the position contains a frequency ω = bz q/m. Hence the period is "AbbasiN_FINAL_280.gif"

Verify the units

"AbbasiN_FINAL_281.gif"

"AbbasiN_FINAL_282.gif"

For the motion along the y axis, the period is also given by the same value above

Find K.E.

"AbbasiN_FINAL_283.gif"

"AbbasiN_FINAL_284.gif"

"AbbasiN_FINAL_285.gif"

"AbbasiN_FINAL_286.gif"

"AbbasiN_FINAL_287.gif"

"AbbasiN_FINAL_288.gif"

"AbbasiN_FINAL_289.gif"

"AbbasiN_FINAL_290.gif"

"AbbasiN_FINAL_291.gif"

"AbbasiN_FINAL_292.gif"

The above is zero when "AbbasiN_FINAL_293.gif"=0, which means "AbbasiN_FINAL_294.gif"=nπ for n=0,1,2,3,...
n=0 means t=0, then K.E. is minimum because then KE=0 (initial condition, particle is still at rest)
look at the next value. When n=1 then "AbbasiN_FINAL_295.gif"then KE is

"AbbasiN_FINAL_296.gif"

"AbbasiN_FINAL_297.gif"

When n=2 then "AbbasiN_FINAL_298.gif" find what is KE now

"AbbasiN_FINAL_299.gif"

"AbbasiN_FINAL_300.gif"

Hence we see that for n=1,3,5,7,....KE is max, and when n=0,2,4,6,... KE is min.

hence MAX KE is "AbbasiN_FINAL_301.gif"which occurs at times t= n "AbbasiN_FINAL_302.gif" for ODD n

and MIN KE is 0 which occurs at times t=n "AbbasiN_FINAL_303.gif" for EVEN n

Now  I  Comment on how these quantities are related to the characteristic values found in part a.
From part (a) we found that the energy is proportional to "AbbasiN_FINAL_304.gif" and here we just found the maximum KE is "AbbasiN_FINAL_305.gif", Hence this agree with the finding for the KE energy part with a proportionality constant of 2.

In part(a) we found the time scale to be proportional to "AbbasiN_FINAL_306.gif"and here we found the period to be "AbbasiN_FINAL_307.gif"which agree with part (a), and the proportionality constant is 2 π

In part(a) we found the length scale to be "AbbasiN_FINAL_308.gif", and here we found the period to be "AbbasiN_FINAL_309.gif", and since the velocity is as shown above, I can find the distance travelled during one period, and this is taken as the length scale. Let me find this distance now:

"AbbasiN_FINAL_310.gif"

"AbbasiN_FINAL_311.gif"

The stuff under the square root above can be written as K "AbbasiN_FINAL_312.gif" for some constant K, hence the distance above can be written as

"AbbasiN_FINAL_313.gif" which is

                              "AbbasiN_FINAL_314.gif"

Where "AbbasiN_FINAL_315.gif"is a new constant which consumed (k "AbbasiN_FINAL_316.gif"π)

Comparing the above expression for the distance, we see it agrees which part (a), where the proportionality constant is "AbbasiN_FINAL_317.gif"

c) For the special case of a proton in an E field of 1000 Volts/meter and a B field of 0.1 Tesla, draw a graph of the trajectory of the particle.

First check what the period is now that we have some numbers to work with

"AbbasiN_FINAL_318.gif"

"AbbasiN_FINAL_319.gif"

"AbbasiN_FINAL_320.gif"

"AbbasiN_FINAL_321.gif"

Hence period is (in seconds):

"AbbasiN_FINAL_322.gif"

"AbbasiN_FINAL_323.gif"

Now generate plot points to make a plot of the trajectory of the particle

"AbbasiN_FINAL_324.gif"

"AbbasiN_FINAL_325.gif"

"AbbasiN_FINAL_326.gif"

"AbbasiN_FINAL_327.gif"

"AbbasiN_FINAL_328.gif"

"AbbasiN_FINAL_329.gif"

"AbbasiN_FINAL_330.gif"

This plot is tricky, I make another plot with longer time intervals, it shows the periods better

"AbbasiN_FINAL_331.gif"

"AbbasiN_FINAL_332.gif"

14. (grads) Let y[x] be a curve with endpoints symmetrically positioned about the y axis.  Consider the surface area of the surface generated by rotating y[x] about the x axis to make a surface of revolution.  Find the y[x] which yields the surface of minimum area. This is the shape adopted by a soap film supported by two circular hoops; the soap film  minimizes its surface area because there is an energetic cost per unit of area of film.

"AbbasiN_FINAL_333.gif"

a) Write an expression for the surface area in terms of an integral.

Imagine a thin strip all the way around. This strip will have differential width of


"AbbasiN_FINAL_334.gif"

ds = "AbbasiN_FINAL_335.gif"

Hence the strip will have an differential area of

dA= circumference * ds = 2π*y[x] * "AbbasiN_FINAL_336.gif"

Now assume x goes from -1 to +1. (or we can write -L to +L, it does not matter). Now, due to symmetry, we integrate from x=0 to 1 and multiply by 2.

Hence the area A= 2"AbbasiN_FINAL_337.gif"

But "AbbasiN_FINAL_338.gif"="AbbasiN_FINAL_339.gif" dy
OR
"AbbasiN_FINAL_340.gif"="AbbasiN_FINAL_341.gif" dx

I will pick the First form above.

Hence substitute the above into the area integral A we get

                                        A= 4π"AbbasiN_FINAL_342.gif"dy

b) Find the Euler equation for the extremal curves.

"AbbasiN_FINAL_343.gif"

"AbbasiN_FINAL_344.gif"

Minimizing A leads to the Euler equation (which comes from writing the function we want to minimize as F(y,x,x'[y]), and it leads to the euler equation which is

                                                "AbbasiN_FINAL_345.gif"

"AbbasiN_FINAL_346.gif"

"AbbasiN_FINAL_347.gif"

"AbbasiN_FINAL_348.gif"

"AbbasiN_FINAL_349.gif"

Look at the last term above

"AbbasiN_FINAL_350.gif"

"AbbasiN_FINAL_351.gif"

Hence eulerEquation becomes now just the first term, which is

"AbbasiN_FINAL_352.gif"

"AbbasiN_FINAL_353.gif"

"AbbasiN_FINAL_354.gif"

"AbbasiN_FINAL_355.gif"

"AbbasiN_FINAL_356.gif"

c)Solve the resulting DE and look for solutions which are symmetric about the y axis. Show that the solutions are of the form A Cosh[b x] .

Square both sides above, we get

"AbbasiN_FINAL_357.gif""AbbasiN_FINAL_358.gif"

"AbbasiN_FINAL_359.gif""AbbasiN_FINAL_360.gif"

"AbbasiN_FINAL_361.gif"

Hence

"AbbasiN_FINAL_362.gif"

"AbbasiN_FINAL_363.gif"

"AbbasiN_FINAL_364.gif"

I need to convert the above to Cosh. I do not know how to make Mathematica do it, so searching the Tables reference Handbooks I found the following trig. Relationship

                       ArcCosh(Z) = Log( Z + "AbbasiN_FINAL_365.gif"
                       
Hence in the solution I have above, I can rewrite it as follows to convert things to Cosh as needed by this problem

"AbbasiN_FINAL_366.gif"

"AbbasiN_FINAL_367.gif"

Rewrite as follows

"AbbasiN_FINAL_368.gif"

or

"AbbasiN_FINAL_369.gif"

But Log[A*B] = some constant * Log[B] so above becomes

"AbbasiN_FINAL_370.gif"

"AbbasiN_FINAL_371.gif"

"AbbasiN_FINAL_372.gif"

Hence, let C[1]=K1, we write the above as

"AbbasiN_FINAL_373.gif"

Hence

"AbbasiN_FINAL_374.gif"

or

"AbbasiN_FINAL_375.gif"Cosh"AbbasiN_FINAL_376.gif"

hence

                                               y[x] = K "AbbasiN_FINAL_377.gif"
                                               
Now Plot it, assume some constants

"AbbasiN_FINAL_378.gif"

by trial and error, for {k→1,k1→0} I get the symmeterial picture I needed. For different constants, the plots are shifted to left or right.

"AbbasiN_FINAL_379.gif"

"AbbasiN_FINAL_380.gif"

"AbbasiN_FINAL_381.gif"

"AbbasiN_FINAL_382.gif"

15.(grads) Quantum tunneling is one of the characteristic non-intuitive  phenomena of quantum mechanics. Consider a beam of particles of unit density traveling to the right, represented by "AbbasiN_FINAL_383.gif" , as shown in the figure below. The beam encounters a region of space where the potential energy is V0. For a classical particle, if the incident kinetic energy Ein="AbbasiN_FINAL_384.gif"<V0 the particle would reflect off the barrier, while if "AbbasiN_FINAL_385.gif">V0 , the particle would pass through. For a quantum particle, some fraction of the beam is reflected, as represented by the R "AbbasiN_FINAL_386.gif"  term, and some fraction is transmitted, as represented by the T "AbbasiN_FINAL_387.gif" term.  

"AbbasiN_FINAL_388.gif"

I wish I have time to attempt this problem as it looks interesting but I have not yet started on HW9 which is due in 2 days, I better start on that now.

The Schrodinger equation that governs this problem inside the barrier is

"AbbasiN_FINAL_389.gif"

"AbbasiN_FINAL_390.gif"

and outside:

"AbbasiN_FINAL_391.gif"

"AbbasiN_FINAL_392.gif"

T is the transmission amplitude. The object of primary interest in this problem is the behavior of the transmission probability given by "AbbasiN_FINAL_393.gif"  as a function of the initial energy Ein="AbbasiN_FINAL_394.gif". Graphs of the transmission probability as a function of energy are shown in most quantum books, but the algebra required to construct the plot is not trivial.

a) Using k as the primary variable as suggested in the Figure above, write down solutions in each of the three regions. The central region will involve 2 unknown parameters. Invoke the requirement that the solutions must be continuous and have continuous first derivative at the boundaries of the regions. Use this to solve for all of the unknown parameters.

b) What are the natural units of length and energy for this problem? Also identify any dimensionless parameters.

c) Express T as found in part a) in terms of Ein rather than k.

d) Using the characteristic energy found in b) , express T in terms of a reduced dimensionless energy Er

e) T(Er)  still contains a and V0. Eliminate these using the dimensionless parameter found in b) . When this is done, you should have the transmission amplitude as a function of strictly dimensionless quantities. Note that this implies that the transmission amplitude is not a function of a and V0 separately, but only a special dimensionless combination of them.

d) Make a plot of Abs[T]^2 as a function of the reduced energy for values of the dimensionless parameter=4, 1, 1/4 .

e) extra credit. Find a compact expression for "AbbasiN_FINAL_395.gif" . Simply computing this using ComplexExpand and Conjugate yields a rather complicated expression containing  Arg or ArcTan which are necessary to specify the signs of various parameters. Judicious rules to deal with these terms will yield a pleasant expression. Compare plots of this expression with those you made d).


Created by Wolfram Mathematica 6.0 for Students - Personal Use Only  (24 February 2008) Valid XHTML 1.1!