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.
Program an exclusive OR operation with logical operators
641 Solvers
Deleting an element in a matrix
329 Solvers
1147 Solvers
120 Solvers
1287 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!