Problem 42801. means
Solution Stats
Problem Comments
-
4 Comments
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.
Solution Comments
-
1 Comment
I forgot Cody does not use the statistics toolbox, so harmmean is unusable.
Problem Recent Solvers52
Suggested Problems
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
7903 Solvers
-
551 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
434 Solvers
-
460 Solvers
-
Matlab Basics - y as a function of x
439 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!