Jump to content

Send an unknown method call: Difference between revisions

m
(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: Sin
Input: 3.1415
Output: 0.0000926536</pre>
</pre>
 
=={{header|MATLAB}} / {{header|Octave}}==
1,111

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.