Problem 473. old wine in a new bottle?
- 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
@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'
Solution Comments
Show commentsProblem Recent Solvers28
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1826 Solvers
-
Back to basics 22 - Rotate a matrix
903 Solvers
-
94 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
11403 Solvers
-
Sum of diagonals elements of a matrix
222 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!