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
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 2.5, Problem 27P
Program Plan Intro
Use the improved Euler’s method with step size h=0.1and h=0.05 to approximate upto five the solution for 10 years P-values of three decimal places the value of the solution at ten equally spaced points of the given interval. Print the result in tabular form with appropriate headings.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
None
Please solve.
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
Chapter 2 Solutions
Differential Equations: Computing and Modeling (5th Edition), Edwards, Penney & Calvis
Ch. 2.1 - Prob. 1PCh. 2.1 - Prob. 2PCh. 2.1 - Prob. 3PCh. 2.1 - Prob. 4PCh. 2.1 - Prob. 5PCh. 2.1 - Prob. 6PCh. 2.1 - Prob. 7PCh. 2.1 - Prob. 8PCh. 2.1 - Prob. 9PCh. 2.1 - Prob. 10P
Ch. 2.1 - Prob. 11PCh. 2.1 - Prob. 12PCh. 2.1 - Prob. 13PCh. 2.1 - Prob. 14PCh. 2.1 - Prob. 15PCh. 2.1 - Prob. 16PCh. 2.1 - Prob. 17PCh. 2.1 - Prob. 18PCh. 2.1 - Prob. 19PCh. 2.1 - Prob. 20PCh. 2.1 - Prob. 21PCh. 2.1 - Suppose that at time t=0, half of a logistic...Ch. 2.1 - Prob. 23PCh. 2.1 - Prob. 24PCh. 2.1 - Prob. 25PCh. 2.1 - Prob. 26PCh. 2.1 - Prob. 27PCh. 2.1 - Prob. 28PCh. 2.1 - Prob. 29PCh. 2.1 - A tumor may be regarded as a population of...Ch. 2.1 - Prob. 31PCh. 2.1 - Prob. 32PCh. 2.1 - Prob. 33PCh. 2.1 - Prob. 34PCh. 2.1 - Prob. 35PCh. 2.1 - Prob. 36PCh. 2.1 - Prob. 37PCh. 2.1 - Fit the logistic equation to the actual U.S....Ch. 2.1 - Prob. 39PCh. 2.2 - Prob. 1PCh. 2.2 - Prob. 2PCh. 2.2 - Prob. 3PCh. 2.2 - Prob. 4PCh. 2.2 - Prob. 5PCh. 2.2 - Prob. 6PCh. 2.2 - Prob. 7PCh. 2.2 - Prob. 8PCh. 2.2 - Prob. 9PCh. 2.2 - Prob. 10PCh. 2.2 - Prob. 11PCh. 2.2 - Prob. 12PCh. 2.2 - Prob. 13PCh. 2.2 - Prob. 14PCh. 2.2 - Prob. 15PCh. 2.2 - Prob. 16PCh. 2.2 - Prob. 17PCh. 2.2 - Prob. 18PCh. 2.2 - Prob. 19PCh. 2.2 - Prob. 20PCh. 2.2 - Prob. 21PCh. 2.2 - Prob. 22PCh. 2.2 - Prob. 23PCh. 2.2 - Prob. 24PCh. 2.2 - Use the alternatives forms...Ch. 2.2 - Prob. 26PCh. 2.2 - Prob. 27PCh. 2.2 - Prob. 28PCh. 2.2 - Consider the two differentiable equation...Ch. 2.3 - The acceleration of a Maserati is proportional to...Ch. 2.3 - Prob. 2PCh. 2.3 - Prob. 3PCh. 2.3 - Prob. 4PCh. 2.3 - Prob. 5PCh. 2.3 - Prob. 6PCh. 2.3 - Prob. 7PCh. 2.3 - Prob. 8PCh. 2.3 - A motorboat weighs 32,000 lb and its motor...Ch. 2.3 - A woman bails out of an airplane at an altitude of...Ch. 2.3 - According to a newspaper account, a paratrooper...Ch. 2.3 - Prob. 12PCh. 2.3 - Prob. 13PCh. 2.3 - Prob. 14PCh. 2.3 - Prob. 15PCh. 2.3 - Prob. 16PCh. 2.3 - Prob. 17PCh. 2.3 - Prob. 18PCh. 2.3 - Prob. 19PCh. 2.3 - Prob. 20PCh. 2.3 - Prob. 21PCh. 2.3 - Suppose that =0.075 (in fps units, with g=32ft/s2...Ch. 2.3 - Prob. 23PCh. 2.3 - The mass of the sun is 329,320 times that of the...Ch. 2.3 - Prob. 25PCh. 2.3 - Suppose that you are stranded—your rocket engine...Ch. 2.3 - Prob. 27PCh. 2.3 - (a) Suppose that a body is dropped (0=0) from a...Ch. 2.3 - Prob. 29PCh. 2.3 - Prob. 30PCh. 2.4 - Prob. 1PCh. 2.4 - Prob. 2PCh. 2.4 - Prob. 3PCh. 2.4 - Prob. 4PCh. 2.4 - Prob. 5PCh. 2.4 - Prob. 6PCh. 2.4 - Prob. 7PCh. 2.4 - Prob. 8PCh. 2.4 - Prob. 9PCh. 2.4 - Prob. 10PCh. 2.4 - Prob. 11PCh. 2.4 - Prob. 12PCh. 2.4 - Prob. 13PCh. 2.4 - Prob. 14PCh. 2.4 - Prob. 15PCh. 2.4 - Prob. 16PCh. 2.4 - Prob. 17PCh. 2.4 - Prob. 18PCh. 2.4 - Prob. 19PCh. 2.4 - Prob. 20PCh. 2.4 - Prob. 21PCh. 2.4 - Prob. 22PCh. 2.4 - Prob. 23PCh. 2.4 - Prob. 24PCh. 2.4 - Prob. 25PCh. 2.4 - Prob. 26PCh. 2.4 - Prob. 27PCh. 2.4 - Prob. 28PCh. 2.4 - Prob. 29PCh. 2.4 - Prob. 30PCh. 2.4 - Prob. 31PCh. 2.5 - Prob. 1PCh. 2.5 - Prob. 2PCh. 2.5 - Prob. 3PCh. 2.5 - Prob. 4PCh. 2.5 - Prob. 5PCh. 2.5 - Prob. 6PCh. 2.5 - Prob. 7PCh. 2.5 - Prob. 8PCh. 2.5 - Prob. 9PCh. 2.5 - Prob. 10PCh. 2.5 - Prob. 11PCh. 2.5 - Prob. 12PCh. 2.5 - Prob. 13PCh. 2.5 - Prob. 14PCh. 2.5 - Prob. 15PCh. 2.5 - Prob. 16PCh. 2.5 - Prob. 17PCh. 2.5 - Prob. 18PCh. 2.5 - Prob. 19PCh. 2.5 - Prob. 20PCh. 2.5 - Prob. 21PCh. 2.5 - Prob. 22PCh. 2.5 - Prob. 23PCh. 2.5 - Prob. 24PCh. 2.5 - Prob. 25PCh. 2.5 - Prob. 26PCh. 2.5 - Prob. 27PCh. 2.5 - Prob. 28PCh. 2.5 - Prob. 29PCh. 2.5 - Prob. 30PCh. 2.6 - Prob. 1PCh. 2.6 - Prob. 2PCh. 2.6 - Prob. 3PCh. 2.6 - Prob. 4PCh. 2.6 - Prob. 5PCh. 2.6 - Prob. 6PCh. 2.6 - Prob. 7PCh. 2.6 - Prob. 8PCh. 2.6 - Prob. 9PCh. 2.6 - Prob. 10PCh. 2.6 - Prob. 11PCh. 2.6 - Prob. 12PCh. 2.6 - Prob. 13PCh. 2.6 - Prob. 14PCh. 2.6 - Prob. 15PCh. 2.6 - Prob. 16PCh. 2.6 - Prob. 17PCh. 2.6 - Prob. 18PCh. 2.6 - Prob. 19PCh. 2.6 - Prob. 20PCh. 2.6 - Prob. 21PCh. 2.6 - Prob. 22PCh. 2.6 - Prob. 23PCh. 2.6 - Prob. 24PCh. 2.6 - Prob. 25PCh. 2.6 - Prob. 26PCh. 2.6 - Prob. 27PCh. 2.6 - Prob. 28PCh. 2.6 - Prob. 29PCh. 2.6 - Prob. 30P
Knowledge Booster
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
- given the following equation x2 = 16 O a. (+4,-2) O b. (+2,-4) O c. No Solution O d. (+4,-4)arrow_forwardYou solve a non-singular system of 1,000 linear equations with 1,000 unknowns. Your code uses the Gauss-Jordan algorithm with partial pivoting using double precision numbers and arithmetics. Why would the 2-norm of the residual of your solution not be zero?arrow_forwardSuppose that a parachutist with linear drag (m=50 kg, c=12.5kg/s) jumps from an airplane flying at an altitude of a kilometer with a horizontal velocity of 220 m/s relative to the ground. a) Write a system of four differential equations for x,y,vx=dx/dt and vy=dy/dt. b) If theinitial horizontal position is defined as x=0, use Euler’s methods with t=0.4 s to compute the jumper’s position over the first 40 s. c) Develop plots of y versus t and y versus x. Use the plot to graphically estimate when and where the jumper would hit the ground if the chute failed to open.arrow_forward
- 5arrow_forwardQ2/ The pipe in Fig. is driven by pressurized air in the tank. What is the friction factor (f) when the water flow rate through pipe is ( 85 m/hr ) and the pressure at point 1 is (2500 kPa). (25Marks) 30m smooth pipe d = 70mm open jet P1 1 90m 15m 60marrow_forwardMatlab Onearrow_forward
- using the R applicationarrow_forward• Suppose that we want to find a solution of the equation sin² (2) + 1-2x = 0, on the interval [0, π/2]. Is there a solution of the equation in this interval? How do you know?arrow_forwardThe following is used to model a wave that impacts a concrete wall created by the US Navy speed boat.1. Derive the complete piecewise function of F(t) and F()The concrete wall is 2.8 m long with a cross-section area of 0.05 m2. The force at time equal zero is 200 N. It is also known that the mass is modeled as lumped at the end of 1200 kg and Young’s modulus of 3.6 GPa2. Use *Matlab to simulate and plot the total response of the system at zero initial conditions and t0 = 0.5 sarrow_forward
- Solve botharrow_forwarda. For the function and point below, find f'(a). b. Determine an equation of the line tangent to the graph of f at (a,f(a)) for the given value of a. f(x) = 2x°, a = 1 %3D ..... a. f'(a) =arrow_forwardFor an object of mass m=3 kg to slide without friction up the rise of height h=1 m shown, it must have a minimum initial kinetic energy (in J) of: h O a. 40 O b. 20 O c. 30 O d. 10arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole