Let's say I have a bunch of apples and oranges. Specifically 500 apples and 760 oranges.
I need to create a big basket of fruit. For every 7 apples I include, I need to include 3 oranges.
I want to make the biggest basket possible using as much of my fruit as I can while honoring the desired apple to orange ratio.
I'm not mathematically inclined and I've been just taking bunches of 7 and 3 at a time until I run out. There has to be some kind of formula I can use to tell me upfront the max number of each that I should pull.
Thanks in advance.