Skip to content

ricardocalleja/volumen__arepa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Volume of an arepa

The arepa is our gastronomical signature. Here is a way to calculate the volumen based on diameter and thickness.

from math import pi

height = float(input('Altura de la arepa cm: '))
diameter = float(input('Diametro de la arepa en cm: '))
volume = pi * ((diameter-height)/2) * ((diameter-height)/2) * height
print("El Volumen del cilindro ", volume, "cm3")


Rinput = diameter/2 #radio de la arepa
Rcil = Rinput - (height/2)
R_semi_torus = Rcil+4*(height/2)/(3*pi)
Volume = (float)(2 * pi * pi * R_semi_torus * (height/2) * (height/2));
print("Volumen de medio toroide: ", Volume/2);

Volumen_de_la_arepa = volume+Volume/2
print("El Volumen de la arepa es: ",Volumen_de_la_arepa, "cm3")

Prototipos para máquina de arepa

Prototipo_1

For this projecy we will constrain the minimun diameter to 2.5cm and maximun diameter to 20cm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published