- You have been given an apparently brand new unary function XXX,
- that maps some ordinary scalars to scalars,
- please guess if this XXX is 'new wine' or 'old wine',
- that is functionally equivalent to an already built-in function,
- such as sin cos sqrt log10 etc.,
- for positive inputs between 0.2 to 0.8.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers31
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2055 Solvers
-
The Hitchhiker's Guide to MATLAB
3414 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
894 Solvers
-
Determine if input is a Narcissistic number
219 Solvers
-
Change the sign of even index entries of the reversed vector
657 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
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)
adding 'for positive inputs between 0.2 to 0.8'