Skip to content

Afficheur de graphiques et calculs de fonction en JAVA dans le cadre d'un projet à l'ISEN Lille

License

Notifications You must be signed in to change notification settings

antoineheseque/iMath-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iMath : Editor

Version

Table of Contents

Documentation
Getting Started
Features
Functions

Documentation is generated using javadoc and is available at: Documentation

Dependencies

JDK14 JavaFX14

iMath is using the following dependencies:

Downloading the repository

git clone [email protected]:antoineheseque/iMath-NodeEditor.git

Or click the Clone or Download button on the right.

IDE

We used IntelliJ idea (download here). If you got any errors, make sure you are using the Open JDK 14 v14.0.1 under File>Project Structure>Project>Project SDK and 14 - Switch expressions under Project language level in the same menu. Please verify if the JavaFX library is imported, and all the parameters are set in the Build Configuration. Follow the steps (here) and (here).

Also add javafx.web in the --add-modules in the VM Configuration so it should look like this: --module-path %JavaFX/lib path% --add-modules=javafx.controls,javafx.fxml,javafx.web

Build / Run

Click the build or run button to launch the application.

The features below can use many functions listed in the Functions category.

Simple equation

You can enter a function in the f(x) field and calculate it in a specific point. For this case of use, you have to enter the x value in the associated field and click on the calculate button. The result will be shown right under the button.

You can also calculate the function in multiple points and show it in a graph. For that you need to set a range for the X-Axis (from xx to xx) and set the number of points. Since we are using a Thread for all the calculation, you can set the number of points to 10 000 and have fun!

Parametric equations

The parametric equations are the same as the simple equation, except the the f(x) function describe the function associated to the X-Axis, and the g(x) function describe the function associated to the Y-Axis.

The range from xx to xx points will be applied for both functions.

You can also use the simple calculation so you will get a result for both of the functions.

Mathematics

Basic operators: +, -, *, /
Complex operators: ^ (power), ( ) (parenthesis)
Functions:

ln(a) where a can be equals to x, 10x+23, ...
sqrt(a)
exp(a)

Trigonometry

cos(a)
sin(a)
tan(a)
sinc(a)
pi (= 3.141592653589793)

About

Afficheur de graphiques et calculs de fonction en JAVA dans le cadre d'un projet à l'ISEN Lille

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages