Problem 60795. Ohm’s Law - Calculate Resistance
Ohm’s Law states that resistance R can be calculated as:R=V/I
where:
- V is the voltage (in volts)
- I is the current (in amperes)
- R is the resistance (in ohms)
Write a function to compute resistance given voltage and current.
Solution Stats
Problem Comments
-
1 Comment
William
on 16 Feb 2025 at 13:18
This formula is incorrect. It calculates power rather than resistancee.
Solution Comments
Show commentsGroup

Project Euler II
- 12 Problems
- 51 Finishers
- Find the longest sequence of 1's in a binary sequence.
- Convert given decimal number to binary number.
- Find out sum and carry of Binary adder
- Binary numbers
- Given an unsigned integer x, find the largest y by rearranging the bits in x
- Bit Reversal
- Relative ratio of "1" in binary number
- Binary code (array)
- Converting binary to decimals
- There are 10 types of people in the world
Problem Recent Solvers122
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!