Numerical solution of a two-point boundary-value problem

Assignment Help JAVA Programming
Reference no: EM13537364

How to combine both Secant and Runge-Kutta methods and make it to the two-point boundary-value.

Construct a computer program that uses both the secant  method and the Runge-Kutta method to obtain a numerical solution to the two-point boundary-value problem:

x' = f(t,x) = x + 0.09 x 2 + cos(10 t) differential equation

x(0) + x(1) - 3.0 = 0 boundary condition

Starting with the initial guesses 0.7 and 1.0 for the (unknown) initial value, x(0), obtain an approximation to x(0) {for the final solution, x(t)} such that the boundary condition is satisfied to within a tolerance of 10-4

Use a fixed stepsize of 0.025 (i.e., take 40 steps each time you integrate the differential equation from t=0 to t=1). 

Write your program so that the output shows the values of x(0), x(1), and x(0)+x(1)-3 (the error in satisfying the boundary condition) at the end of each iteration of the secant method.

After the last iteration of the secant method, re-integrate from t=0 to t=1 and print out the solution for x(t) over the range [0,1].

1362_Runge-Kutta method.jpg

Reference no: EM13537364

Questions Cloud

Evaluate the maximum height reached by the ball : A soccer ball is kicked with an initial speed of 27m/s at an angle of 23 degrees with respect to the horizon. Find the maximum height reached by the ball
What is the rocks speed when it hits the water : Imagine that you are standing at the top of a cliff 45 m high overlooking the ocean and you throw a rock straight downward at a speed of 15m/s
Explain a mixture of potassium iodide and benzoic acid : Describe the Liquid-liquid extraction of a mixture of potassium iodide , benzoic acid and napthalene. Explain reactions and interactions that are important
What should be the magnetic field strength : An electric motor contains a 250-turn circular coil 5.8cm in diameter. If it is to develop a maximum torque of 1.6Nm at a current of 4.0 A, what should be the magnetic field strength
Numerical solution of a two-point boundary-value problem : How to combine both Secant and Runge-Kutta methods and make it to the two-point boundary-value - Numerical Solution of a Two-Point Boundary
How far is the rocket above the earths surface : A 2.60×104- rocket blasts off vertically from the earth's surface with a constant acceleration. How far is the rocket above the earth's surface when it breaks the sound barrier
Differentiate between direct and indirect costs of bankruptc : Differentiate between direct and indirect costs of bankruptcy. Which of the two is generally more significant?
Define why the number of moles must remain constant : Explain why the number of moles must remain constant for any of the gas laws to apply
What is the difference between shareholder reporting : What is the difference between shareholder reporting and tax reporting of profits?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd