Physics 229& 100 Homework #3
Name: Nasser Abbasi
1.a) Show that , where z=x+i y, is analytic, i.e. it satisfies the Cauchy-Riemann conditions.
b) Many familiar functions are not analytic. Show that the functions Conjugate[z] and Abs[z] do not satisfy the Cauchy Riemann conditions.
2
A 1D wave function is of the form ψ=A +B
a) find the probability density ψ, assuming that A, B and k are real.
b) find the probability density ψ, assuming that k is real but A and B are complex
c) find the particle current density, which is given by ()(ψ∇-∇ψ), assuming that A,B and k are real.( in 1D ∇ is simply )
3. Complex numbers occur naturally in circuit theory. Recall that the impedance of an inductor is IωL and the impedance of a capacitor is 1/(I ω C) , and that V=I Z. Consider the following circuit, where Vin is a unit magnitude sinusoidal input .
a) Find the symbolic expression for the ratio Vout/Vin.
Calculating the current:
Use the series RLC Z law, which says that total impedence = , then current=
b) Vr=Vout/Vin is a complex quantity. Find an expression for the magnitude of Vr in terms of L,R,C. The magnitude of Vr has a maximum at a certain frequency . What is in terms of R,L,C?
Now to find where mag is maximum. The above is maximum when the denominator is zero.
Now find Maximum Frequency
c) For the values L=0.2, C=, R=50, make a plot of the magnitude of Vr as a function of ω over the physically relevant range.
d) Make a plot of the argument of Vr as a function of frequency for the same parameter values.
4. Consider the function of a complex variable z given by f(z)= .
Calculate f(z) dz , for the paths C1 and C2 shown in the figure. Do you expect them to be the same?
a) first do the integrals along C1 and C2 numerically. See numerical contour integrals.
The answer is not the same, since the function f(z) is not analytical over the closed region, as there is a pole inside the rectangular area.
b) Now calculate each integral analytically. Do this by setting z=x+i y , dz=dx+i dy, and expanding f(z) dz into terms which depend only on the real variables x and y. The path will determine the values of x,y,dx,dy along it.
5. Consider the integral dx
a) Find the value using the Integrate command.
b) Locate the poles (the places where the function blows up).
c) Find the residues of the function at the poles in the upper half plane using Residue.
d) Find the residues of the function at the poles in the upper half plane by doing a series expansion around the poles using Series. The residues are the coefficients of 1/(x-)
e) Calculate the integral using the fact that it equals 2πi ( sum of residues). Conclude that a) was much easier than b+d+e
Answer using part(a) method was simpler since we did not have to determine the poles, followed by the residues around the poles which will be inside the region of integration (we also had which poles to pick).
6. Here is a list of complex numbers.
a) Produce a list with real and imaginary parts of each element exchanged. Use a pattern.
b) In one line of code, produce a list of the elements of cnum which have negative imaginary parts. Use Select and a pure function.
c) Here is a longer list of complex numbers. Note the ; at the end, so it is not printed out. In one line of code, count the number of elements whose magnitude is greater than 1/2.
7 Here is a list which represents data in {x,y,z} triplets. In a single line of code, produce a plot of 1/x versus Log[z].
8 a) The list rth contains the {r,θ} values for a number of points in the plane. In one line of code, convert the list into a list of the {x,y} coordinates of the points. Use a pattern.
b) rvec is a list of vectors. In one line of code, convert it into a list of normalized vectors. Use Map and a pure function.
9. The following table is a list of the positions of a ball that has been thrown in the air.
Construct a picture which shows a circle of radius of 0.1 at each of these locations. Use Circle, Graphics and Show and Map and a pure function.
10.(grads) Here is a list of harmonic oscillator wave functions:
Please note: I am not signed for the graduate course, but making an attempt to solve this.
Show that they are properly normalized. Use Map and a pure function.
11 (grads)
a) Using Residues to compute an integral that Mathematica gets wrong. Consider the integral Cos[ x-Sin[x]]dx . Use Integrate to compute the integral.
b) Now do the integral numerically and convince yourself that the analytic answer (in Version≤ 5.2) is wrong.
c) Show that the integral of around the unit circle is related to the integral in part a). Use the residue theorem applied to this relation to compute the value of the integral.
Note answer matches part (a)
Created by Mathematica (January 27, 2007) |