Ohm's law is not applicable on resistors in DC regime only, but on capacitors and inductors in AC regime as well. This makes Ohm's law formula one of the most practical and popular formulas in physics and engineering.
Read more
formatting link
and also calculate:
formatting link