An open API service indexing awesome lists of open source software.

https://github.com/paltoudara/graph_library


https://github.com/paltoudara/graph_library

cpp cpp17 graph sfml

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

This program creates a website in a local server and takes an input function following these rules:

~ +-ax^n (when the +,-,a is not necessary a!=0 and a belongs to Z AND Z!=0 ,n>0 and n belongs to Z)


~ +-ae^nx (when the +,-,a is not necessary n>0 and a belongs to Z AND Z!=0 n>0 and n belongs to Z)


~ +-alog(n*x) (when the +,-,a is not necessary and ฮฑ belongs to Z AND Z!=0 n>0 and n belongs to Z)


~ +-asin(n*x) (when the +,-,a is not necessary and a belongs to Z AND Z!=0 n>0 and n belongs to Z)


~ +-acos(n*x) (when the +,-,a is not necessary and a belongs to Z AND Z!=0 n>0 and n belongs to Z)


~ -+a^x (when the +,-,a is not necessary a>0 and a belongs to N AND N!=0)

~(Z is for integers)

# ๐Ÿ†˜Use the + or - a or none of them๐Ÿ†˜

and gives to the user a 2D graph that represents the function he gave.

# EXAMPLES:
For -15x^3:

Graph:

![Something_Went_Wrong](Examples/output.png)

For e^5x+5log(5x)-2x^2:

![Something_Went_Wrong](Examples/output2.png)

For 5^x+2log(5x):

![Something_Went_Wrong](Examples/output3.png)

# ๐Ÿ“ฆ Dependencies:

SFML ๐Ÿ–Š

Used for graph visualization.

๐Ÿ”— SFML License: https://www.sfml-dev.org/license.php

cpp-httplib ๐ŸŒ

Used to create and maintain the local server.

๐Ÿ”— cpp-httplib MIT License: https://github.com/yhirose/cpp-httplib/blob/master/LICENSE

# ๐Ÿ‘ฅCONTRIBUTORS:

~The-Mastermind1

# THE FULL APPLICATION IS IN:
๐Ÿ”— https://github.com/The-Mastermind1/Graph_Creator