GeoGebra
GeoGebra
  • Home
  • News Feed
  • Resources
  • Profile
  • People
  • Classroom
  • App Downloads
About GeoGebra
Contact us: office@geogebra.org
Terms of Service – Privacy – License

© 2023 GeoGebra

Sending a Geogebra List or Array to JavaScript

Author:
JP Math
Topic:
Linear Programming or Linear Optimization
ggbApplet.evalCommand("list=Sequence(RandomBetween(-10, 10),i,1,RandomBetween(2,10))"); ggbApplet.evalCommand("n=Length[list]"); var n= ggbApplet.getValue("n"); var aA= new Array(); for (var i = 1; i <=n; i++ ){ ggbApplet.evalCommand("a=Element[list,"+ i+"]"); a = ggbApplet.getValue("a"); aA.push(a); } alert(aA.join());

New Resources

  • Bibi Khanun mosque - gear pattern - ks
  • Area of the Shaded Region (1)
  • Bibi Khanum moskee - square pattern- ks
  • Bibi Khanum entrance gate - minarets - ks
  • Bibi Khanum entrance gate - verticale stroken - ks

Discover Resources

  • Area of simple shapes
  • Herschel enneahedron
  • Construction of a circle through two points and tangent to a given line
  • drz_2018_z3
  • Curve 360

Discover Topics

  • Perimeter
  • Volume
  • Integral Calculus
  • Trigonometric Functions
  • Linear Regression

GeoGebra

  • About
  • Partners
  • GeoGebra on Tests
  • News Feed
  • App Downloads

Apps

  • Calculator Suite
  • Graphing Calculator
  • 3D Calculator
  • CAS Calculator
  • Scientific Calculator

Resources

  • Classroom Resources
  • Learn GeoGebra
  • Classroom
  • Geometry
  • Notes
  • Terms of Service Privacy License
  • Facebook Twitter YouTube