I have searched everywhere but I can't seem to find out how I can calculate the output voltage (or voltage over a component) from the resistance of a resistor (or other component) and the supply voltage. Everything seemed to be about Ohm's Law, which looks like it could help but I don't know how.
In the case I need to solve, there is a supply of 5v and I need to get the resistance needed to lower the voltage for an LED (the current and resistance at optimum voltage I can get if needed) to 3v. I will definitely need to do this operation again so if you could give something like an equation, rather than the necessary resistance.