Multiplying the plan by the patient list gives the usage for the upcoming days: [3 6 9 12 15]. Everyday multiplication (3 x 4) means using the plan with a single day of patients: [3] * [4] = [12].
Intuition For Convolution
Let's say the disease mutates and requires a multi-day treatment. You create a new plan: Plan: [3 2 1]
That means 3 units of the cure on the first day, 2 on the second, and 1 on the third. Ok. Given the same patient schedule ( [1 2 3 4 5]), what's our medicine usage each day?
500 is not a perfect square number. Therefore, find the factors of 500 with the largest perfect square. In this case, 100 is the largest perfect square number in 500.
If you are simply looking for the calculator result, you will get