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
Question
Chapter A.5, Problem 7P
Program Plan Intro
Program Description: Purpose of the problem is to solve initial value problem
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
None
Use the Gauss-Siedel method to approximate the solution of the following system of linear
equations. (Hint: you can stop iteration when you get very close results in three decimal
places.)
5x1 - 2x2 + 3x3 = -1
%3D
-3x1 + 9x2 + x3 = 2
2x1- X2-7x3 = 3
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?
Chapter A Solutions
Differential Equations: Computing and Modeling (5th Edition), Edwards, Penney & Calvis
Knowledge Booster
Similar questions
- A circle in the XY-coordinate system is specified by the center coordinates (x, y) and radius (r). Read the values for 2 circles- x1, y1, r1 for C1 and x2, y2, r2 for C2. (i) Determine whether the 2 circles intersect. To solve the problem it suffices to check if the distance between the 2 centers is lesser than the sum of radii of the 2 circles. (ii) Find the smallest circle that encloses the two circles and return its center coordinates and radius. programming language - carrow_forwardConsider the function f(x) = 1 3x+1 . We approximate f(x) by the Lagrange interpolating polynomial P₂ (x) at the points xo = 1, x₁ = 1.5 and.x₂ = 2. A bound of the theoretical error of this approximation at x = 1.8 is:arrow_forward(Numerical analysis) Here’s a challenging problem for those who know a little calculus. The Newton-Raphson method can be used to find the roots of any equation y(x)=0. In this method, the (i+1)stapproximation,xi+1,toarootofy(x)=0 is given in terms of the ith approximation, xi, by the following formula, where y’ denotes the derivative of y(x) with respect to x: xi+1=xiy(xi)/y(xi) For example, if y(x)=3x2+2x2,theny(x)=6x+2 , and the roots are found by making a reasonable guess for a first approximation x1 and iterating by using this equation: xi+1=xi(3xi2+2xi2)/(6xi+2) a. Using the Newton-Raphson method, find the two roots of the equation 3x2+2x2=0. (Hint: There’s one positive root and one negative root.) b. Extend the program written for Exercise 6a so that it finds the roots of any function y(x)=0, when the function for y(x) and the derivative of y(x) are placed in the code.arrow_forward
- QUESTION An observation indicates that the frog population Q(t) in a small pond is 25 initially and satisfies the logistic equation Q(t)' = 0.0225Q(t) – 0.0003Q(t)?, (with t in months.) a. Apply Modified Euler's method together with any computer program to approximate the solution for 10 years. Use the step size ofh = 1 and then with h = 0.5 b. Find out the percentage of the limiting population of 75 frogs has been attained after 5 years and after 10 years c. Summarize your findings in (b)arrow_forwardThe results of an experimental study (x variable, y function) are given in the table below. (Five digits will be taken after the comma.) a-Find First, Second, and Third Order Linear Interpolation Polynomials. b- Find y(2)=? for First, Second, and Third Order Linear Interpolation Polynomials i 1 3 3 4 2,5 6,5 7arrow_forwardUsing MATLAB, develop a computer program for the finite difference solution with general θ scheme for the 1D consolidation of a uniform layer of soil. Compare the results for θ=0, 0.5, 2/3 and 1.0 for α=0.49 and α=0.51 against the analytical solution of Terzaghi’s equation for T=0.5. Apply the program to both cases of double draining layer and single draining layer.arrow_forward
- A discharge factor is a ratio which compares the mass flow rate at the end of a channel or nozzle to an ideal channel or nozzle. The discharge factor for flow through an open channel of parabolic cross-section is: K = 1.2 [V16x +1+ In(V16x² +1+4x)]³ 4x where x is the ratio of the maximum water depth to breadth of the channel at the top of the water. Determine the discharge factors for x in the range 0.45 to 0.90 in steps of 0.05. Script e C Reset I MATLAB Docume 1 %Give values for x: 2 3 %Solve for K: 4arrow_forwardAn oscillating current in an electric circuit is described by i(t) = 9e cos(2rt) where t is in seconds. Use False Position Method to determine the value of t such that i=3.5. Plot the graph of the function to develop your initial guess. Terminate your computation when the approximate relative error falls below ɛs=10°. Give the results in a table.arrow_forwardSolve the following problems using function codes in Matlab onlyarrow_forward
- If you indicate the exact real root of the nonlinear formula f(x )=x³+2x-5 to four decimal points, calculate each approximation 0, 1, 2, 3, 4 using the secant method in the interval [1,2]. All results are marked up to four decisces. thank youarrow_forward8. A parametric equation is given by x= 3t 3t2 (Note that the denominator approaches 0 when t approaches -1) Plot the function (the plot is called the Folium of Descartes) by plotting two curves in the same plot-one y = 1+t3 1+t3 for -30arrow_forwardplease explain each steparrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
Recommended textbooks for you
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr