用Geogebra 動態繪出等差數列(A.P.)
1. 繪出數列 2,4,6,8,...
Geogebra code
a1=2
d=2
n=Slider(1,10,1) #Slider(min,max,step)
Sequence(a1+(i-1)*d, i,1,n)
Sequence((i,a1+(i-1)*d),i,1,n) #將數列畫在座標上
Text(a1+(n-1)*d,(n,0)) #在座標(n,0)顯示數列的值
StartAnimation(n) #將n變為動畫
Line((1,a1),(2,a1+d))
Lab1. 繪出數列 3,6,9,12,....