Найду корень уравнения: (2ax+b)^2 =D
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(4*a*b)^2 - 4 * (4*a^2) * (b^2 - d) = -16*a^2*(b^2 - d) + 16*a^2*b^2
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
// _________________ \ / _________________ \ \ / _________________ \ / _________________ \
|| 4 / 2 2 /atan2(im(d), re(d))\| | 4 / 2 2 /atan2(im(d), re(d))\| | | 4 / 2 2 /atan2(im(d), re(d))\| | 4 / 2 2 /atan2(im(d), re(d))\|
||-im(b) + \/ im (d) + re (d) *sin|-------------------||*re(a) |-re(b) + \/ im (d) + re (d) *cos|-------------------||*im(a)| |-im(b) + \/ im (d) + re (d) *sin|-------------------||*im(a) |-re(b) + \/ im (d) + re (d) *cos|-------------------||*re(a)
|\ \ 2 // \ \ 2 // | \ \ 2 // \ \ 2 //
x1 = I*|-------------------------------------------------------------- - --------------------------------------------------------------| + -------------------------------------------------------------- + --------------------------------------------------------------
| / 2 2 \ / 2 2 \ | / 2 2 \ / 2 2 \
\ 2*\im (a) + re (a)/ 2*\im (a) + re (a)/ / 2*\im (a) + re (a)/ 2*\im (a) + re (a)/ // _________________ \ / _________________ \ \ / _________________ \ / _________________ \
||4 / 2 2 /atan2(im(d), re(d))\ | |4 / 2 2 /atan2(im(d), re(d))\ | | |4 / 2 2 /atan2(im(d), re(d))\ | |4 / 2 2 /atan2(im(d), re(d))\ |
||\/ im (d) + re (d) *cos|-------------------| + re(b)|*im(a) |\/ im (d) + re (d) *sin|-------------------| + im(b)|*re(a)| |\/ im (d) + re (d) *cos|-------------------| + re(b)|*re(a) |\/ im (d) + re (d) *sin|-------------------| + im(b)|*im(a)
|\ \ 2 / / \ \ 2 / / | \ \ 2 / / \ \ 2 / /
x2 = I*|------------------------------------------------------------- - -------------------------------------------------------------| - ------------------------------------------------------------- - -------------------------------------------------------------
| / 2 2 \ / 2 2 \ | / 2 2 \ / 2 2 \
\ 2*\im (a) + re (a)/ 2*\im (a) + re (a)/ / 2*\im (a) + re (a)/ 2*\im (a) + re (a)/