You are on page 1of 2

>> a=5, b=10 ,c=2, d=15, e=2 83771

1275
a= >> ix=(d+e)^5^2+60*50
>> ex=x+1
5 ix =
ex =
2.0160e+12
b= 638
>> jx=(d+b)^5^e+2*a
10 >> x=exp(2)/3;y=2*x+1;z=3*x
jx =
z=
c= 9.5367e+13
7.3891
2 >> kx=e^c^2+8*a
>> gy=sqrt(16)
kx =
d= gy =
56
15 4
>> lx=(100+b)+6+100^c^e
>> hm=sqrt(20)+abs(-4)
e= lx =
hm =
2 100000116
8.4721
>> X=a+(b-c)^e >> mx=(b+200)+5+256^e+2*b
>> 4 ) CALCULAR :
X= mx = 4 ) CALCULAR :
|
69 65771 Error: Unbalanced or unexpected
parenthesis or bracket.
>> x=a+b-c/e >> nx=(500+b)^c^e+800*a
>> 15+6
x= nx =
ans =
14 6.7652e+10
21
>> x=d*e^e-c >> e^2/3
>> x=15+6
x= ans =
x=
58 1.3333
21
>> x=(b+e)^c^e+2*a >> X=e^2/3
>> y=12*2
x= X=
y=
20746 1.3333
24
>> x=(b+d)^e+(b+c) >> y=e^2/3
>> x+y
x= y=
ans =
637 1.3333
45
>> gx=(b+a)^e+d*a >> 3.mestres los resultados por
pantalla >> x=y-x
gx = 3.mestres los resultados por pantalla
| x=
300 Error: Unexpected MATLAB
expression. 3
>> hx=(a+b+c)^c^e+50*a
>> y=2*x+1 >> z=
hx = z=
y= |
Error: Expression or statement is -4.1615e-01
incomplete or incorrect. x=
>> tan(2)
>> z 3
ans =
z= >> y
-2.1850e+00
7.3891 y=

>> cos(pi) 24

ans = >> z

-1 z=

>> cos(angle(pi)) 7.3891e+00

ans = >> x

1 x=

>> cos(180) 3

ans = >> y

-0.5985 y=

>> exp(1) 24

ans = >> z
Undefined function or variable 'z'.
2.7183
>> 6-2
>> sqrt(16)
ans =
ans =
4
4
>> 5-2
>> 2/3
ans =
ans =
3
0.6667
>> abs(-8)
>> format long e
>> 2/3 ans =

ans = 8

6.666666666666666e-01 >> abs(-1)

>> format short e ans =


>> 2/3
1
ans =
>> sin(1)
6.6667e-01
ans =
>> 2/3
8.4147e-01
ans =
>> cos(2)
6.6667e-01
ans =
>> x

You might also like