Some practice exercises:
let A = 3 + 4j
B = 3 - 2j
C = 2 <50˚
and compute D = (A+C)/B
D = 0.14+1.94j
let A = 2 + 2j
B = -1 + 3j
C = 2 + j
and compute D = (A*B)/C
compute E = (A+B)*C
find the magnitude and the phase angle for E.
find the read component and the imaginary component for E.
D= -2.4 + 3.2j E = -3 + 11j
phase angel = 105.26˚ , magnitude = 11.41
imaginary component = 11
real component = -3
Assignments:
let A1 = 3+ 2j
A2 = -1+4j
B = 2-2j
solve for C = (A1*B)/A2
hand calculation, C = -1.06 -2.24j
using FreeMat, C = -1.06 -2.24j
the magnitude and the phase angle for C
Solve for D = (A1+B)*A2
hand calculation
calculation with FreeMat, D = -5 +20j
Solving Matrix with complex numbers:
Matrix calculation with complex number has the same inputting method as real numbers
Conclusion:
Why waste time on inefficient hand calculation when you can solve for complex numbers easily on freeMat? The result will be the same but FreeMat is so much faster.
No comments:
Post a Comment