Step by Step Centroid Construction

Step by Step Centroid Construction
Loading the math board and drawing, please wait…
2012-06-08 06:26
This example demonstrates how to find the centroid of a triangle. Key mathematical concepts include the centroid or barycenter. Construction highlights the use of GeoGebra commands such as Length, If, Element, and Textfield. Suitable for middle school and above students learning geometric construction.

GeoGebra Commands & Parameters

  1. Length(nSubEtapes) → nEtapes
  2. If(subEtapa > Element[nSubEtapes, etapa], true, false) → etapaAcabada
  3. If(etapa ≟ nEtapes ∧ etapaAcabada, true, false) → activitatAcabada
  4. If(etapaAcabada, Element[grades, etapa + 1], Element[grades, etapa]) → grade
  5. Element(nObjectsDepend, etapa) → objectDependActual
  6. If(typeObjectActual ≟ Element[typeObjects, etapa], true, false) → verifiTypeObjectActual
  7. Textfield(grades) → CampDeText1
  8. Textfield(nObjectsDepend) → CampDeText3
  9. Textfield(typeObjects) → CampDeText4
  10. Textfield(ti0) → CampDeText5
  11. Textfield(tc0) → CampDeText6
  12. Textfield(titol) → CampDeText7
  13. Element(llistaTi, insE) → insEText
  14. Textfield(insEText) → CampDeText8
  15. Textfield(nSubEtapes) → CampDeText2
  16. Element(llistaTc, comentE, comentSE, comentC) → comentCText
  17. Textfield(comentCText) → CampDeText9
  18. If(correccioEtapa ≟ 0, "", Element[llistaTc, etapa, subEtapa, correccioEtapa]) → tc
  19. Textfield(tAcabada) → CampDeText10