.
Author:
Evaluation:
Published: 22.03.2017.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Time period viewed: 2000 - 2010 years
2011 - 2015 years
  • Samples 'Brezenhema algoritms', 1.
  • Samples 'Brezenhema algoritms', 2.
  • Samples 'Brezenhema algoritms', 3.
  • Samples 'Brezenhema algoritms', 4.
  • Samples 'Brezenhema algoritms', 5.
  • Samples 'Brezenhema algoritms', 6.
Extract

5. Matemātiskie aprēķini
x0=10 y0=10 x1=16 y1=20

∆x=16-10=6
∆y=20-10=10
∆y>∆x=>P0=2*∆x-∆y=2
P0<0=>P1=P0+2∆x=2+12=14 n=1 (10; -1)
P1>0=>P2=P1+2∆x-2∆y=14+12-20=6 n=2 (11;-2)
P2<0=>P3=P2+2∆x=6+12=18 n=3 (11;-3)
P3>0=>P4=P3+2∆x-2∆y =18+12-20=30-20=10 n=4 (12;-4)
P4<0=>P5=P4+2∆x=10+12=22 n=5 (12;-5)

Author's comment
Atlants