Differential Equations: Computing and Modeling (5th Edition), Edwards, Penney & Calvis
Differential Equations: Computing and Modeling (5th Edition), Edwards, Penney & Calvis
5th Edition
ISBN: 9780321816252
Author: C. Henry Edwards, David E. Penney, David Calvis
Publisher: PEARSON
bartleby

Concept explainers

Question
Book Icon
Chapter 4.3, Problem 12P
Program Plan Intro

Using Runge-Kutta method to solve the differential equation at step size ( h=0.1 and 0.05 ) and compare with the actual value.

Blurred answer
Students have asked these similar questions
Use matlab In Problems 5-10 use a numerical solver and Euler's method to obtain a four-decimal approximation of the indicated value. First use h 5 0.1 and then use h 5 0.05. 8. y'=xy+ sqrt(y), y(0)=1, y(0.5) I tried this method, but it gives me errors "un recongnized function or variable at 'xy'. Error in live 5 and error in line 17 close all clear clc f=@(x,y) xy+sqrty; % Given ODE x0=0; xf=0.5; % Interals of x y0=1; % Intital condition h1-0.1; % Step Size 1 y1=euler (x0, yo, xf, h¹, f); fprintf('For h=0.1, y(0.5) - %.4f/n', y1(end)) y2=euler (x0, yo, xf, h2, f); fprintf('For h=0.05, y(0.5)=%.4f/n', y2(end)) function y=euler (x0, yo, xf, h, f) y(1)=y0; x-x0:h:xf; for i=1:length(x) -1 f1-f(x(i), y(i)); y(i+1)=y(i)+h*f1; %Euler's Update end end
Matlab One
5

Chapter 4 Solutions

Differential Equations: Computing and Modeling (5th Edition), Edwards, Penney & Calvis

Ch. 4.1 - Prob. 11PCh. 4.1 - Prob. 12PCh. 4.1 - Prob. 13PCh. 4.1 - Prob. 14PCh. 4.1 - Prob. 15PCh. 4.1 - Prob. 16PCh. 4.1 - Prob. 17PCh. 4.1 - Prob. 18PCh. 4.1 - Prob. 19PCh. 4.1 - Prob. 20PCh. 4.1 - Prob. 21PCh. 4.1 - Prob. 22PCh. 4.1 - Prob. 23PCh. 4.1 - Prob. 24PCh. 4.1 - Prob. 25PCh. 4.1 - Prob. 26PCh. 4.1 - Prob. 27PCh. 4.1 - Prob. 28PCh. 4.1 - Prob. 29PCh. 4.1 - Prob. 30PCh. 4.1 - Prob. 31PCh. 4.1 - Prob. 32PCh. 4.1 - Prob. 33PCh. 4.1 - Repeat Problem 33, except with the generator...Ch. 4.1 - A particle of mass m moves in the plane with...Ch. 4.1 - Prob. 36PCh. 4.1 - Prob. 37PCh. 4.2 - Prob. 1PCh. 4.2 - Prob. 2PCh. 4.2 - Prob. 3PCh. 4.2 - Prob. 4PCh. 4.2 - Prob. 5PCh. 4.2 - Prob. 6PCh. 4.2 - Prob. 7PCh. 4.2 - Prob. 8PCh. 4.2 - Prob. 9PCh. 4.2 - Prob. 10PCh. 4.2 - Prob. 11PCh. 4.2 - Prob. 12PCh. 4.2 - Prob. 13PCh. 4.2 - Prob. 14PCh. 4.2 - Prob. 15PCh. 4.2 - Prob. 16PCh. 4.2 - Prob. 17PCh. 4.2 - Prob. 18PCh. 4.2 - Prob. 19PCh. 4.2 - Prob. 20PCh. 4.2 - Suppose that L1=a1D2+b1D+c1 and L2=a2D2+b2D+c2,...Ch. 4.2 - Suppose that L1x=tDx+x and that L2x=Dx+tx. Show...Ch. 4.2 - Prob. 23PCh. 4.2 - Prob. 24PCh. 4.2 - Prob. 25PCh. 4.2 - Prob. 26PCh. 4.2 - Prob. 27PCh. 4.2 - Prob. 28PCh. 4.2 - Prob. 29PCh. 4.2 - Prob. 30PCh. 4.2 - Prob. 31PCh. 4.2 - Prob. 32PCh. 4.2 - Prob. 33PCh. 4.2 - Prob. 34PCh. 4.2 - Prob. 35PCh. 4.2 - Prob. 36PCh. 4.2 - Prob. 37PCh. 4.2 - Prob. 38PCh. 4.2 - Prob. 39PCh. 4.2 - Prob. 40PCh. 4.2 - Prob. 41PCh. 4.2 - Prob. 42PCh. 4.2 - Prob. 43PCh. 4.2 - Prob. 44PCh. 4.2 - Prob. 45PCh. 4.2 - Prob. 46PCh. 4.2 - Prob. 47PCh. 4.2 - Prob. 48PCh. 4.3 - Prob. 1PCh. 4.3 - Prob. 2PCh. 4.3 - Prob. 3PCh. 4.3 - Prob. 4PCh. 4.3 - Prob. 5PCh. 4.3 - Prob. 6PCh. 4.3 - Prob. 7PCh. 4.3 - Prob. 8PCh. 4.3 - Prob. 9PCh. 4.3 - Prob. 10PCh. 4.3 - Prob. 11PCh. 4.3 - Prob. 12PCh. 4.3 - Prob. 13PCh. 4.3 - Prob. 14PCh. 4.3 - Suppose that a projectile is fired straight upward...Ch. 4.3 - Prob. 16PCh. 4.3 - Prob. 17PCh. 4.3 - Prob. 18PCh. 4.3 - Prob. 19PCh. 4.3 - Prob. 20PCh. 4.3 - Suppose that an artillery projectile is fired from...
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole