MaplePrimes - Questions and Posts tagged with function
http://www.mapleprimes.com/tags/function
en-us2017 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemThu, 25 May 2017 05:02:19 GMTThu, 25 May 2017 05:02:19 GMTThe most recent questions and posts on MaplePrimes tagged with functionhttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Questions and Posts tagged with function
http://www.mapleprimes.com/tags/function
How to use substition with functions?
http://www.mapleprimes.com/questions/221918-How-To-Use-Substition-With-Functions?ref=Feed:MaplePrimes:Tagged With function
<p>Consider substutition with use of a function:</p>
<pre class="prettyprint">
subs(F(x,y)=f(x)+g(y), F(x,y));</pre>
<p>As expected, Maple returns the proper answer:</p>
<p><strong><em>f(x)+g(y)</em></strong></p>
<p>But </p>
<pre class="prettyprint">
subs(F(x,y)=f(x)+g(y), F(x,x));</pre>
<p>returns </p>
<p><strong><em>F(x,x)</em></strong></p>
<p>How to force Maple recognize F as a function, in order to obtain</p>
<p><strong><em>f(x)+g(x)</em></strong></p>
<p>in return?</p>
<p>The functions <strong>algsubs, applyrule</strong> work in the same way.</p>
<p>Consider substutition with use of a function:</p>
<pre class="prettyprint">
subs(F(x,y)=f(x)+g(y), F(x,y));</pre>
<p>As expected, Maple returns the proper answer:</p>
<p><strong><em>f(x)+g(y)</em></strong></p>
<p>But </p>
<pre class="prettyprint">
subs(F(x,y)=f(x)+g(y), F(x,x));</pre>
<p>returns </p>
<p><strong><em>F(x,x)</em></strong></p>
<p>How to force Maple recognize F as a function, in order to obtain</p>
<p><strong><em>f(x)+g(x)</em></strong></p>
<p>in return?</p>
<p>The functions <strong>algsubs, applyrule</strong> work in the same way.</p>
221918Mon, 15 May 2017 17:00:20 ZKonstantin@Konstantin@differential equations with user defined function
http://www.mapleprimes.com/questions/221757-Differential-Equations-With-User-Defined-Function?ref=Feed:MaplePrimes:Tagged With function
<p>I would like to solve the following differential equation with a relatively complicated function that is best declared.</p>
<p>myfun := proc (x::float)</p>
<p>local output;</p>
<p>output := 4*x^2;</p>
<p>end proc;</p>
<p><br>
de := diff(y(x), x)+myfun(x)*y(x) = 0.;</p>
<p>However, this gives the following message:</p>
<p>Error, invalid input: myfun expects its 1st argument, x, to be of type float, but received x</p>
<p>Any suggestions?</p>
<p> </p>
<p> </p>
<p>I would like to solve the following differential equation with a relatively complicated function that is best declared.</p>
<p>myfun := proc (x::float)</p>
<p>local output;</p>
<p>output := 4*x^2;</p>
<p>end proc;</p>
<p><br>
de := diff(y(x), x)+myfun(x)*y(x) = 0.;</p>
<p>However, this gives the following message:</p>
<p>Error, invalid input: myfun expects its 1st argument, x, to be of type float, but received x</p>
<p>Any suggestions?</p>
<p> </p>
<p> </p>
221757Mon, 24 Apr 2017 13:43:29 ZmikemesonmikemesonHow to get custom function name?
http://www.mapleprimes.com/questions/221355-How-To-Get-Custom-Function-Name?ref=Feed:MaplePrimes:Tagged With function
<p>If not define a procedure</p>
<p>just pass day(hello(a,b), c)</p>
<p>as parameter how to get hello , this function name and day this function name</p>
<p>If not define a procedure</p>
<p>just pass day(hello(a,b), c)</p>
<p>as parameter how to get hello , this function name and day this function name</p>
221355Sat, 04 Mar 2017 08:04:18 Zasa12asa12Function that approximates some points better
http://www.mapleprimes.com/questions/221057-Function-That-Approximates-Some-Points-Better?ref=Feed:MaplePrimes:Tagged With function
<p>I have to calculate a sort of trend line, but I don't know how it works with maple.<br>
I tried with Excel.</p>
<p>Do you think the method is right? How can I replicate it on maple?</p>
<pre>
Thanks in advance
</pre>
<p>I have to calculate a sort of trend line, but I don't know how it works with maple.<br>
I tried with Excel.</p>
<p>Do you think the method is right? How can I replicate it on maple?</p>
<pre>
Thanks in advance
</pre>
221057Fri, 03 Feb 2017 15:05:25 ZDereinDereinHow to get a numerical answer using the erf function?
http://www.mapleprimes.com/questions/220759-How-To-Get-A-Numerical-Answer-Using?ref=Feed:MaplePrimes:Tagged With function
<p>I didn't even know the erf function existed until doing this problem. I looked up how to use it, so I tried plugging in the explicity form into Maple, hoping it'd solve it, but it just spit back out the erf function.</p>
<p><img src="/view.aspx?sf=220759_question/Screen_Shot_2017-01-06_at_2.29.56_PM.png"></p>
<p>I am trying to get a number answer. A decimal. Because this is calculating a probability. How do I get Maple to give me a number here? Thanks!</p>
<p>I didn't even know the erf function existed until doing this problem. I looked up how to use it, so I tried plugging in the explicity form into Maple, hoping it'd solve it, but it just spit back out the erf function.</p>
<p><img src="/view.aspx?sf=220759_question/Screen_Shot_2017-01-06_at_2.29.56_PM.png"></p>
<p>I am trying to get a number answer. A decimal. Because this is calculating a probability. How do I get Maple to give me a number here? Thanks!</p>
220759Fri, 06 Jan 2017 19:34:04 ZhexaneandheelshexaneandheelsAnalyse simple function, and plot
http://www.mapleprimes.com/questions/220503-Analyse-Simple-Function-And-Plot?ref=Feed:MaplePrimes:Tagged With function
<p>Hello, How to do simple analyse on function? like find intervas where function negative and positive, monotone, critical points... </p>
<p> </p>
<p>And also how to plot them on one graph?</p>
<p>thanks :)</p>
<p>Hello, How to do simple analyse on function? like find intervas where function negative and positive, monotone, critical points... </p>
<p> </p>
<p>And also how to plot them on one graph?</p>
<p>thanks :)</p>
220503Fri, 16 Dec 2016 21:43:56 ZNorvooNorvoo