# Tema 2
02-1.  Cálculos básicos con variables

kill(all)$

a1:115.654$            b1:401.928$

a:234.34567;            b:567.4321;

a+b;            a*b;            2.145*a-34.45*b;

'(a+b)=a+b;         '(ab)=a*b;       
'(2.145*a-34.45*b)=2.145*a-34.45*b;

x:987.65$       y:432.19$            
45.34*a+24.345*b-67.765*x^2+34.21*sqrt(y);

R1:x^2+y^2;               R2:x+y;         R1+R2;

'(R1)=R1:x^2+y^2;       '(R2)=R2:x+y;          
 '(R1+R2)=R1+R2;

Radi:23.456;        '(Area_cercle)=%pi*Radi^2, numer;

Base:123.45;        Altura:6.7;            
'(Area_triangle)=Base*Altura/2;

B1:12.34;           B2:7.543;           
H:2.345;            '(Area_Trapezi)=(B1+B2)*H/2;

kill(all)$    
a+b;       a*b;        
R1;         R2;          
Radi;       Base;