Skip to content

h7shin/rootapproximate

Repository files navigation

rootapproximate

C++ program (side project) that approximates a root of a valid mathematical function/expression.
The program reads a .rtap file as an input and determines the approximate root of the expression.

.rtap format (see input.rtap as an example):

First line : some mathematical expression, bring all variables to the right hand side
Second line: number of iterations/resolution from 1 (low resolution) to 15 (high resolution safe)
Third line : start value of x
Fourth line: end value of x
first y value
...
last y value
EOF

The program then exports the output as a .csv file which can be viewed using Excel spreadsheet.

About

approximates a root of mathematical function/expression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages