Buscar

Matlab-Calculos Numeros Complexos

Prévia do material em texto

20/08/18 09:05 MATLAB Command Window 1 of 2
>> % Realize o cálculo com os complexos
>>
>> (2.000 - 4.000i) / (1.000 +3.000i)
ans =
-1.0000 - 1.0000i
>> (2.300+2.000i) * (2.500 - 7.000i)
ans =
 19.7500 -11.1000i
>> ((7.8 + 3.0i)*(2.0 - 4.0i))/(5.0+ 2.3i)+(1.4 +2.7i)
ans =
 4.0425 - 3.5555i
>> % Encontre o resto
>>
>> rem((7/3),(19/pi))
ans =
 2.3333
>> rem((3^2),(86/(pi^2)))
ans =
 0.2864
>> rem(((sqrt(9)*factorial(15))*9-7)),(sqrt(25)* (12/3)*(pi^2)-19+78))
rem(((sqrt(9)*factorial(15))*9-7)),(sqrt(25)* (12/3)*(pi^2)-19+78))
| 
Error: Unbalanced or unexpected parenthesis or bracket. 
>> rem(((sqrt(9)*factorial(15))*9-7)),(sqrt(25)* (12/3)*(pi^2)-19+78)
Error using rem
Not enough input arguments.
>> rem((sqrt(9)*factorial(15))*9-7)),(sqrt(25)* (12/3)*(pi^2)-19+78)
rem((sqrt(9)*factorial(15))*9-7)),(sqrt(25)* (12/3)*(pi^2)-19+78)
| 
Error: Unbalanced or unexpected parenthesis or bracket. 
>> rem((sqrt(9)*factorial(15))*9-7),(sqrt(25)* (12/3)*(pi^2)-19+78)
Error using rem
Not enough input arguments.
>> rem (((sqrt(9)*factorial(15))*9-7),(sqrt(25)* (12/3)*(pi^2)-19+78)
rem (((sqrt(9)*factorial(15))*9-7),(sqrt(25)* (12/3)*(pi^2)-19+78)
| 
% Pedro Henrique Lobato Lopes
% 8 Período De Engenharia Elétrica
20/08/18 09:05 MATLAB Command Window 2 of 2
Error: Expression or statement is incorrect--possibly unbalanced (, {, or [. 
 
Did you mean:
>> rem (((sqrt(9)*factorial(15))*9-7),(sqrt(25)* (12/3)*(pi^2)-19+78))
 
ans =
 
 145.3247
 
>> % Arredonde a resposta para o valor inteiro mais próximo
>> 
>> round ((93-38)+(4^2)+8*sqrt(9))/(factorial(3))
 
ans =
 
 15.8333
 
>> % Arredonde a resposta para o valor inteiro mais próximo e menor
>> 
>> Fix ((sqrt(9)*factorial(9))*-23)+(4^2)-10*sqrt(9))/2
 Fix ((sqrt(9)*factorial(9))*-23)+(4^2)-10*sqrt(9))/2
 | 
Error: Unbalanced or unexpected parenthesis or bracket. 
 
>> Fix ((sqrt(9)*factorial(9))*-23)+(4^2)-10*sqrt(9)/2
Undefined function 'Fix' for input arguments of type 'double'.
 
Did you mean:
>> fix ((sqrt(9)*factorial(9))*-23)+(4^2)-10*sqrt(9)/2
 
ans =
 
 -25038719
 
>> % Arredonde a resposta para o valor inteiro mais próximo e maior
>> (factorial(5))*(2^2)+(18*sqrt(81))/log(10)
 
ans =
 
 550.3557
 
>>

Continue navegando