Homework 01
Homework 01
Homework 1
Due Fri, Feb 10, 5PM Fall 2017
Note: You may need to review your long forgotten course Differential Equations.
Problem 1
Any quadratic equation with real and constant coefficients
f (x) = ax2 + bx + c,
f (x) = x2 10x 2,
y = mx + c,
(b) Solve first order differential equation from earlier part if R1 = R2 = 0.5 , C = 1 F and
Vs = 0 V with initial condition vc (0) = 1 V. When there is no driving force acting on the
system, solution of differential equation is called natural response of the system. (Hint:
This is a first order homogeneous equation.)
(c) Solve above part with initial condition of vc (0) = 0 V.
(d) Sketch the graph of natural response of the system for both part (b) and part (c) for
t 0.
(e) Numerical methods are used to approximate solution of a differential equation. One such
method is called Eulers method that was discussed in class. According to Eulers method,
a first order differential equation like,
dy
= f (t, y)
dt
Solution y(t) can be approximated by,
yn+1 = yn + tf (tn , yn )
Problem 3
Figure 2 shows a simple spring mass system with mass m, stiffness constant k and a damper
with damping coefficient b. At the moment, mass m is at its equilibrium position but it can
be pulled right or left causing an expansion or compression in the spring. We can model this
system with an equation like following (you will learn about modeling in the next class),
d2 x dx
m +b + kx = F (t)
dt2 dt
where F (t) is forced applied on mass. Use m = 2 kg, and k = 8 Nm1 for the following parts.
(a) Suppose that at time zero, mass m was at position 1, i.e. x(0) = 1. Find solution of the
differential equation using b = 10 kgs1 . Also sketch plot of the x(t) for t 0 .
(b) Solve part (a) for b = 8 kgs1 and sketch the graph.
(c) Solve part (a) for b = 4 kgs1 and sketch the graph.
(d) What will happen if we remove the damper of the system? (Hint: Think what happens
to the response of system when there is no damping.)
(e) Solve part (a) for b = 0 kgs1 and sketch the graph.
(f) Find impulse and step response of the system. (Hint: Solve differential equation with
F (t) being impulse and step function.)
(g) Response of the system without applying a force is called natural response of the system.
When we apply external force, response of the system become forced response. Total
response of a system with external force applied is sum of both natural and forced response
if system is linear.
Find the forced response of the system if external applied force is F (t) = 3 cos(t) + sin(t).
Also sketch of forced, natural and total response of the system graph. Take values from
part (a) of the question. (Hint: System is linear.)