complex

41 days ago by bennettmeredith

# Solve equation (3+2i)z + (4-5i) = 2+3i 
       
z = ((2+3*I)-(4-5*I))/(3+2*I);z 
       
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{28}{13} i + \frac{10}{13}
\newcommand{\Bold}[1]{\mathbf{#1}}\frac{28}{13} i + \frac{10}{13}
# We can check our answer 
       
bool((3+2*I)*z+(4-5*I)==(2+3*I)) # operator "bool" required to force true/false evaluation 
       
\newcommand{\Bold}[1]{\mathbf{#1}}\mathrm{True}
\newcommand{\Bold}[1]{\mathbf{#1}}\mathrm{True}
# Sage will solve the equation too 
       
z=var("z"); solve((3+2*I)*z+(4-5*I)==(2+3*I),z) 
       
\newcommand{\Bold}[1]{\mathbf{#1}}\left[z = \left(\frac{28}{13} i + \frac{10}{13}\right)\right]
\newcommand{\Bold}[1]{\mathbf{#1}}\left[z = \left(\frac{28}{13} i + \frac{10}{13}\right)\right]