For given expression expr it's known that type(expr, function) returns true. How to grab name of that function in fast way?

Unserstood that in slow way could be transform to string done and after that could be found substring till 1st '(' symbol. But i'm sure that name somewhere 'sits' directly.

Download problem_for.mw

I use some codes to find the coefficients of given functional expressions. But in the procedure of operation, "Error, invalid 'if' statement" is showed. How can I do to solve the error?If this structure of code can't find the coefficients, how to get the coefficients?

P.S. the coefficients of given functional expressions like this:

given Ex:=a*x+b*y-d*z+e*y-f*x-m*z,

Download problem1.mw

Give a polynomial a*x+b,We can use the command "coeff" to get a coefficient of x. Unfortunately the command does not work for functional work. I have a comlicated functional expression, and want to get the coefficients of some given basical term. How can I do to get the coefficients?

f(x):=((e^-ax^2)-bxln(1+x^2))/(2+x^2+csin(Pi*x))

i have defined a,b and c. (all randoms numbers between 0 and 1 )

But when i try to plot it

plot((f(x)), x=-4..4) i get ( warning unabe to evaluate function to numeric values ion the region)

also i can plot the graph even without a range included ???

What am i doing wrong, have i defined f(x) right. thanks in advance

Hello,

I'm new at maple and I was wondering if someone could help me. I've got a function with 3 variables:

v1'=(v1*sqrt((1+u)^2-4*u*cos(b)^2))/(1+u)

Can you plot this function? Or do I have to give one or two variables a value and plot the function 3 different times with just one variable?

Thanks

I have a module to overload the * operator for the function f such that:

a*f(b,c,d) = f(a*b,a*c,a*d)

FPackage := module()option package; export `*`; `*` := overload ( [ proc(a::algebraic, b::specfunc(anything, f)) option overload; map2(:-`*`, a, b...

I would like to define a function f(a,b,c,....) sub that x * f(a,b,c,...) would return f(x*a,x*b,x*c,...). Is this something that is simple to do in the function definition or do I need to create a rule to apply?

How to solve this problem in maple? Decide which of three lines given are tangent to the graph of f(x) at given points. The function to define is f(x)=2x^3-4x^2+3x-5 The possible tangent lines are: y = x - 5 y = 2x - 5 y = 3x - 5

1. What is/are the zero(es) for this function? In other words, what is the solution for f(x)= 0

2. What axes values (x- and y- ranges) are appropriate for this graph?

3. When plotting each linear function with f(x...

I have written lists of parameter values and functional forms which I read at the top of the worksheet and use subsequently when I need numerical output.

For instance,

Parameters1 := [ s = 2 ];Functions1 := [ U = 'proc(c) (c^(1-s)-1)/(1-s); end proc' ];eval(eval(U(c), Functions1), Parameters1); ...

Download dgil.mw

I'm trying to solve a derivation of a function, that consists of parameters and varaibles (i want to find the value of x that setup the derivation to zero).

The solve function give me starnge results..

Follow up the file.

Can someone suggest me another solution to the problem?

Gil

Hi,

I am working on my project related to bioinformatics. I am using Maple 11 for calculations related to matrices.

I need to calculate Moore-penrose Pseudoinverse. I need to know the algorithm used by Maple function

'MatrixInverse' for calculating pseudo inverse of matrix.

I have a piecewise function which I want to curve fit automatically in Maple. The conditions are:

An image of this is shown below. How can I do this in Maple?

Image Link: http://dump.omertabeyond.com/?di=1613174606062

I have defined a function 'A' and written a procedure to evaluate it for various variables, as follows:

A := r*sin(m);

Aval := proc (r, m)

evalf(A);

end proc;

Aval(1, Pi);

The function defined by its variables is returned: r*sin(m).

How can I get maple to return the numerical value of the function?

In the attached workbook I define a function that contains an if. This seems to confuse the plot function when I try to plot my function. How do I plot this function?

PlotFunctionWithI.mw

I have a piecewise function which I require to be transformed to a fourier series.

The function to be transformed is:

velocity:=piecewise(t<=6, 3*sin(t*Pi/6), t>6, 0);

How can I change this to a fourier series in a simple manner.

Thanks for your advice.

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.