Giter VIP home page Giter VIP logo

methods's Introduction

EVERYTHING ABOUT THE IMPLEMENTATIONS AND THE USE OF THE METHODS CAN BE FOUND IN THE REPORT

----    Euler   ----
·The first input is the function y'
    It cannot contain any variable beyond 'y' and 't'
    Functions of the math library should have the prefix math.
    Any float number in the function should be written like a parameter of Decimal()
    Examples of inputs can be found in the report.pdf
·The second input is the y0
·The third input is the t0
·The fourth input is an option the user has
    It can only be 1, 2 or 3, anything else will make the code end with exit 1
·The following inputs depends of the option chosen
    If the option chosen was 1, the next two inputs will be the height and the number of steps
    If the option chosen was 2, the next two inputs will be the height and the tf
    If the option chosen was 3, the next two inputs will be the number of steps and the tf

·The output is going to be the y(tf) and the graph of y
----    Euler   ----

----    Inverse Euler*   ----
*Check the Euler instructions
----    Inverse Euler   ----

----    Modified Euler*   ----
*Check the Euler instructions
----    Modified Euler   ----

----    Runge-Kutta*   ----
*Check the Euler instructions
----    Runge-Kutta   ----

----    Adams-Bashforth    ----
·The first input is the function y'
    It cannot contain any variable beyond 'y' and 't'
    Functions of the math library should have the prefix math.
    Any float number in the function should be written like a parameter of Decimal()
    Examples of inputs can be found in the report.pdf
·The second input is the y0
·The third input is the t0
·The fourth input is an option the user has
    It can only be 1, 2 or 3, anything else will make the code end with exit 1
·The following inputs depends of the option chosen
    If the option chosen was 1, the next two inputs will be the height and the number of steps
    If the option chosen was 2, the next two inputs will be the height and the tf
    If the option chosen was 3, the next two inputs will be the number of steps and the tf
·The seventh input is for the user to choose the order of the method
    It can only be 1, 2, 3, 4, 5 or 6 anything else will make the code end with exit 1
·The following inputs depends of the order chosen
    If the option chosen was 1, it won't be necessary any other input
    If the option chosen was 2, the next input will be the y1
    If the option chosen was 3, the next two inputs will be the y1 and y2
    If the option chosen was 4, the next three inputs will be the y1, y2 and y3
    If the option chosen was 5, the next four inputs will be the y1, y2, y3 and y4
    If the option chosen was 6, the next five inputs will be the y1, y2, y3, y4 and y5

·The output is going to be the y(tf) and the graph of y
----    Adams-Bashforth    ----

----    Adams-Moulton    ----
·The first input is the function y'
    It cannot contain any variable beyond 'y' and 't'
    Functions of the math library should have the prefix math.
    Any float number in the function should be written like a parameter of Decimal()
    Examples of inputs can be found in the report.pdf
·The second input is the y0
·The third input is the t0
·The fourth input is an option the user has
    It can only be 1, 2 or 3, anything else will make the code end with exit 1
·The following inputs depends of the option chosen
    If the option chosen was 1, the next two inputs will be the height and the number of steps
    If the option chosen was 2, the next two inputs will be the height and the tf
    If the option chosen was 3, the next two inputs will be the number of steps and the tf
·The seventh input is for the user to choose the order of the method
    It can only be 1, 2, 3, 4, 5 or 6 anything else will make the code end with exit 1
·The following inputs depends of the order chosen
    If the option chosen was 1, it won't be necessary any other input
    If the option chosen was 2, it won't be necessary any other input
    If the option chosen was 3, the next input will be the y1
    If the option chosen was 4, the next two inputs will be the y1 and y2
    If the option chosen was 5, the next three inputs will be the y1, y2 and y3
    If the option chosen was 6, the next four inputs will be the y1, y2, y3 and y4
    
·The output is going to be the y(tf) and the graph of y
----    Adams-Moulton    ----

Made by Vitor Martins on November 10th, 2017
Website: cin.ufpe.br/~vmam
Contact: [email protected]

methods's People

Contributors

vitor-amartins avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.