Ordinary Differential Equation Task

Assignment Help C/C++ Programming
Reference no: EM132407370

Ordinary Differential Equation Task -

Problem statement - Add a function to your class that solves the following ODE using semi-implicit approach with a weighting of 0.5 and fully -implicit approach.

dy/dx = -y f(y)

Where f(y)= is the function

Use the function to solve the ordinary equation with an initial condition of y(0) = 2 in the interval x = [0, 1] with increment of respective 0.1, 0.01 , 0.001.

Plot the result using each interval size in the same plot.

Assuming that the result obtained with Δx = 0.001 is the accurate result ,report the percentage error as a result of the two other intervals using the value of y estimated at x=1.

Notes : Make sure every line of your code has commented that explain what it does and submit the C++ code (all files with extensions .cpp or .h) the text file created and the graph. Also write the two function in a separate .cpp file and write the declaration in a separate .h file and include it into your main program.

Reference no: EM132407370

Questions Cloud

Evaluate children language and literacy development : Evaluate children's language and literacy development using evidence-based strategies. Through the lens of an experienced early childhood educator.
Describe the theories of leadership in brief : Information on several theories of leadership has been presented in this module. During this forum you will define, analyze and transform selected theories.
Focus on how models can use real data to create forecasts : introduced some challenges to policy making in developing countries. The idea is to focus on how models can use real data to create forecasts.
Discuss general strengths in mentoring relationship : Reflect on figure 2.1 from Chapter 2 and consider patterns that you have observed in any learning partnerships you have been involved in or have observed.
Ordinary Differential Equation Task : Ordinary Differential Equation Task - Use the function to solve the ordinary equation with an initial condition of y(0) = 2
Compute coefficient of variation for different allocations : Collect the daily stock prices over the past year from Yahoo! Finance for SPY, which is the symbol for the exchange traded fund.
Examine relevant organizations and key issues in education : Write a two- to three-page paper in which you examine relevant organizations and key issues in education that will be beneficial to you as you continue to work.
Important part of a persuasive paper : Define the issue and take a position on it, then justify the position that you take. Your reasoning is the most important part of a persuasive paper
What was the change in net working capital : If the net capital spending was $26,000, what was the change in net working capital?

Reviews

len2407370

11/25/2019 10:44:57 PM

I need to get it done. Notes : Make sure every line of your code has commented that explain what it does and submit the C++ code (all files with extensions .cpp or .h) the text file created and the graph .Also write the two function in a separate .cpp file and write the declaration in a separate .h file and include it into your main program.

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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