So essentialy i have a base number which starts at 1 and a percent multiplier that increases this base number. And i can spend 1 skill point to increase either the base number by 1 or the percent multipler by 5%.
So as a example if i have 100 avaliable skill points and i put 50 points into the base number and 50 points in the multiplier i get:
51x(1+(50*0.05)) = 178.5
And if i put 40 points into the base number and 60 into the multipler i get 183 which is obviusly better.
Now my question is how do i get a general formula from this so that
s = avaliable skill points
bi = starting number
i = increase added to bi per skill point spend
bm = base multiplier
b = increase added to bm per skill point spend
And as a result i get the highest possible combination