Problem 473. old wine in a new bottle?
22.44% Correct | 77.56% Incorrect
Last Solution submitted on Oct 29, 2022
@bmtran (Bryant Tran) on 9 Mar 2012
test case 2 is incorrect. the given function will only return positive values, which means it is not equivalent to sin (and therefore new wine)
AMITAVA BISWAS on 9 Mar 2012
adding 'for positive inputs between 0.2 to 0.8'
J-G van der Toorn on 23 Sep 2012
In terms of Matlab's numerical accuracy, @(z)log10(10*z)-1 is not equal to log10. Therefore, it is new wine, as it produces different results than the built-in function.
Problem Recent Solvers26
Find relatively common elements in matrix rows
Cody Computer Part 2 - Get the license number of Cody Computer
Check if number exists in vector
More from this Author100
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!