Jupyter Notebook has support for many kinds of interactive outputs, including the ipywidgets ecosystem as well as many interactive visualization libraries. These are supported in Jupyter Book, with the right configuration. This page has a few common examples. First off, we’ll download a little bit of data and show its structure. Jupyter Notebook files Notebooks written entirely in Markdown Custom notebook formats and Jupytext reStructuredText files Build your book. # MyST Cheat Sheet. Jupyter Notebook is a web-based interface that helps you to build and exchange documents containing live code, visualizations, informative text, and equations. Also, Jupyter Notebook includes statistical modeling, numerical simulation, machine learning, data cleaning, and transformation. In this cheat sheet you will learn the following techniques.
This document will be available to you during tests and exams
7.1. Table of Contents¶
7.2. Numeric¶
7.3. Basic plotting functions¶
7.4. Symbolic manipulation¶
7.4.1. Imports¶
Symbol definitions
Example controller and system
7.4.2. Working with rational functions and polynomials¶
We often want nice rational functions, but sympy doesn’t make expressions rational by default
The cancel
function forces this to be a fraction. collect
collects terms.
In some cases we can factor equations:
Obtain the numerator and denominator:
If you want them both, you can use
Convert to polynomial in s
Once we have a polynomial, it is easy to obtain coefficients:
Calculate the Routh Array
To get a function which can be used numerically, use lambdify
:
7.4.3. Functions useful for discrete systems¶
Write in terms of positive powers of (z):
Write in terms of negative powers of (z):
Inversion of the (z) transform
7.5. Equation solving¶
7.5.1. Symbolic¶
7.5.2. Numeric sympy¶
7.5.3. Numeric¶
7.6. Matrix math¶
7.6.1. Symbolic¶
Creation
Jupyter Notebook Tutorial Pdf
Determinant, inverse, transpose
Math operations: Multiplication, addition, elementwise multiplication:
Jupyter Cheat Sheet Pdf
7.6.2. Numeric¶
Creation
Determinant, inverse, transpose
Jupyter Notebook Tutorial
Math operations: Multiplication, addition, elementwise multiplication: