
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Due Friday April 18th, 6pm
Use Mathematica to solve all parts of the three problems
Vectors, Lists and Matrices Problem 1. Consider the circuit shown in the figure. The equations for the currents I 1 , I 2 , I 3 in a circuit are given by,
V 1 − I 1 R 1 − I 2 R 2 = 0
V 1 − V 2 − I 1 R 1 − I 3 R 3 = 0 I 1 − I 2 − I 3 = 0
where V 1 and V 2 are applied voltages and R 1 , R 2 , R 3 are resistances. Write these three equations as a matrix equation and use Mathematica to find the currents I 1 , I 2 , I 3 as a function of the applied voltages and the resistances. Check that your code is correct by setting V 2 = 0, R 1 = 0, R 2 = R 3 and solving the equations by hand. What are the currents for the particular case V 1 = 1, V 2 = 4, R 1 = 1, R 2 = 10, R 3 = 4?
Ordinary differential equations and plotting Problem 2. A mass(m = 1kg), spring(k = 1N/m) system hangs verti- cally at equilibrium in Earth’s gravity. It is driven vertically by a periodic force acos(ωt) where a = .25 and it experiences a damping of −b~v, where b = 0.1. Consider a small amplitude initial displacement of 0.25 and ini- tial velocity of zero. Solve the linear differential equation for this problem. (x′′(t) + bx′(t) + x(t) = asin(ωt)). Plot x(t) for ω = 0. 1 , ω = 1, ω = 10. This is a damped driven oscillator which has a surprisingly rich behavior and is used to model many dynamical systems.
Partial differential equations and Plotting Problem 3. Confirm that the travelling soliton
ρ(x, t) = 3cSech^2 [c^1 /^2 (x − ct)/2]
solves the kdV equation given by,
∂ρ(x, t) ∂t
∂^3 ρ(x, t) ∂x^3
∂ρ(x, t) ∂x
provided that c > 0. For c = 1, t = 0 plot ρ(x, t) as a function of x for the x-range − 10 < x < 10. What is the velocity of the soliton? Solitons play an important role in studies of non-linear process in physics, engineering and biology. For example solitons in the kdV equation provide a simple model for a Tsunami.