Digital differential analyzer

 
 

Solution





Table {#each x_axis as _, i} {/each}
Iteration x y x (plot) y (plot)
{i + 1} {x_axis[i]} {y_axis[i]} {x_axis_floored[i]} {y_axis_floored[i]}

Graph