Question

to and you 5. MATLAB can also solve second order equations symbolically using the Symbolic packages. The help page https://ww

QUESTION 6 please help

MATLAB

1 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.

clc

clear all

close all

format long

s={'w=2300','w=2350','w=2390'};

ct=1;

for w=[2300,2350,2390]

syms y(t) Dy(t)

figure;

Dy(t)=diff(y);

eq=diff(y,2)+2400^2*y==(2400-w)*2400*cos(w*t);

cond=[y(0)==0,Dy(0)==0];

y(t)=dsolve(eq,cond);

ezplot(y,[0,2]);

title(s{ct});

ct=ct+1;

end

HOME PLOTS APPS EDITOR PUE File Edit View Insert Tools Desktop Window Help LP Q Search Documentation La Find Files Insert E f

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
QUESTION 6 please help MATLAB to and you 5. MATLAB can also solve second order equations...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • QUESTION 5 please. 4. MATLAB can solve second order equations numerically, but it needs to convert...

    QUESTION 5 please. 4. MATLAB can solve second order equations numerically, but it needs to convert it to a sys- tem first. We haven't covered systems yet, but we can make use of them (entirely in MAT- LAB) to solve this problem. The help page https://www.mathworks.com/help/symbolic/ solve-differential-equation-numerically-1.html shows how to do this. Follow those steps to get the solution to day +9y = cos(3) dt2 y(0) = 0 v(0) = 0 Plot this and your solution from the previous part...

  • 4. MATLAB can solve second order equations numerically, but it needs to convert it to a...

    4. MATLAB can solve second order equations numerically, but it needs to convert it to a sys- tem first. We haven't covered systems yet, but we can make use of them (entirely in MAT- LAB) to solve this problem. The help page https://www.mathworks.com/help/symbolic/ solve-differential-equation-numerically-1.html shows how to do this. Follow those steps to get the solution to day +9y = cos(3) dt2 y(0) = 0 v(0) = 0 Plot this and your solution from the previous part on the same...

  • Differential Equations with MATLAB/Plotting first order differential equations in Matlab/ Differential Equations MATLAB/IVP Matlab/IVP I'd really...

    Differential Equations with MATLAB/Plotting first order differential equations in Matlab/ Differential Equations MATLAB/IVP Matlab/IVP I'd really appreciate if I can get some help plotting these 3 first order differential equations as well as their comments. PLEASE! ANYTHING HELPS, I am very stuck :( EZplot and ODE 45 were mentioned in class and the instructions in class were not clear at all. Given the first order differential equation with initial condition. dy/dt = y t, y(0)=-1 Complete problems 1-3 in one...

  • Question-2 The diff () command in MATLAB is only used for solving linear differentiational equations. Select one: True False Question-3 The diff () command in MATLAB can solve only up to third order d...

    Question-2 The diff () command in MATLAB is only used for solving linear differentiational equations. Select one: True False Question-3 The diff () command in MATLAB can solve only up to third order differentiational equation. Select one: True False Question-4 The symbolic variable must be defined in the MATLAB to use diff (), laplace and ilaplace commands. Select one: True False Question-5 The “s” is the pre-defined symbolic variable MATLAB variable for solving inverse Laplace in MATLAB. Select one: True...

  • USING MATLAB Please post code 1. Solve the 2nd order differential equation ?+89 +15y-sin(t), y(0)-1,?(0)-2 symbolically...

    USING MATLAB Please post code 1. Solve the 2nd order differential equation ?+89 +15y-sin(t), y(0)-1,?(0)-2 symbolically and numerically, and plot both results together over the time interval 0,10 sec. Provide appropriate labels on both axes, a title, and a legend that denotes each solution. Check your symbolic answer by using the Matlab DIFF function to compute the appropriate derivatives and then substituting them into the differential equation.

  • Need help using Matlab to solve differential equations, will rate! Thank You! a) The code used...

    Need help using Matlab to solve differential equations, will rate! Thank You! a) The code used to solve each problem b) The output form c) Use EZPLOT (where possible) to graph the result Use Matlab symbolic capabilities to solve the following Differential Equations: yy +36x = 0 3. ytky = e2kakis a constant y" +(x +1)y = ex'y' ;y(0) = 0.5 4 4y-20y'+25y = 0 xy-7x/+16y=0 xy-2xy'+2y=x' cos(x) yy =292 y-4y'+4y = (x + 1)e 2x

  • write MATLAB scripts to solve differential equations. Computing 1: ELE1053 Project 3E:Solving Differential Equations Project Principle...

    write MATLAB scripts to solve differential equations. Computing 1: ELE1053 Project 3E:Solving Differential Equations Project Principle Objective: Write MATLAB scripts to solve differential equations. Implementation: MatLab is an ideal environment for solving differential equations. Differential equations are a vital tool used by engineers to model, study and make predictions about the behavior of complex systems. It not only allows you to solve complex equations and systems of equations it also allows you to easily present the solutions in graphical form....

  • Problem #3: The Ralston method is a second-order method that can be used to solve an...

    Problem #3: The Ralston method is a second-order method that can be used to solve an initial-value, first-order ordinary differential equation. The algorithm is given below: 2 Yi+1 = yi + k +k2)h Where kı = f(ti,y;) 3 k2 = ft;+ -h, y; +-kih You are asked to do the following: 3.1 Following that given in Inclass activity #10a, develop a MATLAB function to implement the algorithm for any given function, the time span, and the initial value. 3.2 Use...

  • Problem #3: The Ralston method is a second-order method that can be used to solve an...

    Problem #3: The Ralston method is a second-order method that can be used to solve an initial-value, first-orde ordinary differential equation. The algorithm is given below: Vi#l=>: +($k+ş kz)h Where ky = f(ti,y:) * = f(mehr) You are asked to do the following: 3.1 Following that given in Inclass activity #10a, develop a MATLAB function to implement the algorithm for any given function, the time span, and the initial value. 3.2 Use your code to solve the following first-order ordinary...

  • This is Differential equations, please help me, solve and show step by step. MAT 204 Elementary...

    This is Differential equations, please help me, solve and show step by step. MAT 204 Elementary Differential Equations 1. A mass-spring-dashpot system is described by my" + cy' + ky = Fo coswt, see $3.6 Eq. (17). This second-order differential equation has been used in simulations, such as this one at the PhET site: https://phet.colorado.edu/en/simulation/legacy/resonance. = 48.6 N, and w will be For m = 2.53 kg, c = 0.502 N/(m/s), k 97.2 N/m, Fo = 97.2 x 0.5 N...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT