A 30 ohm resistor is connected to a 1.5 V battery. How much power is dissipated by the resistor?

I'm confused of the formula to use here.

Does P=V^2/R seem correct?

Yep. The answer would be 0.075

To calculate the power dissipated by a resistor, you can use the formula:

Power (P) = (Voltage)^2 / Resistance

In this case, the given voltage is 1.5 V, and the resistance of the resistor is 30 ohms.

Plugging these values into the formula, we get:

P = (1.5 V)^2 / 30 ohms

Simplifying the equation further:

P = 2.25 V^2 / 30 ohms

P = 0.075 W

Therefore, the power dissipated by the resistor is 0.075 watts.