Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

PROGRAMAS:

rea:

Funcin: y= cuando y=0; x =2

rea:

2 2
() = [ 3 ]
0 0
4

=[ ] =4
4

Volumen:
2 7 128
= 0 ( 6 ) = []( 7 )2 ; = 7

Longitud:
2
= 1 + 9 4 =
0
= 8,6306
Centros de masa:
2 2 1/2
4 3
= [ / ]
0 0
8
=
5
= 1,6
1/2
1 2 2
= [ 6 / 3 ]
2 0 0
16
=
7
= 2,285

Programa
Area:

close all
clc
a=input('desde');
b=input('hasta');
x=linspace(a,b,500);
y=(x.^1.5);
syms K;
syms n;
D=(b-a)/n;
E= a+((K-1)*D)+(D/2);
F=(E.^3)*D;
f= symsum( F, K , 1 , n);
A = limit(f,n,inf)
%grafica
area(x,y);
grid on;
title('la funcion');
xlabel('eje x');
ylabel('eje y');
legend('x.^3')

Volumen:

You might also like