Está en la página 1de 2

Funciones matemticas:

x=sqrt(2)/2
x=

0.7071

>> y=asin(x)
y=

0.7854

>> y_deg=y*180/pi%
y_deg = 45.0000
>> x=sqrt(3^2+4^2)
x=

>> y=rem(23,4)
y=

Ecuacin general de 2do grado con solucin compleja


>> a=1;
>> b=4;
>> c=13;
>> x1=(-b+sqrt(b^2-4*a*c))/(2*a)
x1 = -2.0000 + 3.0000i
>> x2=(-b-sqrt(b^2-4*a*c))/(2*a)
x2 = -2.0000 - 3.0000i
>> a*x2^2+b*x2+c
ans =

>> a*x1^2+b*x1+c
ans =

Expresiones en nmeros complejos

>> c1=1-2i
c1 = 1.0000 - 2.0000i
>> c1=1-2j
c1 = 1.0000 - 2.0000i
>> c2=3*(2-sqrt(-1)*3)
c2 = 6.0000 - 9.0000i
>> c3=sqrt(-2)
c3 = 0.0000 + 1.4142i
>> c4=6+sin(.5)*i
c4 = 6.0000 + 0.4794i
>> c5=6+sin(.5)*j
c5 = 6.0000 + 0.4794i