Inside a Manipulate
, I'd like one of the controls to be an InputField
and to allow the input entered to be in traditional form. Is this possible?
For example, in the output from
Manipulate[func /. x -> val,
{{val, 0, "x"}}, {{func, x, "f(x)"}},
ControlType -> InputField]
I'd like to be able to type, say, cos(x)
in the second input field and have it interpreted, of course, as Cos[x]
.