• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

two twos

radosr

Baruch MFE Faculty
Joined
7/18/07
Messages
653
Points
73
Present a computation whose result is 5, being a composition of commonly used mathematical functions and field operators (anything from simple addition to hyperbolic arc-tangent functions will do), but using only two constants, both of them 2.
It is too easy to do it using round, floor, or ceiling functions, so these are not allowed.
Note: You can not use variables, like x. You can use square root and power, but squaring will cost you one "2" and other constant powers are not allowed.
 
Back
Top