Problem 2: Consider following initial value problem: dy =k(a - y)(b - y) y(0) = 0...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Related Book For
Differential Equations and Linear Algebra
ISBN: 978-0131860612
2nd edition
Authors: Jerry Farlow, James E. Hall, Jean Marie McDill, Beverly H. West
Posted Date:
Students also viewed these accounting questions
-
Use the method of separation of variables to solve (Equation 5.8.3) assuming that v is constant. Show how the dynamics are slowed when is small, but that does not affect the equilibrium. dt
-
use the method of separation of variables to solve the following nonhomogeneous initial-Neumann problem: Hint: write the candidate solution as ?are the eigenfunctionsof the eigenvalue problem...
-
Use the method of separation of variables to solve the following PDE: 25 + , 5, + 2 %3D 0
-
A coil of wire 0.1 m long and having 15 turns carries a current of 1.0 A. (a) Compute the flux density if the coil is within a vacuum. (b) A bar of an iron-silicon alloy, the B-H behavior for which...
-
Refer to information in QS 23-23. In addition, sales are 40% cash and 60% on credit. All credit sales are collected in the month following the sale. The January 1 balance in accounts receivable is...
-
Sample A has a count of 30 successes with n = 100 and Sample B has a count of 50 successes with n = 250. Use StatKey or other technology to generate a bootstrap distribution of sample differences in...
-
During 2005 , Liberty's days' sales in receivables ratio was a. 39 day's b. 37 day's c. 35 day's d. 30 days
-
A particular brand of diet margarine was analyzed to determine the level of polyunsaturated fatty acid (in percentages). A sample of six packages resulted in the following data: 16.8, 17.2, 17.4,...
-
Assume Nortel Networks contracted to provide a customer with Internet infrastructure for $2,100,000. The project began in 2021 and was completed in 2022. Data relating to the contract are summarized...
-
In preparing for the upcoming holiday season, Mandrell Toy Company designed a new doll called Freddy. The fixed cost to produce the doll is $100,000. The variable cost, which includes material,...
-
You are doing some statistical process control and consulting for Zoo Pets, Inc. You are helping them measure their giraffe food. Ideally, they want to measure the giraffe food into prepackaged bags...
-
Jurvin Enterprises is a manufacturing company with no beginning inventories. A subset of the transactions it recorded during a recent month is shown below. Purchased $ 7 5 , 3 0 0 in raw materials...
-
The function f(x) will model the roller coaster's height from the ground in feet over time, measured in seconds since the ride started. f(x) = { 5(2)*, -5x + 40x, 35, -5(x-12) +80, 2.5x - 22.5, -15x...
-
Describe and compare the interference patterns that appear as a result of single-slit diffraction, double-slit diffraction, and diffraction grating. Describe how and why interference patterns depend...
-
Explain how an organization would use managerial accounting to provide the brutal facts of an organization's current reality that it must confront if it is to become a great organization.
-
Molly Grey (single) acquired a 30 percent limited partnership interest in Beau Geste LLP several years ago for $62,000. At the beginning of year 1, Molly has tax basis and an at-risk amount of...
-
New classical economists argue that a tax cut does not shift the aggregate demand curve because: O households increase consumption because they do not know the implications of the tax cut. prices are...
-
Using the information in P11-2B, compute the overhead controllable variance and the overhead volume variance. Data From Problem 11-2B: Huang Company uses a standard cost accounting system to account...
-
Factoring Out Friction: The damped oscillator equation (2) can be solved by a change of variable that "factors out the damping" Specifically, let x(r) = e-(b/2m)t X(t). (a) Show that X(r) satisfies...
-
The linear transformation T: R3 R2 is defined by Where a. Determine the vectors in R3 that maps to the zero vector in R2. b. Find the vectors in R3 that T maps to [I, I] in R2. c. Describe the image...
-
Property Failures Find a subset of R2 fitting each description. 1. Closed under vector addition but not under scalar multiplication? 2. Closed under scalar multiplication but not under vector...
-
An optimum rectangular storm sewer channel made of unfinished concrete is to be designed to carry a maximum flow rate of \(100 \mathrm{ft}^{3} / \mathrm{s}\) at the critical flow rate (the rate at...
-
For a trapezoidal shaped channel with \(n=0.014\) and slope \(S_{b}=0.0002\) with a 20 -ft bottom width and side slopes of 1 vertical to 1.5 horizontal, determine the normal depth for a discharge of...
-
A trapezoidal canal lined with brick has side slopes of \(2: 1\) and bottom width of \(10 \mathrm{ft}\). It carries \(600 \mathrm{ft}^{3} / \mathrm{s}\) at critical speed. Determine the critical...
Study smarter with the SolutionInn App