Posted: September 7th, 2015

Circuit Analysis :maths using Matlab

: Circuit Analysis
Consider a circuit with an input voltage, a resistor, an inductor and TWO capacitors,
as shown in figure 2.
• For a general input voltage Vin formulate a system of 3 ODEs that describes
the behaviour of voltages and the current in the circuit.
• Setting R = 2, C1 = 3, C2 = 4, L = 1 numerically solve the ODE system, for
an input voltage Vin = 12e
−0.5t
(Include a plot).
• Are the voltages across the two capacitors different? Explain your answer.
• Solve the system with an inductance that is ten times higher (include a plot).
How does the behaviour change? Explain why.
• Include a copy of the MATLAB code used.
• Limit the assessment to TWO A4 sized pages, using 12pt font, and margins
no smaller than 1 inch. The document should be formatted as a
PDF file. The plots may go on a separate page if you run out of space.
Circuit Analysis
Consider a circuit with an input voltage, a resistor, and a capacitor, as shown in
figure 1.
• Imagine that the input voltage initially has size 12 volts at t = 0. At t = 10 it
drops down to a value of 5 volts, which it then maintains indefinitely. Setting
R = 3 and C = 2 formulate an ODE that describes the voltage across the
capacitor over time.
• Solve the ODE using Laplace Transforms.
• Include a plot of the solution.
• What would you expect to happen to the system behavior if you increased
C? (You don’t need to re-solve, just explain your answer).
• Limit the assessment to TWO A4 sized pages, using 12pt font, and margins
no smaller than 1 inch. The document should be formatted as a
PDF file.
Throughout the workshop we discussed multiple types of control structures, on
their own. For this assessment we will be combining while and if control structures
together.
• Write a pseudocode (pen and paper) algorithm that solves the ODE y
0 =
f(t, y) using Euler’s method.
• Convert this algorithm into MATLAB syntax, as the function euler method .
• Your inputs should be the start time t0, the end time tend, the function f, an
initial condition y0 and an initial step size h.
• If h × f(t, y) at any point exceeds 1, your function should halve the step size
h.
• Equally, if h×f(t, y) at any point drops below 0.01, your function should double
the step size h.
• You should also make sure that the final solution step doesn’t ‘overshoot’
tend. (i.e. change h during the final step to exactly reach tend).
• Your MATLAB code should use the function header below, and be well-commented
with a sensible layout.
• Include your pseudocode algorithm, as well as the MATLAB code. Also include
a discussion of when the could could break, or give incorrect outputs
(you DO NOT need to design your code to avoid these).
• Limit the assessment to TWO A4 sized pages, using 12pt font, and margins
no smaller than 1 inch. The document should be formatted as a
PDF file.

Place your order now for a similar paper and have exceptional work written by our team of experts to guarantee you A Results

Why Choose US

6+ years experience on custom writing
80% Return Client
Urgent 2 Hrs Delivery
Your Privacy Guaranteed
Unlimited Free Revisions

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Live Chat+1-631-333-0101EmailWhatsApp