This Python script allows you to plot various types of parabolas.
- Choose the type of parabola you want to plot by entering the corresponding number.
- Enter the required coefficients and values as prompted.
- The plot will be displayed.
To plot ( y^2 = 4ax ):
- Run the script.
- Enter
1
to choose ( y^2 = 4ax ). - Enter the coefficient
a
. - Enter the
x
value. - The plot will be displayed.
Run the script using Python:
python parabola_func_graph.py
- y^2 = 4ax
- x^2 = 4ay
- y = ax^2 + bx + c
- x = ay^2 + by + c
- y^2 = -4ax
- x^2 = -4ay
- numpy
- matplotlib
Author Adnan Adib