Commit fd3fe439 authored by Patrick Vergain's avatar Patrick Vergain
Browse files

Add test.py

parent dd0b01aa
Pipeline #112211 passed with stage
in 31 seconds
......@@ -64,3 +64,58 @@ sympy
::
(projet_ethan) pvergain@UC004 ~/projects/projet_ethan > ipython
::
Python 3.7.2 (default, Jan 28 2019, 08:35:57)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.2.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from sympy.plotting import plot
In [2]: from sympy import Symbol
In [4]: x=Symbol('x')
In [6]: plot(2*x+3)
22.2727 | ...
| ..
| ....
| ...
| ...
| ...
| ...
| ...
2.63636 | ---------------------------...-------------------------
| ..
| ....
| ...
| ...
| ..
| ....
| ..
| ...
-17 | ....
-10 0 10
Out[6]: <sympy.plotting.plot.Plot at 0x7f125ea42be0>
Module python test.py
=======================
.. code-block:: python
:linenos:
from sympy.plotting import plot
from sympy import Symbol
x=Symbol('x')
plot(2*x+3)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment