# Problem 45209. An Ohm's Law Calculator

• Created by Ali

BACKGROUND / MOTIVATION:

Many important observations in math and science can be described by short, but powerful, equations:

``` * The Pythagorean Theorem (c^2 = a^2 + b^2)
* Newton's Second Law of Motion (F = ma)
* Einstein's Mass-Energy Equivalence (E = mc^2)```

For electrical circuits, one of the most useful and important equations is:

` * Ohm's Law (V = IR)`

Ohm's Law describes the relationship between voltage (V), current (I), and resistance (R) in electrical circuits.

For more information, check out: https://www.build-electronic-circuits.com/ohms-law/

PROBLEM DESCRIPTION:

Given the current (I) through a resistor with resistance (R), create a function that will return the voltage (V) across the resistor.

### Solution Stats

94.01% Correct | 5.99% Incorrect
Last Solution submitted on Aug 05, 2024

Show comments

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!