No 4:POO Python - Geogebra5 Dibujar Circunferencia

No 4:POO Python - Geogebra5 Dibujar Circunferencia PROGRAMACION ORIENTADA A OBJETOS CON PYTHON Y GEOEGBRA 5.0: En el evento clic del botón, debe escribirse este script orientado a objetos. class Circunferencia: ....def __init__(self,centro_x,centro_y,radio): ........self.centro_x=centro_x ........self.centro_y=centro_y ........self.radio=radio ....def mostrar_circunferencia(self): ........command('Circle',(self.centro_x,self.centro_y),self.radio) circunferencia1=Circunferencia(0,2,3) circunferencia1.mostrar_circunferencia() NOTA Este Applet contiene código Python, por tanto para que funcione bien, debe descargarse y ejecutarse localmente con Geogebra 5.0

 

Hernando Alvarez R. y Leonardo Alvarez V.

 
Resource Type
Activity
Tags
circle  geogebra  geogebra5  poo  python 
Target Group (Age)
19+
Language
Spanish (Spain) / Español (España)‎
 
 
GeoGebra version
5.0
Views
1673
Contact author of resource
 
 
© 2024 International GeoGebra Institute