The unit circle
Du skriver inn
- x-formel
- cos(t)
- y-formel
- sin(t)
- Startverdi for t
- 0
- Sluttverdi for t
- 6.283185307179586
- Antall prøver
- 360
Du får
- Gyldige punkter
- 360 / 360
- Første punkt
- t: 0; x-formel: 1; y-formel: 0
- Siste x-verdi
- 1
- Siste y-verdi
- about -2.4e-16
As t goes from 0 to 2π, the point travels once around a circle of radius 1. The last y is not exactly 0 because of tiny rounding in the computer's sine, but it is effectively zero.
Kjørt med verktøyets egen kode.
A parabola
Du skriver inn
- x-formel
- t
- y-formel
- t^2
- Startverdi for t
- -2
- Sluttverdi for t
- 2
- Antall prøver
- 101
Du får
- Gyldige punkter
- 101 / 101
- Første punkt
- t: -2; x-formel: -2; y-formel: 4
- Midtpunkt
- t: 0; x-formel: 0; y-formel: 0
- Siste punkt
- t: 2; x-formel: 2; y-formel: 4
Because x equals t, the curve is just y = x squared. With 101 samples between -2 and 2 the step is 0.04, so a sample lands exactly on t = 0.
Kjørt med verktøyets egen kode.
A point that cannot be calculated
Du skriver inn
- x-formel
- 1/t
- y-formel
- t
- Startverdi for t
- -1
- Sluttverdi for t
- 1
- Antall prøver
- 101
Du får
- Gyldige punkter
- 100 / 101
- Utelatt ved
- t = 0
With 101 samples one of them falls on t = 0, where 1/t is a division by zero, so it is skipped. With 100 samples none hits 0 exactly, so all 100 points are kept and the line jumps over the gap.
Kjørt med verktøyets egen kode.