Question

*Use the equation below (from the notes) to calculate yc symbolically. Note that it is with respect to y. Rearrange the given

USE MATLAB CODE

0 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

syms x(y) h

x(y)=y^2+y+1;

yc=simplify(int(y*x,0,h)/int(x,0,h))

1 2 - 3 - 4 - 5 - 6 - 7 - clc clear all close all format long syms x(y) h x(y)=y^2+y+1; yc=simplify(int(y*x,0,h)/int(x,0,h))

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
USE MATLAB CODE *Use the equation below (from the notes) to calculate yc symbolically. Note that...
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
  • Use a MATLAB built-in solver to numerically solve: dy/dx = -yx^2 + 1.5y for 0 lessthanorequalto...

    Use a MATLAB built-in solver to numerically solve: dy/dx = -yx^2 + 1.5y for 0 lessthanorequalto x lessthanorequalto 3 with y(0) = 2 Make a plot of the numerical solution as a solid red line and the exact solution as green circles as shown. The exact solution is y = 2e^-(2x63 - 9x)/6 Use a MATLAB built-in function to numerically calculate the area of the solution. Use the text command to plot the area with 2-digits of precision as shown.

  • Use the attached Matlab code as a basis to solve the following ordinary differential equation usi...

    Question 1 QUESTION 2 Use the attached Matlab code as a basis to solve the following ordinary differential equation using Euler's method, with timestep of 0.1, from t-0to t-100. d)0) -0 - sin (5vt cos(у Plot y versus t from t=0 to t=100. How many local maxima are on this interval(do not include end points). Be careful to count them all! Answer should be an integer 1 w% Matlab code for the solution of Module 2 3 dt-9.1; %dt is...

  • I need a matlab code to answer the questions below ICE09B Make an Array Develop a...

    I need a matlab code to answer the questions below ICE09B Make an Array Develop a MATLAB code which will produce an array that looks like the following: 4 10 1. You must start with a blank array and build the array with a DNFL. You can NOT just load the array with an assignment statement. Hint: Use "addition" for your variables Square all values in the array 2. Blackboard will ask you for a screenshot of your properly working...

  • can you answer both #1 (a&B) and #2 please 1. Write MATLAB code to do the...

    can you answer both #1 (a&B) and #2 please 1. Write MATLAB code to do the following: (4 pts) a) Find the area of the circles where r=[7, 8, 10] using A = tr2 b) Find the distance traveled by a ball falling in the air is given by the equation x=x0+vot+ at?. Calculate the position of the ball at time t = 5s, XO = 10m, vo= 15 m/s, and a = 9.81 m/sec^2. Write MATLAB code to accomplish...

  • answer in matlab code Employ the bvp4c command to find the approximate solution of the boundary value problem governed by the second-order nonhomogeneous differential equation, 9. with the bound...

    answer in matlab code Employ the bvp4c command to find the approximate solution of the boundary value problem governed by the second-order nonhomogeneous differential equation, 9. with the boundary conditions of y(0) 5 and y(1)-2. Plot to compare the approximate solution with the exact solution obtained by using the dsolve command. Employ the bvp4c command to find the approximate solution of the boundary value problem governed by the second-order nonhomogeneous differential equation, 9. with the boundary conditions of y(0) 5...

  • Use Matlab and provide the code Consider the equation for the forced oscillation of a damped...

    Use Matlab and provide the code Consider the equation for the forced oscillation of a damped system with hardening spring given by (cf. Problem 14.27). Solve this equation numerically in MatlabB with F( given by the step function excitation and ramp excitation, m 1, c= 0.5, k= 1, and μ= 0.01, 0.1, 1. Compare with the results obtained when μ-0.

  • 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....

  • Consider the following problem Solve for y(t) in the ODE below (Van der Pol equation) for...

    Consider the following problem Solve for y(t) in the ODE below (Van der Pol equation) for t ranging from O to 10 seconds with initial conditions yo) = 5 and y'(0) = 0 and mu = 5. Select the methods below that would be appropriate to use for a solution to this problem. More than one method may be applicable. Select all that apply. ? Shooting method Finite difference method MATLAB m-file euler.m from course notes MATLAB m-file odeRK4sys.m from...

  • Recall that the command diff(f(x),x) symbolically finds the derivative of the function f. Recall also that...

    Recall that the command diff(f(x),x) symbolically finds the derivative of the function f. Recall also that the derivative is itself a function which can also be differentiated, giving us the second derivative of f, and so on. MATLAB will easily compute higher order derivatives using the command diff(f(x),x,n) Where n represents which derivative you want. Later, it will be very useful to find patterns in higher order derivatives. Ordinarily, this is most easily done by NOT simplifying the resulting expression,...

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