Skip to content

Commit

Permalink
Merge pull request #169 from moorepants/sympy-2024
Browse files Browse the repository at this point in the history
Minor updates to sympy chapter for 2024.
  • Loading branch information
moorepants authored Feb 12, 2024
2 parents 546c5db + 5d2f7ee commit 3de9bbe
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions sympy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ the bookkeeping becomes extremely tedious and error prone for systems with even
a small number of bodies. SymPy lets a computer handle the tedious aspects
(e.g. differentiation or solving linear systems of equations) and reduces the
errors one would encounter with pencil and paper. This chapter introduces SymPy
and the primary SymPy features needed we will be using.
and the primary SymPy features we will be using.

.. _SymPy: https://www.sympy.org
.. _computer algebra system: https://en.wikipedia.org/wiki/Computer_algebra_system
Expand All @@ -51,7 +51,7 @@ a format that is similar to the math in a textbook. Executing
:external:py:func:`~sympy.interactive.printing.init_printing` at the beginning
of your Jupyter Notebook will ensure that SymPy objects render as typeset
mathematics. I use the ``use_latex='mathjax'`` argument here to disable math
image generation.
png image generation, but that keyword argument is not necessary.

.. jupyter-execute::

Expand Down Expand Up @@ -334,7 +334,7 @@ There is also a standard representation accessed with the ``repr()`` function:

repr(expr3)

This form matches what you typically would type to create the function and it
This form matches what you typically would type to create the expression and it
returns a string. The ``print()`` function will display that string:

.. jupyter-execute::
Expand Down Expand Up @@ -780,7 +780,7 @@ Solving Linear Systems
You'll need to solve `linear systems of equations`_ often in this book. SymPy
offers `a number of ways to do this`_, but the best way to do so if you know a
set of equations are linear in specific variables is the method described
below. First, you should know you have equations of this form:
below. First, you should confirm you have equations of this form:

.. math::
Expand Down Expand Up @@ -1133,8 +1133,6 @@ else has asked your question), you can do so at the following places:
email.
- `SymPy Github Discussions <https://github.com/sympy/sympy/discussions>`_: Ask
questions via Github.
- `SymPy Gitter <https://gitter.im/sympy/sympy>`_: Ask questions in a live
chat.
- `Stackoverflow
<https://stackoverflow.com/questions/tagged/sympy?tab=Votes>`_: Ask and
search questions on the most popular coding Q&A website.

0 comments on commit 3de9bbe

Please sign in to comment.