一元二次方程
(1)源码
$ax^2+bx+c=0,a \neq 0$
$\Delta=b^2-4ac$
$if \Delta \ge 0\ then$
$\quad \displaystyle x_1=\frac{-b+\sqrt{b^2-4ac}}{2a}$
$else$
$\quad \displaystyle x_2=\frac{-b-\sqrt{b^2-4ac}}{2a}$
$else\ if$
$sin$
$sin(x+\frac{\pi}{4})+cos(x-\frac{π}{3})+ln(e^{x+1}+5x)=0$
$\displaystyle \lim_{n\to +\infty}(1+\frac{1}{n}^n=e)$
(2)效果
a
x
2
+
b
x
+
c
=
0
,
a
≠
0
ax^2+bx+c=0,a \neq 0
ax2+bx+c=0,a=0
Δ
=
b
2
−
4
a
c
\Delta=b^2-4ac
Δ=b2−4ac
i
f
Δ
≥
0
t
h
e
n
if \Delta \ge 0\ then
ifΔ≥0 then
x
1
=
−
b
+
b
2
−
4
a
c
2
a
\quad \displaystyle x_1=\frac{-b+\sqrt{b^2-4ac}}{2a}
x1=2a−b+b2−4ac
e
l
s
e
else
else
x
2
=
−
b
−
b
2
−
4
a
c
2
a
\quad \displaystyle x_2=\frac{-b-\sqrt{b^2-4ac}}{2a}
x2=2a−b−b2−4ac
e
l
s
e
i
f
else\ if
else if
s i n ( x + π 4 ) + c o s ( x − π 3 ) + l n ( e x + 1 + 5 x ) = 0 sin(x+\frac{\pi}{4})+cos(x-\frac{π}{3})+ln(e^{x+1}+5x)=0 sin(x+4π)+cos(x−3π)+ln(ex+1+5x)=0
lim n → + ∞ ( 1 + 1 n n = e ) \displaystyle \lim_{n\to +\infty}(1+\frac{1}{n}^n=e) n→+∞lim(1+n1n=e)
定积分
(1)源码
$\displaystyle \int_{-1}^2(2x+1)dx=(x^2+x)|^2_{-1})=6-0=6$
(2)效果
∫ − 1 2 ( 2 x + 1 ) d x = ( x 2 + x ) ∣ − 1 2 ) = 6 − 0 = 6 \displaystyle \int_{-1}^2(2x+1)dx=(x^2+x)|^2_{-1})=6-0=6 ∫−12(2x+1)dx=(x2+x)∣−12)=6−0=6
万有引力
$F=G\frac{mM}{r^2}$
F = G m M r 2 F=G\frac{mM}{r^2} F=Gr2mM