Kuttas third-order method is defined by y n+1 = y n + 1/6(k 1 + 4k 2
Question:
Table 21.3
Table 21.5
Transcribed Image Text:
ALGORITHM RUNGE-KUTTA (f, xo, Yo, h, N). This algorithm computes the solution of the initial value problem y' = f(x, y), y(Xx) = Yo at equidistant points X1 = xo + h, x2 = xo + 2h, , XN = xo + Nh; (9) here f is such that this problem has a unique solution on the interval [Xo, Xx] (see Sec. 1.7). INPUT: Function f, initial values xo, Yo, step size h, number of steps N OUTPUT: Approximation yn+1 to the solution y(Xn+1) at xn+1 = xo + (n + 1)h, where n = 0, 1, · , N – 1 For n = 0, 1, .., N – 1 do: ki = hf(xn, Yn) k2 = hf(xn + h, yn + k1) k3 = hf(xn + h, yn + żk2) k4 = hf(Xn + h, yn + k3) Xn+1 = Xn + h Yn+1 = Yn + & (k1 + 2k2 + 2k3 + k4) OUTPUT xn+1» Yn+1 End Stop End RUNGE-KUTTA Error y = et – x – 1 Improved Euler (Table 21.3) Runge-Kutta (Table 21.5) Euler (Table 21.1) 0.000003 0.000007 0.000011 0.2 0.021403 0.091825 0.0014 0.021 0.052 0.094 0.152 0.4 0.0034 0.0063 0.0102 0.6 0.222119 0.425541 0.8 0.718282 0.230 0.0156 0.000020 0.000031 1.0
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 66% (12 reviews)
From y x y and the given formula we get ...View the full answer
Answered By
Gabriela Rosalía Castro
I have worked with very different types of students, from little kids to bussines men and women. I have thaught at universities, schools, but mostly in private sessions for specialized purpuses. Sometimes I tutored kids that needed help with their classes at school, some others were high school or college students that needed to prepare for an exam to study abroud. Currently I'm teaching bussiness English for people in bussiness positions that want to improve their skills, and preparing and ex-student to pass a standarized test to study in the UK.
5.00+
1+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Mathematics questions
-
Kuttas third-order method is define by yn + 1 = yn + 1/6 (k1 + 4k2 + k3*) with k1 and k2 as in RK Table 21.4 and k3* = hf (xn+1, yn k1 + 2k2). Apply this method to (4) in example 1. Choose h = 0.2...
-
1. If you repeat the dice game several times, or perhaps in a class, you might find that Red occasionally comes out the winner. Seeing that all of the others lose with Red, how might it be that some...
-
The classical RK for a first-order ODE extends to second-order ODEs. If the ODE is y" = f(x, y), not containing y', then Apply this RKN (RungeKuttaNyström) method to the Airy ODE in...
-
Problem 4.2 Ask the user to enter his/her age, with the prompt: "How old are you? Please enter your age as a number between 0 and 120. -> ". Check that what was entered is a number between 0 and 120....
-
Contrast the interests of young people and seniors?
-
On January 1, 2014, Fleetwood Inc. issued bonds with a face amount of $25 million and a stated interest rate of 8%. The bonds mature in 10 years and pay interest semiannually on June 30 and December...
-
For the preceding problem you should find that there are significant differences among the three treatments. One reason for the significance is that the sample variances are relatively small. To...
-
Ramrod, Inc., sells a warehouse for $350,000. It purchased the warehouse 10 years ago for $250,000 and had taken $75,000 in depreciation on the building to the date of sale. Identify the tax issue(s)...
-
PT KFC Statement of Profit or Loss for the years Ended 31 December 2020 (internal estimation) and 2019 Sales COGS Gross Profit SGA Expense Operating income Interest income Interest expense Other...
-
Pistol Corporation acquired 70 percent of Scope Corporations voting stock on May 18, 20X1. The companies reported the following data with respect to intercompany sales in 20X4 and 20X5: Pistol...
-
What should be a relationship between call arrival rate and service rate when a cellular system is in a steady state? Explain clearly.
-
For the four revenue alternatives below, use the ROR method results to determine: (a) Which one(s) to select, if MARR = 17% per year and the proposals are independent. (b) Which one to select, if...
-
In Exercises solve the first-order differential equation by any appropriate method. y' = 2x1 - y
-
Question 2 of 6 When can XWFs approve expenses on behalf of Google? If a Director has approved it. If your employer has approved it. XWFs cannot approve expenses on behalf of Google. If it's under...
-
Does the following table represent a valid discrete probability distribution? x 1 2 3 4 5 P ( X = x ) 0.11 0.06 0.25 0.41 0.51
-
Semester Two Practice Examinations, 2022 Question 1. [10 marks] Suppose X and Y have the joint probability mass function x 0 1 2 0 CO 0.175 0.105 1 0.18 0.075 C1 where CO and C are real numbers such...
-
Problem 7 (40 pts) Ethylene glycol (p=1096 Kg/m, C=2505 J/KgK, v=6.9x10-6 m/s, Pr=73.5) is pumped through a pipeline of diameter D=0.4 m that runs across a lake L=200 m wide. The bulk velocity and...
-
The number of fully formed apples on 100 plants was counted with the following results: 2 plants had 0 apples 5 plants had 1 apple 7 plants had 2 apples 11 plants had 3 apples 18 plants had 4 apples...
-
Use lHospitals rule where applicable to find each limit. Vx lim x In (In x)
-
D Which of the following is considered part of the Controlling activity of managerial accounting? O Choosing to purchase raw materials from one supplier versus another O Choosing the allocation base...
-
On January 28, 1986, the Space Shuttle Challenger broke apart 73 seconds into its flight, killing all seven astronauts on board. All investigations into reasons for the disaster pointed towards the...
-
Reconsider the previous exercise. The monthly salaries of the three people working in a small firm are $3,500, $4,000, and $4,500. Suppose the firm makes a profit and everyone gets a $100 raise. How,...
-
Reconsider the previous exercise where the monthly salaries of the three people working in a small firm are $3500, $4000, and $4500. If instead of a $100 raise, everyone gets a 10% raise, how, if at...
-
Milano Pizza is a small neighborhood pizzeria that has a small area for in-store dining as well as offering take-out and free home delivery services. The pizzerias owner has determined that the shop...
-
Which of the following statement regarding a post-closing trial balance is not true
-
What are the benefits and potential risks factors for undertaking derivative strategies compared to cash transactions
Study smarter with the SolutionInn App