What are the possible routes from A to D in a 2D grid?

  • Thread starter cronuscronus
  • Start date
  • Tags
    2d Grid
In summary: C4 + 7C5 = 12 + 21 = 33, and 715 - 33 = 682 routes.Is this correct?In summary, there are 715 different valid routes from A to D. If we want to avoid B, there are 710 valid routes. For routes that must pass through both B and C, there are 138 valid routes. And for routes that must pass through B but avoid C, there are 682 valid routes.
  • #36
cronuscronus said:
I think part d has an error.

We need to calculate (A to B * B to D) - (B to C * C to D), which equals
(35*3003) - (21*56)
105105 - 1176 = 103,929

That is ALMOST correct. Think about what the 35 should multiply.
 
  • Like
Likes 1 person
Physics news on Phys.org
  • #37
It looks like we need to calculate (A to B * B to D) - (B to C * C to D * A to B)
so
(35*3003)-(21*56*35) = 63,945 routes for part d.
 
  • #38
cronuscronus said:
It looks like we need to calculate (A to B * B to D) - (B to C * C to D * A to B)
so
(35*3003)-(21*56*35) = 63,945 routes for part d.

Yes. It might have been better to express it as
(A to B)*(B to D - BtoCtoD)

I think you have it now and hopefully you understand it well enough that you could explain to others how to do it.
 
  • #39
I am going to explain to a friend tonight. If you're ever in San Diego I'll buy you a beer :)
 
Back
Top