Problem 56543. Cricket - Is It LBW?
- The ball cannot pitch outside the line of leg stump
- If the batter is making a genuine attempt to play the ball, the impact has to be in line with the wicket (but can be above the height of the wicket)
- If the batter is not making an attempt to play the ball, the impact has to be in line with the wicket or outside the off stump
- The ball must have been going on to hit the wicket
Solution Stats
Problem Comments
-
4 Comments
The difficult part here wasn't solving the problem as much as understanding it, not otherwise knowing a thing about cricket!
Tip (for people not into cricket): In the image, the blue batter looks at us (it is not a side picture). The wicket is made of three stumps, with names, from left to right: off-stump, middle-stump, and leg-stump. The pad is a protection the batter uses.
Tip #2 (for people not into cricket): LBW means the ball has hit the batter and not the bat first (regardless of whether the hit was on his leg). All the balls in the test suite are candidates for LBW, but the player can purposely take a hit with his body (which can make LBW invalid according to the rules). And that's why there are two rules for when the player is making a genuine move and not.
Thanks, Rafael, for adding the extra info. I didn't want to bloat the instructions with too much detail - to be honest, I didn't expect so many non-cricket-familiar people to try these problems!
Tip #3 (FPNIC): an image search for "lbw review" should bring up plenty of examples of how it looks in reality, with the graphics they overlay on the television coverage. That's roughly what I was channeling when I made the diagrams in the problem statement. (I don't want to include actual images in case I violate any copyright by accident.)
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
13468 Solvers
-
796 Solvers
-
Double all elements in the array
1574 Solvers
-
1321 Solvers
-
911 Solvers
More from this Author22
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!