Formulas that appear in Doing Math with Python

Formulas that appear in Doing Math with Python

Tags:Python,Math,SciPy,NumPy
I started reading the introduction to mathematics starting with Python, so a memorandum. Practice writing formulas with MathJax.

Math English

Both math and English are amateurs. During study. This Math Vocabulary I'm going to be indebted to you. Also, refer to $ \ LaTeX $ and MathJax.

Cahpter 1 Working with Numbers Converting Unit Fahrenheit-> Celsius $ C = (F - 32) \times \frac{5}{9} $ Celsius-> Fahrenheit $ F = ( C \times \frac{9}{5}) + 32 $

Quadratic Equation ~ Quadratic Equation ~

Nostalgic

$ y = ax^2 + bx + c $

Solution $ x = \ frac {-b \ pm \ sqrt {b ^ 2 -4ac}} {2a} $

Cahpter 2 Visualizing Data with Graphs

Newton's law of universal Gravitation ~ Newton's law of universal Gravitation ~

$ F= \frac{Gm_1m_2}{r^2} $

gravitationalForce.png

Projectile Motion ~ Projectile Motion ~ (wiki)

image from http://formulas.tutorvista.com/physics/projectile-motion-formula.html

Cahpter 3 Discribing Data with Statistics Basic Statistics - variance and standard deviation $ variance= \frac{\sum(x_i - x_m)^2}{n} $ $v_{y} = u\sin\theta - gt $

$ standard\hspace{3pt}deviation = \sqrt{variance} $

Correlation Coefficient Correlation coefficient

$ Correlation = \frac{n\sum xy - \sum x \sum y}{\sqrt{\bigl(n\sum x^2 - (\sum x)^2\bigl)\bigl(n\sum y^2 - (\sum y)^2 \bigl)}}$

Chapter 4 Algebra and Symbolic Math with Sympy The SymPy that appears in this chapter is quite interesting, so I will summarize it separately.

Series (wiki)

$ x + \frac{x^2}{2} + \frac{x^3}{3} + \frac{x^4}{4} + \cdots + \frac{x^n}{n}$

This example seems to be Convergent (divergent is Divergent) For example, if $ n = 5 $ and $ x = 1.2 $ is substituted (Substitute), It becomes $ \ small {3.51206400000000} \ $. It's strange that this can be solved programmatically using Sympy.

equation of motion $ s = ut + \frac{1}{2}at^2 $ a constant acceleration u initial velocity

Solving t ... $ t = \frac{-u + \sqrt{2.0as + u^2}}{a} $ $ t = \frac{-(u + \sqrt{2.0as + u^2})}{a} $

Chapter 5 Playing with Sets and Productivity

Cartesian Product

For two sets $ A B $

$ A \times B = \{ (a,b) \mid a \in A \land b \in B \}$

Simple Pendulum (pendulum movement)

$ T = 2 \pi \sqrt{ \frac{L}{g}} $

$ T = $ pendulum period
the amount of time it takes for the pendulum to complete one full swing

$ g = $ gravitational acceleration ($ 9.8 m/s^2 $)

A=\left(
\begin{matrix}
1 & 2 \\
3 & 4 
\end{matrix}
\right)

Recommended Posts

Formulas that appear in Doing Math with Python
Draw contour lines that appear in textbooks (Python)
Use Cursur that closes automatically with sqlite3 in Python
Scraping with selenium in Python
Working with LibreOffice in Python
Scraping with chromedriver in python
Debugging with pdb in Python
Working with sounds in Python
Scraping with Selenium in Python
Scraping with Tor in Python
Tweet with image in Python
Combined with permutations in Python
Let's create a script that registers with Ideone.com in Python.
Number recognition in images with Python
Testing with random numbers in Python
GOTO in Python with Sublime Text 3
Working with LibreOffice in Python: import
Scraping with Selenium in Python (Basic)
CSS parsing with cssutils in Python
Numer0n with items made in Python
Open UTF-8 with BOM in Python
Use rospy with virtualenv in Python3
Use Python in pyenv with NeoVim
Heatmap with Dendrogram in Python + matplotlib
Read files in parallel with Python
Password generation in texto with python
Use OpenCV with Python 3 in Window
Until dealing with python in Atom
Get started with Python in Blender
Working with DICOM images in Python
Write documentation in Sphinx with Python Livereload
Display LaTeX notation formulas in Python, matplotlib
Get additional data in LDAP with python
[Python] A program that creates stairs with #
Try logging in to qiita with Python
Stress Test with Locust written in Python
Python3> in keyword> True with partial match?
Exclusive control with lock file in Python
Try mathematical formulas using Σ with python
Tips for dealing with binaries in Python
Display Python 3 in the browser with MAMP
Post Test 3 (Working with PosgreSQL in Python)
Notes on doing Japanese OCR with Python
Dealing with "years and months" in Python
Process multiple lists with for in Python
Replace non-ASCII with regular expressions in Python
Connect with mysql.connector with ssh tunnel in Python 3.7
One liner webServer (with CGI) in python
Get Started with TopCoder in Python (2020 Edition)
"Manim" that can draw animation of mathematical formulas and graphs with Python
Visualize point P that works with Python
Easy image processing in Python with Pillow
A typed world that begins with Python
To work with timestamp stations in Python
Call APIGateWay with APIKey in python requests
Read text in images with python OCR
Introduced sip-4.14 in python3.2.2 environment with MacOS 10.7.4
Word count that counts only words that start with a capital letter in python
I registered PyQCheck, a library that can perform QuickCheck with Python, in PyPI.
I made a familiar function that can be used in statistics with Python
Introducing the magical "jsii" that runs programs written in TypeScript with Python etc.