Nyob rau hauv GeoGebra koj thiaj paub random 1.-3. grads zog los ntawm kev muab ib lub pob ntawm lub ncoo drawing, Sau tsiaj ntawv (a),(b),(c),(d),(n),(f) (EVS. ntawm lub thawv input) thiab ntxiv cov nram qab no muaj cai nyob succession thiab Tsis muaj lus Nyob rau hauv cov Scripting tab, Thaum koj xaiv cov khoom ntawm tus.
Koj yuav ua li cas:
- Yam li nram no 5 Zog hauv lub tshav pob input (Koj yeej tsuas ntxig 1 Kab zuj zus. Vim li no, nias lub pob kom sau tom qab ua ib kab. Tawm tswv yim teb yog nyob hauv txoj kev saib ntawv qhia zaub mov)
-
a=1 b=1 c=1 d=1 n=1
- Ua ib tug muaj nuj nqi ntawm input teb.
(f)(x)= 1
- Ntxig ib lub pob ntawm lub ncoo drawing.
- Lub npe cov khawm “Random muaj nuj nqi” Thiab mam li paste cov cai hauv qab no rau hauv lub thawv tsab ntawv kom lub npe.
Tus nqi ntus[(n),TilfældigMellem[1,3]] Tus nqi ntus[(a),TilfældigMellem[-3,3]] Tus nqi ntus[(b),TilfældigMellem[-3,3]] Tus nqi ntus[(c),TilfældigMellem[-3,3]] Tus nqi ntus[(d),TilfældigMellem[-3,3]] Tus nqi ntus[(a),Yog hais tias[A == 0.1, ib]] Tus nqi ntus[(b),Yog hais tias[b == 0.1, b]] Tus nqi ntus[(c),Yog hais tias[c == 0.1, c]] Tus nqi ntus[(d),Yog hais tias[D == 0.1, D]] Yog hais tias[n == 1, Tus nqi ntus[(f),ib tug * x b]] Yog hais tias[n == 2, Tus nqi ntus[(f),A * x ^ 2 + b * x + C]] Yog hais tias[n == 3, Tus nqi ntus[(f),A * x ^ 3 + b * x ^ 2 + c * x + D]]
- Xovxwm lawv xav tshuaj.
- Xovxwm -khawm.
- Luag cov ntawv luam ntawm cov nuj nqi F(x) dhau ntawm lub ncoo drawing.
- Nias lub khawm ntawm lub ncoo drawing.
Qhia lawv paub txog qhov Code:
Random ntau ntawm 1 thiab 3. Qhov no yog lub 1.-3. Steklov muaj nuj nqi. Nws yog muab cov kuj tsis paub meej n.
Tus nqi ntus[(n),TilfældigMellem[1,3]]
Nws yog tsim qhov tseem ceeb ntawm random -3 thiab 3 Rau cov tsiaj ntawv nyob rau hauv cov kev cai
Tus nqi ntus[(a),TilfældigMellem[-3,3]] Tus nqi ntus[(b),TilfældigMellem[-3,3]] Tus nqi ntus[(c),TilfældigMellem[-3,3]] Tus nqi ntus[(d),TilfældigMellem[-3,3]]
Qhov tseem ceeb rau lub zog yog kis ntawm thiab yog hais tias tus nqi yog 0, Ces nws hloov mus 1.
Li no koj tsis tau ib tug muaj nuj nqi, xws li F(x)= 0 x + 2.
Tus nqi ntus[(a),Yog hais tias[A == 0.1, ib]] Tus nqi ntus[(b),Yog hais tias[b == 0.1, b]] Tus nqi ntus[(c),Yog hais tias[c == 0.1, c]] Tus nqi ntus[(d),Yog hais tias[D == 0.1, D]]
Txoj cai no raug tsoom f tom qab, Muaj dab tsi nqi N. Yog n = 1 (Nco ntsoov cov zajlus kom sib npaug piav == ), Ces nws yog ib tug 1. muaj nuj nqi kawm ntawv, thiab lwm yam..
Yog hais tias[n == 1, Tus nqi ntus[(f),ib tug * x b]] Yog hais tias[n == 2, Tus nqi ntus[(f),A * x ^ 2 + b * x + C]] Yog hais tias[n == 3, Tus nqi ntus[(f),A * x ^ 3 + b * x ^ 2 + c * x + D]]
Lub chaws English.
SetValue[(n),RandomBetween[1,3]] SetValue[(a),RandomBetween[-3,3]] SetValue[(b),RandomBetween[-3,3]] SetValue[(c),RandomBetween[-3,3]] SetValue[(d),RandomBetween[-3,3]] SetValue[(a),Yog hais tias[A == 0.1, ib]] SetValue[(b),Yog hais tias[b == 0.1, b]] SetValue[(c),Yog hais tias[c == 0.1, c]] SetValue[(d),Yog hais tias[D == 0.1, D]] Yog hais tias[n == 1, SetValue[(f),ib tug * x b]] Yog hais tias[n == 2, SetValue[(f),A * x ^ 2 + b * x + C]] Yog hais tias[n == 3, SetValue[(f),A * x ^ 3 + b * x ^ 2 + c * x + D]]
Saib ntxiv nta lub wiki
wiki.geogebra.org