You need more than one test case in your test suite.
Not to mention that the solution to the one test case is wrong. If q (volume flow rate) = v/t (volume/time), then t = v/q, not v*q.
3.75 ?
What! No, the correct answer is 5*.75/5 == .75
Maybe the units are different? :-)
Fixed the test suite.
337 Solvers
Project Euler: Problem 10, Sum of Primes
710 Solvers
Given a window, how many subsets of a vector sum positive
744 Solvers
376 Solvers
120 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!