EBK DIFFERENTIAL EQUATIONS
5th Edition
ISBN: 9780321974235
Author: Calvis
Publisher: PEARSON CUSTOM PUB.(CONSIGNMENT)
expand_more
expand_more
format_list_bulleted
Question
Chapter A.5, Problem 8P
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
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?
Consider 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:
Solve by hand function bellow using Euler method.
Repeat 5 times. (5 iterations)
f (x) = x°-7.x+4
Knowledge Booster
Similar questions
- The 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_forwardignore " Then use Theorem 3.3 in theBurden & Faires textbook to find an error bound for the approximations you obtained but do the rest please with the proper steps and please do not use chat gpt! Thank you !arrow_forward
- please explain each steparrow_forwardIf 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_forwardA 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_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_forward1) Find the 3rd order polynomial that satisfies the data of water for saturation temperature and pressure. By using the predicted polynomial compute the saturation pressure at 65 C. Temp(C) 0 Pre. (kPa) .6108 1.227 2.337 4.241 7.375 12.335 19.92 31.16 47.36 70.11 101.33 10 20 30 40 50 60 70 80 90 100 2) A vapor pressure vs. temperature thermodynamic process has the following data.Write a MATLAB program to calculate the values of constants A and B in following equation. B og( P°) = A- T+ 273.15 Temp (C) | -36.7 | -19.6 -11.5 Pre. (kPa) -2.6 7.6 15.4 26.1 42.2 60.6 80.1 1 5 10 20 40 60 100 200 400 760 3) The experimental velocity of an incompressible fluid in a pipe of radius 1 m is tabulated as below: Second Class \ Lec. 5 47 Computer Programming (II) Dr. Saad Raheem r (m) 0.0 0,1 0,2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 V 1.0 0.99 0.96 0.91| 0.84 0.75 0.64 0.51 0.36 0.19 0.0 Where: r is the distance from the centre of the pipe and u is the velocity of the fluid. Write a MATLAB program to…arrow_forwardA motorist found that the efficiency of her engine could be increased by adding lubricatingoil to fuel. She experimented with different amounts of lubricating oil and the data areAmount of lubricating oil (ml) 0 25 50 75 100 Efficiency (%) 60 70 75 81 84(a) (10 points) Obtain the least squares fit of a straight line to the amount of lubricatingoil.(b) (10 points) Test whether or not the slope β1 = 0. Take α = 0.05 as your level ofsignificance.(c) (10 points) Construct a 90% confidence interval on the mean response at x0 = 10 ml.(d) (10 points) Give a point estimate of the mean engine efficiency when the amount oflubricating oil is 450 ml.(e) (10 points) What additional danger is there when using your estimate in part (d)?arrow_forward
- You work as a software engineer in a company that develops software for providing approximate numerical solutions to complex mathematical problems. Your manager asked you to develop two software products for (i) finding the roots of complex functions and (ii) performing complex integrations. Task 4: i) Compute the integral of f(x)= 3x from a = 0 to b = 9 with 3 sub-intervals using the following integral approximation methods: (i) Simpson, and (ii) Mid-ordinate rules. %3Darrow_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_forwardNumerical Analysisarrow_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 Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr