Design and construct a computer program

Assignment Help JAVA Programming
Reference no: EM13518797

Design and construct a computer program in one of the approved languages (C, C++, Java, Pascal, etc.) 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 a third-order method. 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) = (5 / (4 (1+t2))) x + cos(3 x)

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=3.0

for seven different values of the stepsize,

h=1.0, 0.5 , 0.25 , 0.125 , 0.0625 , 0.03125 , and 0.015625 .

In other words, make seven runs with 3, 6, 12, 24, 48, 96, and 192 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.

1976_Construct a computer program.png

Reference no: EM13518797

Questions Cloud

Papineaus causal argument for materialism : Briefly state Papineau’s causal argument for materialism. What is the abstract claim that he considers to be a necessary presupposition of his argument? Why is it important for him to presuppose such a claim?
Determine the energy difference between the levels : The anomalous Zeeman effect is studied in an advanced student laboratory. A spectral lamp is filled with the vapor of an unknown atom. What is the energy difference between the levels
How can different mountain ranges across the world : How can different mountain ranges across the world be used as tourist attractions?
Calculate the pressure exerted on the ground : Calculate the pressure exerted on the ground by a 57 kg person standing on one foot. Assume that the bottom of the person'sfoot is 13 cm wide and 28 cm long
Design and construct a computer program : Design and construct a computer program in one of the approved languages (C, C++, Java, Pascal, etc.) that will illustrate the use of a third-order explicit Runge-Kutta method of your own design.
Explanation for mind-body interaction and the problems : In Descartes’ argument for the existence of the body, what guarantees its independence from the mind and what guarantees that one’s perception of it is not a mere product of some deceitful schemes?
Explain equal mass samples of three liquids : Equal mass samples of three liquids, A, B and C are obtained. The initial temperatures are 14 C, 24 C, and 40 C for liquids A, B, and C, respectively. If liquids A and V are mixed, the final temperature is 20 C and if liquids V and C are mixed, th..
Obtain the minimum diameter mirror on a telescope : What is the minimum diameter mirror on a telescope that would allow you to see details as small as 4.85 km on the moon some 384000 km away
Explain his view of moral education : Why would Aristotle argue that all education is moral education? Explain his view of moral education. Please in layman's terms.

Reviews

Write a Review

JAVA Programming Questions & Answers

  A class for counting the number of people

Specification: A class for counting the number of people in a room. This might be used to control how many people are allowed into a club with a doorman.

  The bookstore wants you to make an object-oriented model

student bookstore at pleasant creek community college situation the bookstore staff at pleasant creek community college

  Write java program to enter number of marks

Write a java program called AverageMark.java. This program should allow the user to enter any number of marks and then display the minimum, maximum & average mark.

  Cognitive-based approaches to understanding motivation

Compare and contrast the need-based and cognitive-based approaches to understanding motivation?

  Discussion htmlcssjavascript placementnbspplease respond to

discussion htmlcssjavascript placementnbspplease respond to the followingcompare and contrast the process of adding

  Write methods in java

1. int countVowels (String s) That for a given string s, return number of vowels in s.

  Add a button that will read the text fields

Create a GUI with two text fields for inputting the dimensions of a rectangle. Identify these two text fields as Length and Width with labels. Add a button that will read the text fields and cause the GUI to display the area and perimeter of the r..

  Java file input and outputnbspcreate a file that contains

java file input and outputnbspcreate a file that contains your favorite movie quote. use a text editor such as notepad

  Java''s type int has limit onhow large aninteger it can store

Java's type int has a limit on how large an integer it can store. This limit can be circumvented by representing an integer as an array of digits. Write an interactive program that adds two integers of up to 50 digits each.

  Design 3 shoppingbay is an online auction service that

3. shoppingbay is an online auction service that requires several reports. design a flowchart or psuedocode this is

  Minimal spanning tree decreasing edge dismissal

Minimal Spanning Tree Decreasing Edge Dismissal, Reverse-delete algorithm. Develop an implementation that computes the MST

  Mutant bacterium-synthesize the amino acid tyrosine

Consider a mutant bacterium you have isolated which is unable to synthesize the amino acid tyrosine. You grow it in the presence of a chemical mutagen and isolate a single revertant, which is now able to grow in the absence of tyrosine

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