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

  • Linear Function to Bowl or Cup
  • x2x: Spindle
  • Dilations Part 3: What Do You Notice?
  • tubulação 1a
  • Building Similar Triangles

Discover Resources

  • Basement
  • Triangles Worksheet
  • Sum of exterior angles of a Quadrilateral is 360 degree.
  • Modul 2e_Donatus Bria_SMAN 1 Atambua
  • Geometry Week 1 Day 2 Learning Goals

Discover Topics

  • Congruence
  • Geometric Distribution
  • Numbers
  • Incircle or Inscribed Circle
  • Sphere

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