Professional Documents
Culture Documents
FinalExam Phys115
FinalExam Phys115
Physics 115
Spring 2017
Final Exam
Due online Wednesday, June 14 at 11:59 PM
Because this is the final exam for the course, I need to see your own work.
No collaboration with other students is allowed.
You may use your notes, books, and online references to answer the 4 problems.
1. Electrostatic Potential
A square region in the x, y plane is painted with a uniform charge density ρ. (For
simplicity, let’s take ρ = 4πe0 .) The square region covers −1 ≤ x < 1 and −1 ≤ y <
1.
The electrostatic potential at an arbitrary point x p , y p outside the square region is
given by
Z 1 Z 1
ρ dx dy
Φ( x p , y p ) = q
4πe0 −1 −1 ( x − x )2 + (y − y )2
p p
2. Differential equations
(a) Calculate the value of φ( x ) for the points in the interval [0, 1]. Adjust your
algorithm so that the tolerance is 10−4 .
(b) Adopt the Successive Over-Relaxation technique to speed up the convergence.
1
3. Quantum energies
(a) Plot V ( x ).
(b) Use the shooting method to determine the three lowest energy levels and plot
the corresponding normalized wavefunctions.
4. Vibrating String
Even though the equation of a vibrating string (with length L, linear mass density
µ( x ), and tension T) is a partial differential equation
∂2 u( x, t) T ∂2 u( x, t)
=
∂t2 µ( x ) ∂x2
1 T d2 y 1 d2 τ
=
y( x ) µ( x ) dx2 τ (t) dt2
(a) Use the shooting method with the boundary conditions (y( x ) = 0 on the ends
of the string) to find the lowest frequency of the string and plot the eigenfunc-
tion (shape). Take L = 1 m, m = 0.954 g, and T = 1000 N. Assume a constant
linear mass density µ0 for this part.
(b) Repeat the shooting method with a non-uniform µ( x ) = 0.954 g/m + x − L2 0.5 g/m2 .
Plot this eigenfunction (shape) and compare with the previous part.