1.一元二次方程
1.源码
a
x
2
+
b
x
+
c
=
0
,
a
≠
0
ax^2+bx+c=0,\ a\neq0
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
+
s
q
r
t
b
2
−
4
a
c
2
a
\quad \displaystyle x_1=\frac{-b+sqrt{b^2-4ac}}{2a}
x1=2a−b+sqrtb2−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
n
d
i
f
end\ if
end if
2、三角函数、指数函数和对数函数
s i n ( x + π 4 ) + c o s ( x − π 3 ) + I n ( e x + 1 + 5 x ) = 0 \displaystyle \mathbf{sin} \Big(x+\frac{\pi}{4}\Big)+\mathbf{cos}\Big(x- \frac{\pi}{3}\Big)+\mathbf{In}\Big(e^{x+1}+5x\Big)=0 sin(x+4π)+cos(x−3π)+In(ex+1+5x)=0
F 引 = G M m r 2 \displaystyle \mathbf{F}_引=\displaystyle \mathbf{G}\frac{{Mm}}{r^2} F引=Gr2Mm