Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer Science - MATLAB Project Given in the data file (info.dat), where the first column is the y values and the second column

Computer Science - MATLAB Project

image text in transcribed

Given in the data file (info.dat), where the first column is the "y" values and the second column is the "x" values .

info.dat

+4.60000E-01 +2.39944E-08

+9.70000E-01 +1.15987E-03

+1.24300E+00 +4.21568E-01

Using the data in the dat file, calculate the value of the constant c in the given Eq. 1

Calculate the time dependent Ordinary Differential Equation based on the data obtained.

dx(t)/dt = [ 1,9 - y(t) - x(t)*13,9 ] * 1,04 ODE equation;

For the time interval t [0, 800] ms using the step sizes t = 40 ms and assume that y(0) = 0 for t = 0 s;

Write the MATLAB code that solves the ODE with the Euler Method and find the values of x(t) and y(t). Plots of x(t) and y(t) versus time t.

(Hint: In the ODE, you can solve the equation by writing the variable y(t) in terms of x(t) )

y = ln (x) x 2 Eq. 1 y = ln (x) x 2 Eq. 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

User Defined Tensor Data Analysis

Authors: Bin Dong ,Kesheng Wu ,Suren Byna

1st Edition

3030707490, 978-3030707491

More Books

Students also viewed these Databases questions

Question

Explain the nature of human resource management.

Answered: 1 week ago

Question

Write a note on Quality circles.

Answered: 1 week ago

Question

Describe how to measure the quality of work life.

Answered: 1 week ago

Question

Can workers be trained in ethics? How? Defend your answer.

Answered: 1 week ago