Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
N = 10^10;
V = 150;
assert(volts(N)>V/pi)
|
2 | Pass |
N = 10^11;
V = 700;
assert(volts(N)<V*pi)
|
3 | Pass |
N = 10^12;
V = 10000;
assert(volts(N)>V/sqrt(pi))
|
19337 Solvers
Determine if a Given Number is a Triangle Number
322 Solvers
Getting the indices from a vector
3213 Solvers
641 Solvers
249 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!