Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use ode45 and state space A radioactive material decays at a rate that is proportional to the amount that remains. The differential equation that models

use ode45 and state space
image text in transcribed
A radioactive material decays at a rate that is proportional to the amount that remains. The differential equation that models this process is given by: dy/dt=kywherey=y0whent=t0 Here y0 represents the mass at time t0. a. Use MATLAB to solve the above differential equation numerically for t= to 10 seconds given the following: y=50,k=0.05. (Submit both the function file code and the script file code). b. Use MATLAB to plot the solution obtained in Part (a) for t=0 to 10 seconds. The exact (analytical) solution of the above differential equation is given by: y=50exp(0.05t) c. On the same graph obtained in part (b), use MATLAB to plot the analytical solution include a legend to label the curves

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

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago