QuantumCore

Hands-on lab · 1 step

Multiply by a phase

Compute w=(1+i) eiπ/4w=(1+i)\,e^{i\pi/4} in Cartesian form, using Euler's formula and polar multiplication.

0/1 step passedBest score 0/100

Step 1: Compute (1+i) times a phase

Compute w=(1+i) eiπ/4w=(1+i)\,e^{i\pi/4} and enter it in Cartesian form w=a+ibw=a+ib (as a complex number). You may work in Cartesian form with Euler's formula eiθ=cos⁡θ+isin⁡θe^{i\theta}=\cos\theta+i\sin\theta, or in polar form using r1eiθ1 r2eiθ2=r1r2 ei(θ1+θ2)r_1e^{i\theta_1}\,r_2e^{i\theta_2}=r_1r_2\,e^{i(\theta_1+\theta_2)}. Answers are accepted within 10−310^{-3}.

Enter exact expressions or decimals, e.g. 1/sqrt(2), pi/3, (1+i)/sqrt(6), exp(i*pi/4). Complex values are allowed.

enter a value
Fill every field with a valid expression.