This question isn't particularly related to me learning math, I'm trying to just figure out what is required for me to program this attack for a boss...
When the ball is leaving the pitchers hand - it has that velocity (it is a vector and added to it will be the velocity imparted by the pitcher) - and...
Why not list all possible combinations of 3 ice creams and 2 syrups (call this number D). Then count the ones that have banana ice cream and caramel...