Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2: Consider following initial value problem: dy =k(a - y)(b - y) y(0) = 0 dt where k = 0.01, a = 70

image

Problem 2: Consider following initial value problem: dy =k(a - y)(b - y) y(0) = 0 dt where k = 0.01, a = 70 and b = 50 and the exact solution is y(t) = 350 [1-exp(-0.21)] /[7-5 exp(-0.2t)] a) Verify that this is the solution, by substituting into the original differential equation. b) Use the method of separation of variables, to derive the solution. c) Write a MATLAB code to numerically solve the initial value problem over the interval [0, 20] using Euler's method with a fixed sample period, t = 0.5. Calculate the error curve for the following sample periods t = 0.5, 0.2 and 0.1. d) Repeat part a) using Heun's method and the Runge- Kutta method.

Step by Step Solution

3.51 Rating (148 Votes )

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

Differential Equations and Linear Algebra

Authors: Jerry Farlow, James E. Hall, Jean Marie McDill, Beverly H. West

2nd edition

131860615, 978-0131860612

More Books

Students also viewed these Accounting questions