| Algorithm 1: Algorithm to find the accident zone |
| 1: procedure ACCIDENT ZONE (xs(t), ys(t), R, xr, yr) |
| // location of vehicle in accident, R-Range and Range coordinates |
| 2: ds(t) = |
| 3: while ds(t) ⇐ R/2 do |
| 4: Read Accident Zone from |
| 5: while ds(t) > R/2 do |
| 6: B(t) = R − ds(t); |
| 7: Get and ; |
| 8: Read Accident Zone from |