I have a set of 2 numbers say 365 and 550, I want to make them in ratio say 3:4 I have the option of adding x and y to 365 and 550, with limitation of x and y should always be integer, both or one can be 0 if required. How can I find the minimum value of x and y?
I am trying to solve it as follows:
365:550+y::3:4 =365*4= 3*(550+y), solving for y is giving the value in decimal, but I need the value in integers only, that means I will need to add something in 365, so that I can get whole numbers. I am not sure how to do that.
Also I can only add numbers and never can subtract, hence the number should be only positive including 0.