(a) Chau’s electric circuit is a simple electronic circuit that can exhibit chaotic behaviour. The voltages...

90.2K

Verified Solution

Question

Electrical Engineering

(a) Chau’s electric circuit is a simple electronic circuit thatcan exhibit chaotic behaviour. The voltages x(t) and y(t), andcurrent z(t), across components in the circuit can be investigatedusing the Matlab command

[t,xyz] = ode45(@ChuaFunction,[-10 100],[0.7 0.2 0.3]);

and the function:

1 function dxyzdt = ChuaFunction(~,xyz)

2 % xyz(1) = X, xyz(2) = Y, xyz(3) = Z

3 4 dxdt = 15.6*(xyz(2) - xyz(1) + 2*tanh(xyz(1)));

5 dydt = xyz(1) - xyz(2) + xyz(3);

6 dzdt = -28*xyz(2); 7

8 dxyzdt = [dxdt dydt dzdt]’;

9 end

(i) What is the differential equation involving xË™(t)? Here adot represents differentiation with respect to time t.

(ii) What is the initial condition for the variable y(t)?

(iii) What does the apostrophe after the square brackets in line8 of the function signify and why is the apostrophe neededhere?

(b) For a given function u(t), explain how the derivative ofu(t) with respect to t can be approximated on a uniform grid withgrid spacing ∆t, using the one-sided forward differenceapproximation

du/dt ≈ Ui+1 − Ui/ ∆t ,

where ui = u(ti). You should include a suitable diagramexplaining your answer

(c) Using the one-sided forward difference approximation frompart (b) and Euler’s method, calculate the approximate solution tothe initial value problem

du/dt + t cos(u) = 0, subject to u(0) = −0.2,

at t = 0.4, on a uniform grid with spacing ∆t = 0.1.

Answer & Explanation Solved by verified expert
4.1 Ratings (615 Votes)
ai In ChuaFunction dxyzdt dxdt dydt dzdt is the vectorcontaining derivatives of x y and z respectivelydxdt is the derivative of x It is defined in line 4 of thefunction codext 156xyz2 xyz1 2tanhxyz1ii MATLAB function ode45 is used to solve differentialequationsGeneral syntax ty    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students