Barycenter Command

From GeoGebra Manual
Jump to: navigation, search


Barycenter[ <List of Points>, <List of Weights> ]
Set the center of a system of points in the list, defined as the average of their positions, weighted by their value, using the proper formula.
Examples:
  • Barycenter[{(2, 0), (0, 2), (-2, 0), (0, -2)}, {1, 1, 1, 1}] yields point A(0, 0)
  • Barycenter[{(2, 0), (0, 2), (-2, 0), (0, -2)}, {2, 1, 1, 1}] yields point B(0.4, 0). The x-coordinate of this point was determined by \mathrm{\mathsf{ \frac{1}{ 2+1+1+1 }*(2*2+1*0+1*(-2)+1*0) }} = \mathrm{\mathsf{ \frac{1}{ 5 }*2 }} = 0.4
  • GeoGebra
  • Help
  • Partners
  • Contact us
    • Feedback & Questions
    • This email address is being protected from spambots. You need JavaScript enabled to view it.
    • +43 677 6137 2693
© 2017 International GeoGebra Institute