Added sqrt() caculation to the input form sample