Páginas: 5 (1178 palabras) Publicado: 15 de febrero de 2016
!

!

LABORATORIO!!
Yan!Sebastián!García!Martínez.!(000306117)!
Km.(7(autopistas(a(Piedecuesta,(Floridablanca?Colombia(

(

Objetivo!General!
•(

como( cálculos(sencillos,( a( través( de( situaciones( y( soluciones( computacionales( que( involucran(
conceptos(de(geometría.(

(Objetivos!Específicos!
•(
•(
•(

Python(para(la(solución(de(problemas(de(áreas(y(perímetros(de(algunas(figuras(geométricas.(

a)! Indagar(acerca(de(qué(es(y(cómo(se(calcula(el(perímetro(y(área(de(las(siguientes(figuras(
geométricas:(
(
FIGURA(

PERIMETRO(

AREA(

RECTANGULO(

(BASE*2)+(ALTURA*2)(

BASE*ALTURA(

TRIANGULO(

CIRCULO(

2πr(

πr^2(

(
(
(
(
(
(

!

Figura(

(((((((((((((((

Diametro(=(√(l)\$ + (l)\$ (

(a.(((

Acirculo(=!πr \$ (

(

(
Se(sabe(que(el(diámetro(es(8(lo(proporciona(la(
figura(por(lo(tanto:(
(R=diámetro/2(
((((((((((((((Acirculo(=!πr \$ (
(
b.(((((((((((

(((((

(
Atrianguloequilatero(=(

)

\$( &!)
\$

√& \$
l (
'

(

Acirculo(=!πr (
http://www.mathopenref.com/triangleincircle.html(
c.((((((((((

((

(
(
Acirulogrande(=!πR\$ (
Acirculopequeño(=(πr \$ (

d.((((((((((

(

((

(
A)( (

(

(
PSEUDOCODIGO(

(

PYTHON(

(

(

INSERTAR(
(
(
(
CALCULAR(
EL(
DEL(
CIRCULO(
(
(
(
CALCULAR(
EL(
AREA(
DEL(
CIRCULO(
(
(
(
CALCULAR(
EL(
AREA(
DEL(
(
(
(
CALCULAR(
EL(
AREA(

#sqrt(
from(math(import(sqrt(
(
#(pi(
from(math(import(pi(
(
(#CALCULAR(R(CIRCULO(
(
#CALCULAR(AREA(CIRCULO(
AREACIRCULO(=(pi*R**2(
(
#CALCULAR(AREA(DEL(
(
#CALCULAR(AREA(
AREACIRCULO?
(
#MOSTRAR(
(

(
DIAGRAMA(DE(FLUJO(

(

!

(
B)( (

(

(
PYTHON(

PSEUDOCODIGO(
(

(

(

DIAGRAMA(DE(FLUJO(
(

INSERTAR(from(math(import(pi(
VARIABLE(
(
DIAMETRO((
#insertar( la( variable(
(
diametro(
(
diametro(
=(
(
int(input("digite(
la(
CALCULAR(
EL( medida(del(diametro"))(
VALOR(
DEL( (
(
(
(
(
#calcular( el( area(
CALCULAR(
EL( circulo( =( area( del(
AREA(
CIRCULO(
Areacirculo(
=(
(
(
(
(
#mostrar( el( area(
CALCULAR(
print("El(
area(
es",(
Areacirculo)(
(
(

!

C!

(

(
PSEUDOCODIGO(

(

PYTHON(

(

(

INSERTAR(
(
(
CALCULAR(
EL(
DEL(
CIRCULO(
(
(
CALCUAR( AREA(
DEL(CIRCULO(
(
CALCULAR( AREA(
DEL(TRIANGULO(
(
(
CALCULAR(
Y(
MOSTRAR(
VARIABLE(

from(math(import(pi(
from(math(import(sqrt((
(
(
circulo(
=(
(
#calcular( area( del(
circulo(
Areacirculo(
=(
(
#calcular( area( del(
triangulo(
Atriangulo(
=(
(
#calcular(
area(
=(
Areacirculo(?(Atriangulo(
(

(
DIAGRAMA(DE(FLUJO(
(

(

!

D!

(
PSEUDOCODIGO(

(...

Regístrate para leer el documento completo.