Monday, May 28, 2012

Freemat: complex number

Purpose: using FreeMat to do the complex number question, and using it to do the AC circuit calculation.

1 Let A1=3+2j, A2= -1+4j, B= 2-2j, Determin C=(A1*B)/A2

c =-1.0588 -2.2353j



2.change the rectangular to polar form.
abs(complex number) will get it sqrt(R^2+X^2), and angle(complex number) will get the angle of it by radius.

c=2.47 ∠ -115.35°


3.redo item 1 and 2 for D=(A1+B)*A2

d= -5+20j
  = 20.62 ∠ 104.04°


4. do the lecture part
(8 + j8)I1 + j2I2 = j50
j2I1 + (4 − j4)I2 = − j20 − j10



I1=2.0588+2.9412j
   = 3.59 ∠ 55.01°
I2=5-3.5294j
   = 6.12 ∠ -35.22°

No comments:

Post a Comment