Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Question 1. (a) What is the period of the forced oscillation? What is the numerical value (modulo 2Π) of the angle α defined by?

(b) In this question you are asked to modify the file LAB06ex1.m in order to plot the complementary solution of (L6.1), that is, the first term in (L6.2). First define in the file the angle α (alpha) using (L6.4), then evaluate the complementary solution yc by subtracting the quantity C cos(ωt - α) from the numerical solution y. Plot the resulting quantity. Does it look like an exponentially decreasing oscillation?

Why or why not? Include the modified M-file and the corresponding plot.

Question 2. We now consider C as a function of ω. We use again ω0 = 2, c = 1 and y(0) = y′(0) = 0. The previous problem determined C for a specific value of ω. Here we consider a range of values for ω and determine numerically the corresponding amplitude C. We then plot the result as a function of ω, together with the theoretical amplitude from (L6.3). You may need the following MATLAB program.

function LAB06ex2 omega0 = 2; c = 1;
OMEGA = 1:0.02:3;
C = zeros(size(OMEGA)); Ctheory = zeros(size(OMEGA));
t0 = 0; y0 = 0; v0 = 0; Y0 = [y0;v0]; tf = 50; t1 = 25;
for k = 1:length(OMEGA) omega = OMEGA(k);
param = [omega0,c,omega];
[t,Y] = ode45(@f,[t0,tf],Y0,[],param);

i = find(t>t1);
C(k) = (max(Y(i,1))-min(Y(i,1)))/2;
Ctheory(k) = ??; %FILL-IN
end figure(2)
plot(??); grid on; %FILL-IN
xlabel('\omega'); ylabel('C');
---------------------------------------------------------
function dYdt = f(t,Y,param) y = Y(1); v = Y(2);
omega0 = param(1); c = param(2); omega = param(3);

dYdt = [ v ; cos(omega*t)-omega0^2*y-c*v ];

(a) Fill in the missing parts in the M-file LAB06ex2.m and execute it. You should get a figure like Figure L6b. Include the modified M-file in your lab report.

(b) Examine the graph obtained by running LAB06ex2.m and determine for what (approximate) value of ω the amplitude of the forced oscillation, C, is maximal. This value of ω is called the practical resonance frequency. Give the corresponding maximum value of C.

(c) Determine analytically the value of ω for which the amplitude of the forced oscillation, C, is maximal by di?erentiating the expression for C in (L6.3) as a function of ω. Compare the value you find with the value obtained in part (b).

(d) Run LAB06ex1.m with the value of ω found in part (c) (include the graph). What is the amplitude of the forced oscillation? How does it compare with the amplitude of the forced oscillation in problem 1.? If you run LAB06ex1.m with any other value of ω, how do you expect the amplitude of the solution to be?

(e) Are the results a?ected by changes in the initial conditions? Answer this question both nu- merically (by modifying the initial conditions in LAB06ex2.m) and theoretically (by analyzing the expression for C in (L6.3)). Note that the initial conditions for the DE are y0 and v0.

Question 3. Set c = 0 in LAB06ex2.m.

2010_Figure.jpg

(a) Explain what happens. What is the maximal amplitude? What is the value of ω yielding the maximal amplitude in the forced solution? How does this value compare to ω0?

(b) Run LAB06ex1.m with c = 0 and ω equal to the value found in part (a). Comment on the behavior of the solution. Include the graph.

Question 4. To see the beats phenomenon, set c = 0 and ω = 1.8 in LAB06ex1. Also extend the interval of simulation to 100.

840_Figure1.jpg

(a) In LAB06ex1 define the "envelope" function A = 2C sin ( 1/2(ω0 - ω)t) with C = 1/|ω02 - ω2|.

Plot A in red and -A in green, together with the solution. You should obtain Figure L6c. Include the modified M-file.

2324_Figure2.jpg

(b) What is the period of the fast oscillation (that is, the period of sin ( 1/2(ω0 + ω)t))? Confirm your answer by zooming in on the graph of the solution. Include a graph to support your answer.

(c) What is the length of the beats? Determine the length analytically using the envelope func- tions, and numerically from the graph.

(d) Change the value of ω in LAB06ex1 to 1.9 (a value closer to ω0) and then ω = 1.6 ( a value farther away from ω0). Include the two graphs. For each of these two values of ω find the period of the fast oscillation and the length of the beats. How do the periods change compared to parts (b) and (c)?

(e) If you let ω = 0.5, is the beats phenomenon still present? Why or why not?

Attachment:- Forced Equations and Resonance.pdf

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M92057903
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in MATLAB

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Lab assignment - matlab matrix relationallogical operators

Lab Assignment - MATLAB Matrix, Relational/Logical Operators and Plotting This laboratory exercise/assignment will involve you 1) practicing multiplication operators in MATLAB; 2) practicing relational and logical operat ...

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Suppose that you have used some concept learning algorithm

Suppose that you have used some concept learning algorithm to learn a hypothesis h1 from some training data. You are interested in knowing the accuracy that the hypothesis can be expected to achieve on the underlying pop ...

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Assignment details -need to write a code for connecting

Assignment Details - Need to write a code for connecting segments (Lines) a special case of TSP. The problem is to connect lines in 2d/ 3d space with path obstructions. Can you help me write the code for this? Hope you m ...

Recitation problems -1 determine the highest real root of

Recitation Problems - 1. Determine the highest real root of f(x) = 2x 3 - 11.7x 2 + 17.7x - 5 using the Newton-Raphson method with at least four iterations. Start with an initial guess of x 0 = 3. 2. Determine the real r ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As