Project Euler 190 - Maximising a weighted product
Project Euler 190 - Maximising a weighted product
Official link: https://projecteuler.net/problem=190
Official link: https://projecteuler.net/problem=190
Finding a maximum for a function, Pm, given a constraint, luckily for me I did Lagrange Multipliers last year (which is so tedious btw) luckily here the equation are extremely simple which leads to a very nice solution
Input an integer (yourinput)
Code will output [Pyourinput]