Computer Science, asked by nikitagajare2001, 6 months ago

consider the line from (0, 0) to (-6, 6) use the simple DDA algorithm​

Answers

Answered by riyaamen303
3

Answer:

Hope this helps you .Please add as Brainliest if it is correct and sorry if it becomes wrong.

Attachments:
Answered by priyarksynergy
0

The DDA algorithm cannot be implemented here

Given:

(0,0) and (-6,6)

To find:

DDA algorithm representation

Explanation:

Let,

x_{1} = 0

x_{2} = -6

y_{1} = 0

y_{2} = 6

Finding :

dx= x_{2}  - x_{1}  = -6 -0 = -6.

dy= y_{2}  - y_{1}  = 6-0 = 6

m\frac{dy}{dx} = \frac{6}{-6} .

The DDA line cannot be made because we cannot have a negative denominator.

Similar questions