Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ples. solve this que. student roll number is 8 student roll number is 2220004008 Z IT THE LAST number of student ID WHIC IS (8)
ples. solve this que.
student roll number is 8
student roll number is 2220004008
Z IT THE LAST number of student ID WHIC IS (8)
Q1) Doru denklemi f(x,y)=5x2y+Z, burada Z renci numaranzn son basamadr. Bresenham algoritmas (sada) kullanarak x0=1 and x1=(3+(Z/2)) arasnda boyanmas gereken pikselleri yaznz, admlarnz gsteriniz. Q2) Bir krpma penceresi (top, left, width, height) surasyla (3,5,10,7) olarak verilmitir. Aadaki doru paralar iin Cohen-Sutherland algoritmasnn admlarn gsterin, plotline( x,y,x1,y1) dx=x1x dy=y1y D=2dydx y=ye ncelikle kseler iin outcode hesaplanmas gereklidir, a) AB doru parasi; A(1,1) and B(5,8). for x from x to x1 plot(x,y) if D> y=y+1 D=D2dx b) CD doru paras: C(15,12) and D(9.6). c) BD doru paras. Q1) Doru denklemi f(x,y)=5x2y+Z, burada Z renci numaranzn son basamadr. Bresenham algoritmas (sada) kullanarak x0=1 and x1=(3+(Z/2)) arasnda boyanmas gereken pikselleri yaznz, admlarnz gsteriniz. Q2) Bir krpma penceresi (top, left, width, height) surasyla (3,5,10,7) olarak verilmitir. Aadaki doru paralar iin Cohen-Sutherland algoritmasnn admlarn gsterin, plotline( x,y,x1,y1) dx=x1x dy=y1y D=2dydx y=ye ncelikle kseler iin outcode hesaplanmas gereklidir, a) AB doru parasi; A(1,1) and B(5,8). for x from x to x1 plot(x,y) if D> y=y+1 D=D2dx b) CD doru paras: C(15,12) and D(9.6). c) BD doru paras Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started