|
4 | 4 | "cell_type": "markdown", |
5 | 5 | "metadata": {}, |
6 | 6 | "source": [ |
7 | | - "# Sympy - Symbolic algebra in Python" |
| 7 | + "# SymPy - Symbolic algebra in Python" |
8 | 8 | ] |
9 | 9 | }, |
10 | 10 | { |
|
261 | 261 | "cell_type": "markdown", |
262 | 262 | "metadata": {}, |
263 | 263 | "source": [ |
264 | | - "The imaginary unit is denoted `I` in Sympy. " |
| 264 | + "The imaginary unit is denoted `I` in SymPy. " |
265 | 265 | ] |
266 | 266 | }, |
267 | 267 | { |
|
462 | 462 | "cell_type": "markdown", |
463 | 463 | "metadata": {}, |
464 | 464 | "source": [ |
465 | | - "SymPy uses a library for artitrary precision as numerical backend, and has predefined SymPy expressions for a number of mathematical constants, such as: `pi`, `e`, `oo` for infinity.\n", |
| 465 | + "SymPy uses a library for arbitrary precision as numerical backend, and has predefined SymPy expressions for a number of mathematical constants, such as: `pi`, `e`, `oo` for infinity.\n", |
466 | 466 | "\n", |
467 | 467 | "To evaluate an expression numerically we can use the `evalf` function (or `N`). It takes an argument `n` which specifies the number of significant digits." |
468 | 468 | ] |
|
629 | 629 | "cell_type": "markdown", |
630 | 630 | "metadata": {}, |
631 | 631 | "source": [ |
632 | | - "We can also combine numerical evolution of expressions with NumPy arrays:" |
| 632 | + "We can also combine numerical evaluation of expressions with NumPy arrays:" |
633 | 633 | ] |
634 | 634 | }, |
635 | 635 | { |
|
692 | 692 | "cell_type": "markdown", |
693 | 693 | "metadata": {}, |
694 | 694 | "source": [ |
695 | | - "However, this kind of numerical evolution can be very slow, and there is a much more efficient way to do it: Use the function `lambdify` to \"compile\" a Sympy expression into a function that is much more efficient to evaluate numerically:" |
| 695 | + "However, this kind of numerical evaluation can be very slow, and there is a much more efficient way to do it: Use the function `lambdify` to \"compile\" a SymPy expression into a function that is much more efficient to evaluate numerically:" |
696 | 696 | ] |
697 | 697 | }, |
698 | 698 | { |
|
779 | 779 | "cell_type": "markdown", |
780 | 780 | "metadata": {}, |
781 | 781 | "source": [ |
782 | | - "One of the main uses of an CAS is to perform algebraic manipulations of expressions. For example, we might want to expand a product, factor an expression, or simply an expression. The functions for doing these basic operations in SymPy are demonstrated in this section." |
| 782 | + "One of the main uses of an CAS is to perform algebraic manipulations of expressions. For example, we might want to expand a product, factor an expression, or simplify an expression. The functions for doing these basic operations in SymPy are demonstrated in this section." |
783 | 783 | ] |
784 | 784 | }, |
785 | 785 | { |
|
919 | 919 | "cell_type": "markdown", |
920 | 920 | "metadata": {}, |
921 | 921 | "source": [ |
922 | | - "The opposite a product expansion is of course factoring. The factor an expression in SymPy use the `factor` function: " |
| 922 | + "The opposite of product expansion is of course factoring. To factor an expression in SymPy use the `factor` function: " |
923 | 923 | ] |
924 | 924 | }, |
925 | 925 | { |
|
1589 | 1589 | "cell_type": "markdown", |
1590 | 1590 | "metadata": {}, |
1591 | 1591 | "source": [ |
1592 | | - "We can evaluate sums and products using the functions: 'Sum'" |
| 1592 | + "We can evaluate sums using the function `Sum`:" |
1593 | 1593 | ] |
1594 | 1594 | }, |
1595 | 1595 | { |
|
0 commit comments