Send an unknown method call: Difference between revisions
m
→{{header|Mathematica}}
(Omit C++) |
|||
Line 401:
example[name](example, 5) --> 47</lang>
=={{header|Mathematica}}/{{header|Wolfram Language}}==
Creates a dialog box where one can type a function (Sin, Cos, Tan ...) and then a second dialog box for a value.
<lang>ToExpression[Input["function? E.g. Sin",]][Input["value? E.g. 0.4123"]]</lang>
{{out}}
<pre>Input: Sin
Input: 3.1415
Output: 0.0000926536</pre>
=={{header|MATLAB}} / {{header|Octave}}==
|