As it stands, this problem only requires that the function return a single number. Please add additional test cases and rephrase the problem in general terms so that the function output must depend on its inputs.
Solved it but the resulting equation is dubious. Is there any physical explanation how it holds?
1598 Solvers
Sum all integers from 1 to 2^n
8413 Solvers
351 Solvers
find the roots of a quadratic equation
168 Solvers
326 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!