Design and construct a computer program in one of the approved languages ( Java, ) that...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Design and construct a computer program in one of the approved languages ( Java, ) that will illustrate the use of a third-order explicit Runge-Kutta method of your own design. In other words, you will first have to solve the Runge-Kutta equations of condition for the coefficients of a third-order Runge-Ku_a method. Then, you will use these coefficients in a computer program to solve the ordinary differential equation below. Be sure to follow the documentation and programming style policies of the Computer Science Department. The initial value problem to be solved is the following: x'(t)=1+sin(12 t) x(t) subject to the initial condition: x(0) = 1.0 Obtain a numerical solution to this problem over the range from t=0.0 to t=2.0 for seven different values of the stepsize, h=0.1, 0.05, 0.025, 0.0125, 0.00625, 0.003125, and 0.0015625. In other words, make seven runs with 20, 40, 80, 160, 320, 640, and 1280 steps, respectively. For each run, print out the value of h and then a table of t and x. The true solution of this differential equation resembles the following plot of x(t) as a function of t. The answer at the end of the integration is about 2.9769173907278 Design and construct a computer program in one of the approved languages ( Java, ) that will illustrate the use of a third-order explicit Runge-Kutta method of your own design. In other words, you will first have to solve the Runge-Kutta equations of condition for the coefficients of a third-order Runge-Ku_a method. Then, you will use these coefficients in a computer program to solve the ordinary differential equation below. Be sure to follow the documentation and programming style policies of the Computer Science Department. The initial value problem to be solved is the following: x'(t)=1+sin(12 t) x(t) subject to the initial condition: x(0) = 1.0 Obtain a numerical solution to this problem over the range from t=0.0 to t=2.0 for seven different values of the stepsize, h=0.1, 0.05, 0.025, 0.0125, 0.00625, 0.003125, and 0.0015625. In other words, make seven runs with 20, 40, 80, 160, 320, 640, and 1280 steps, respectively. For each run, print out the value of h and then a table of t and x. The true solution of this differential equation resembles the following plot of x(t) as a function of t. The answer at the end of the integration is about 2.9769173907278
Expert Answer:
Related Book For
Auditing and Assurance services an integrated approach
ISBN: 978-0132575959
14th Edition
Authors: Alvin a. arens, Randal j. elder, Mark s. Beasley
Posted Date:
Students also viewed these programming questions
-
Repeat Example 3 modified as follows: Data from Example 3 A farmer owns a 100-acre farm and plans to plant at most three crops. The seed for crops A, B, and C costs $40, $20, and $30 per acre,...
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
A 15 mm 15 mm silicon chip is mounted such that the edges are flush in a substrate. The chip dissipates 1.4 W of power uniformly, while air at 20C (1 atm) with a velocity of 25 m/s is used to cool...
-
Let A be an n n matrix. Show that ATA and AAT are similar.
-
Show the numbers a + bj, 3(a + bj), and 3(a + bj) on the same coordinate system. The multiplication of a complex number by a real number is called scalar multiplication of the complex number. 3 j
-
Many single women and married couples use donated sperm to conceive children each year. Pennsylvania resident Donna Donovan decided to use donated sperm from Idant Laboratories, a New York sperm bank...
-
(Accounting for Restricted Stock) Tweedie Company issues 10,000 shares of restricted stock to its CFO, Mary Tokar, on January 1, 2010. The stock has a fair value of $500,000 on this date. The service...
-
Write a MATLAB program that asks the user to enter his results in four quizzes (q1,q2, q3, and q4) out of 100, and calculate the average value. Then print the output given in the Table below to the...
-
Ivanhoe Company has provided information on intangible assets as follows. A patent was purchased from Metlock Company for $1.650,000 on January 1, 2019. Ivanhoe estimated the remaining useful life of...
-
Dean Drones Ltd., based in Hong Kong, has 1 million shares outstanding. The firm is planning on issuing an additional 100,000 shares at an offer price of $5 by way of crowdfunding. They have engaged...
-
Aditya Birla Retail Limited, an Indian retail company, is considering a lockbox system that can shorten its accounts receivable collection by 1 day. Credit sales are INR 550,000,000 per year, billed...
-
FastFood Ltd. manufactures vending machines for schools. To meet the increasing demand, FastFood decides to build a new factory. The company requires 5 million to expand production. How do you think...
-
One of the key risk areas that corporates need to manage is ethical risks. Do you think that management of ethical risks is as important for businesses as management of financial risks? Explain how...
-
Currently, Jackson Real Estate Inc. can sell 10-year, $100-par-value bonds paying annual interest at a 6% coupon rate. Jackson can sell its bonds for $106.20 each. Jackson will incur flotation costs...
-
A company purchased $4,100 worth of merchandise. Transportation costs were an additional $360. The company later returned $280 worth of merchandise and paid the invoice within the 2% cash discount...
-
If the cylinder described in Problem 21.3 were initially heated to 500F, how long would it take for the center of the cylinder to cool to 240F if it were constructed of a. Copper? b. Brass? c. Nickel?
-
An analysis of the accounts of Beautiful Bottles Pty Ltd reveals the following manufacturing cost data for the month ended 30 June 2019. Required (a) Prepare the cost of goods manufactured schedule...
-
The following accounts and amounts (balances are normal balances) were taken from the records of Prider Manufacturers Ltd at 30 June 2019. Required (a) Prepare a cost of goods manufactured statement...
-
The following data were taken from the records of Manik Manufacturing Ltd for the year ended 30 June 2019. Required (a) Prepare the cost of goods manufactured schedule for the year ended 30 June...
Study smarter with the SolutionInn App