I think the answers in the test suite may be incorrect. Regardless, please make the test suite more robust.
I think the answers in your test suite are incorrect. If "peak value of a sine wave" (X) and "peak value of a square wave" (Y) are understood to be defined consistently, then (given equal RMS voltage) Y should be found as "X divided by sqrt(2)", not as "X multiplied by sqrt(2)".
1846 Solvers
727 Solvers
The Answer to Life, the Universe, and Everything
385 Solvers
5479 Solvers
Determine the length of a string of characters
174 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!