Kent Johnson wrote:
> Ismael Garrido wrote:
>
>> I have attached the code, I hope that's fine. If you have any further
>> optimization suggestions I would be very glad to hear them :)
>>
>
> generarResist() is doing a lot more work than necessary. Because i and j
> both iterate the entire
Ismael Garrido wrote:
> Hello
>
> I'm writing a program to find an appropiate combination of resistances
> to obtain a desired value of resistance. The program takes into account
> how many resistances you have available and their resistance in ohms.
>
> Since this problem (as far as I can tell
Hello
I'm writing a program to find an appropiate combination of resistances
to obtain a desired value of resistance. The program takes into account
how many resistances you have available and their resistance in ohms.
A short review of physics: resistors can be arranged in series or in
para