You are on page 1of 1

13/05/17 8:35 MATLAB Command Window 1 of 1

>> x=[pi/3 pi/4]

x =

1.0472 0.7854

>> C=sqrt(x-x.^2)

C =

0.0000 + 0.2223i 0.4105 + 0.0000i

>> D=log(C)

D =

-1.5036 + 1.5708i -0.8903 + 0.0000i

>> E=(sin(x)).^3

E =

0.6495 0.3536

>> y=D./E

y =

-2.3150 + 2.4184i -2.5181 + 0.0000i

>>

You might also like