Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(abs(grazing_02(10,20,5)-58.9049)<0.001)
|
2 | Pass |
assert(abs(grazing_02(5,25,2)-9.4248)<0.001)
|
3 | Pass |
assert(abs(grazing_02(20,20,20)- 942.4778)<0.001)
|
4 | Pass |
assert(abs(grazing_02(10,20,0)-0)<0.001)
|
5 | Pass |
assert(abs(grazing_02(12,20,25)-1624.9888)<0.001)
|
6 | Pass |
assert(abs(grazing_02(10,20,50)- 7512.2022)<0.001)
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13048 Solvers
56 Solvers
101 Solvers
158 Solvers
Divide the Least Common Multiple by the Greatest Common Divisor of two numbers
32 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!