Python Forum
About mathematical equations
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About mathematical equations
Hi guys!
I try to write equatoins not like that:
But i like to write how we can write on our hands.Like this image
[Image: EXn6RR9HHpH2AH2j9]

So how can i write?
Note: i slightly remember that i can do it like : print(“$ y=x^2+1 $”)
The syntax $ y=x^2+1 $ is Latex (or TeX) syntax. In python, you can use it in matplotlib graphics or in Jupyter notebooks. You can also use it in a web browser with the mathjax extension. Last but not least, you can use Python to produce Latex documents and compile them by using Latex. You could also search in Pypi the existing modules related to latex.

In an ordinary terminals, it is not possible to display equations this way because terminals normally don't have this capability. They are only matrices of characters.
I forgot to mention the sympy module which also has capabilities with respect to latex.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Recognising mathematical expressions from word and pdf file Preeti15 0 342 Aug-19-2020, 09:06 AM
Last Post: Preeti15
  Mathematical Conversion Scripts for Weather Station Mickey53usa 11 1,178 Jun-24-2020, 03:14 AM
Last Post: buran
  Mathematical Operators in String AgileAVS 1 585 Mar-04-2020, 04:14 PM
Last Post: Gribouillis
  Mathematical function input Tiiill 2 707 Sep-10-2019, 09:25 PM
Last Post: nilamo
  Beginner user: mathematical operations Mahdi1994 1 1,234 Mar-19-2018, 11:07 AM
Last Post: Larz60+
  how to make a mathematical operation without the command "print" ewar2606 4 1,270 Mar-15-2018, 07:19 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020