Wrong Solution for Test Case 3. Value of Harmonic Mean and Geometric mean are not the value which should come. Please change
Hello Rathin Joshi.
I checked numbers and I think they are correct. The geometric mean should be (10!)^(1/10) and the harmonic mean should be 10/10th harmonic number.
It seems that the numerical error is too large and the answer I got is not identical to the correct answer.
The last test case has been improved.
I forgot Cody does not use the statistics toolbox, so harmmean is unusable.
462 Solvers
07 - Common functions and indexing 4
319 Solvers
5462 Solvers
Is this triangle right-angled?
2874 Solvers
Matlab Basics II - Max & Index of Max
188 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!