You forget to divide by 60
I think there is a 2 missing in one of the answers...they are not consistent...
@Dan- Yes, Thanks.
@Claudio - For specific formula, answers are consistent but correct final answer in both cases should be divided by 60 as Dan mentioned.
fomula's unit was wrong,and precision is harsh.why don't you guys use tolerence?
Problem statement is corrected to adjust for units.
Additional test cases with tolerance based test suite are added.
I believe the test cases give the power in Joules/minute, rather than the requested units of kW.
The test suite is generating wrong answers!!
Test suite answers need to be /60 and are in watts, not kW.
12518 Solvers
Make one big string out of two smaller strings
1159 Solvers
Check if number exists in vector
4735 Solvers
498 Solvers
Find the index of n in magic(n)
164 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!