IDNLearn.com provides a user-friendly platform for finding answers to your questions. Join our interactive Q&A community and access a wealth of reliable answers to your most pressing questions.
Sagot :
Answer:
70
Step-by-step explanation:
You want the number of paths from corner to corner on a 5×5 grid with no backtracking.
Pascal's triangle
The geometry of the problem matches that of Pascal's triangle, attached.
In the attached figure, the value at each node is the sum of the values above and to the left. This matches the counting process for paths that can be used to get to any particular point on the grid: the total number of ways to get there is the sum of the ways it can be approached from above and the ways it can be approached from the left.
The given grid has some numbers filled in. If we continue to assign values to nodes that are the sum of the values above and to the left, we find the node values match the upper left 5×5 array of values in the attachment.
The value at the lower right corner of that array is 70. That is, ...
there are 70 ways to get from A to B.
__
Alternate solution
The path taken will always have 8 steps. Of those, 4 must be to the right, and 4 must be down. The number of ways we can choose 4 of those 8 steps to be steps to the right is "8 choose 4" ...
C(8,4) = 8!/(4!(8-4)!) = (8·7·6·5)/(4·3·2·1) = 70
Of course, using Pascal's triangle is simply another way to find the value of C(n,k).
Thank you for using this platform to share and learn. Keep asking and answering. We appreciate every contribution you make. Find reliable answers at IDNLearn.com. Thanks for stopping by, and come back for more trustworthy solutions.