Zone, N = (sum of digits of your student id)% 8 For example, if your student id
Question:
Zone, N = (sum of digits of your student id)% 8
For example, if your student id is 17301283,
zone = (1+7+3+0+1+2+8+3) % 8 = 25 % 8 = 1Derive midpoint line drawing algorithm for a line in zone N.
If you find zone 0, i.e., then drop the last digit from sum and take % 8 again.
If your student id is 16240524, zone = (1+6+2+4+0+5+2+4)%8 = 24%8 = 0
Updated zone by removing last digit 4 = (1+6+2+4+0+5+2)%8 =20%8 = 4Derive midpoint circle drawing algorithm for the arc of the circle in zone N.
If you find zone 1, i.e., then drop the last digit from sum and take % 8 again.
If your student id is 17301283, zone = (1+7+3+0+1+2+8+3)%8 = 25%8= 1
Updated zone by removing last digit 3 = (1+7+3+0+1+2+8)%8 = 22%8= 6
Digital Signal Processing
ISBN: ?978-0133737622
3rd Edition
Authors: Jonh G. Proakis, Dimitris G.Manolakis