Question: Maple code to mathematical steps

Hi I have the following maple file. Is anyone able to convert the maple code of the calculation of the reflected lines to the simple mathematical steps which are used to calcualte it. The calcualtion of the outgoing ray is from: if (abs(dr) > 0.001) then # if slope = 0 no outgoing ray > m := (dr^2 - 1)/(2 * dr): > ix := (height - y)/m: # > if ix <> tx := -width: > ty := y + m * (tx - x): > elif # Calculation of outgoing ray > ix > width then # > tx := width: > ty := y + m * (tx - x): > else > ty := height: # > tx := (ty - y)/m + x: > fi: > yint := (ty*x-y*tx)/(x-tx); # calculation of y-intercept View 3259_mirrorplotv9exp.mw on MapleNet or Download 3259_mirrorplotv9exp.mw
View file details
Please Wait...