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 4.3, Problem 12P
Program Plan Intro
Using Runge-Kutta method to solve the differential equation at step size (
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents 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. 1PCh. 4.1 - Prob. 2PCh. 4.1 - Prob. 3PCh. 4.1 - Prob. 4PCh. 4.1 - Prob. 5PCh. 4.1 - Prob. 6PCh. 4.1 - Prob. 7PCh. 4.1 - Prob. 8PCh. 4.1 - Prob. 9PCh. 4.1 - Prob. 10P
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
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
- Please no written by hand solutions Numerical Methodsarrow_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_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_forward
- using the R applicationarrow_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_forwardV Obtain the expression for y(t) which is satisfying the differential equation ÿ + 3y+ 2y = et y(0)=0 and y(0)=0arrow_forward
- You 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_forwardThe charges and coordinates of two charged particles held fixed in an xy plane are 91 = 3.01 μC, x1 = 4.94 cm, y₁ = 0.559 cm and 92 = -5.09 µC, x2 = -2.10 cm, y2 = 1.11 cm. Find the (a) magnitude and (b) direction (with respect to +x-axis in the range (-180°; 180°]) of the electrostatic force on particle 2 due to particle 1. At what (c) x and (d) y coordinates should a third particle of charge 93 = 5.17 μC be placed such that the net electrostatic force on particle 2 due to particles 1 and 3 is zero? (a) Number i Units (b) Number i Units (c) Number i Units (d) Number i Unitsarrow_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
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrOperations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole