Items tagged with function function Tagged Items Feed


I'm trying to solve numerically an ODE system with piecewise. And this piecewise is very important for this task.

This system describes behavior of a pulley with friction. There are some constants: m, c, g, mu and J. Values of this constants are not important.

> sys := m*a(t) = piecewise(a(t) < a0, F0*time, a(t) >= a0, 0), v(t) = diff(x(t), t), a(t) = diff(v(t), t);
> m := 5; F0 := 10; a0 := 5;
> initialconditions := x(0) = 0, v(0) = 0;

Hi there,

I was woundering if there is a function implemented in Maple11, where I can enter a function and it's domain, and the output is the range. For example:

Entering f(x)=x^2, and the Domain x in (-1,2), I would want Maple to tell me that f(x) is in [0,4).

Is there such a function implemented? I need this quite often, most times on functions from R->R, but also more general for functions from R^n -> R^m. I know that in some cases you could...

VEH_We.mwDear Community

I try to plot a rather sophisticated function with Bessel functions and several roots of a transcendent equation, but failed. I've specified all parameters, functions, etc. yet I still get an error message. What do I do wrong? I've uploaded the file,  if you could have a look.

Tx in advance, best regards


I'm trying to make an infinite square well of width a, and i want to plot individual solutions along with the walls of the well at x=a and x=-a, does anyone know how to modify my code to show the solution and the vertical lines at x=a and x=-a, id like to also show that the wavefunction is zero at the walls, but due to the equation it continues past them, is there some way i can either modify the equation to stop the plot at x=a and -a (preferable) or blank out the graph after the walls?

Please explain details of the fmt string in the mapleta function numfmt.  The help page only says

Returns the value of x, formatted according to the template fmt.

 For example,

 numfmt("#.00", 20.9)

Dear Sir / Madam,

Would you recommend me how to isolate the real and imaginary part and simplify the equation A? Maple cannot evaluate this equation to numeric value...

A := evalf(sqrt((Re(B))^2 + (Im(B))^2));
A := evalf(abs(B));

are not working.

I have attached my equation function.txt


I need some help with plotting the function with varying variables lambda and m ( varying from 0.1 to 1) which subject to the mutual constraint.

My function is:

> d:=(lambda, m) -> (0.1281008386e-3*m*lambda*(20.004936*lambda+21.004936*m+1)^2/(lambda+m)^2+0.1281008386e-3*(21.004936*lambda+21.004936*m-m*(1-lambda))^2/(lambda+m)^2)-(0.2690752038e-2+0.2690752038e-2*m*lambda);

The constraint is:


Please help me with the following.


I have this function

y(theta,t):=1/4*Pi + A*sin(m*theta) + A*sin(m*theta)* (exp(-1/4 *alpha^2*beta^2)-2)/(4*Pi)*t;

which can also be written as


I want to find the inverse function of the given function h(m),and also plot the inverse.I can't find any help to evaluate the inverse function in an explicit form.I plot the inverse though,but why its so ugly?How I can customize its domain & range?

Hi. I am very new to Maple and there is something I can't find an answer on.

I would like to perform symbolic manipulation to help me simplify some equations. I was trying to define E to be a generic function operator, (expectation in statistics)

I have a equation y = a + b + c*d + e*f +..... something really long

I am to say R(y) = E(p*y)

How do I go about teaching Maple that my function is commutative and there are sets of rules which can be used? e.g.:

Hi there,

I've got a weird error which kept me busy for two hours now:

I'm doing computations outside Maple and successfully read in a string, e.g.

s := "T(3)^5*T(5)^35";

Then I parse s by performing



u := subs({seq(T(i) = S[i], i = 1 .. 5)}, parse(t))

gives me

S[3]^5 * S[5]^35

Now the weird part: This works all fine if I put those command right in a Maple10-sheet.

If I however use this in a function fun(...

I have an equation which has no explicit solutions, but I would like to plot the solutions. I have construction a function which, for every argument, produces a numerical answer to the equation, but this function can't be plotted. Below is a simplified (equation has trivial explicit solution) function which shows the difficulty.

> Fe := p->fsolve(eval(1-x+p = x), x)
p -> fsolve(eval(1 - x + p = x), x)

Here we exercise the function to produce floating results.


I'm a beginner in Maple and I struggle to plot the function under a number of constraints.

My function has 2 varying variables (lambda and m):

d:=(lambda, m) -> (0*lambda*m*1*0.2533*5.251234*(9)/2/((4*5.251234-1)^2)+ 1*((m*lambda*1*0.2533)/4 + (1*0.048236*(5.251234-1)*5.251234)/((4*5.251234-1)^2)))-(1*0.048236*0.2533*(0.2533-0.048236)*1*(1+m*lambda)/((4*0.2533-0.048236)^2)+ 0*lambda*m*1*0.2533*5.251234*((4*5.251234+5))/2/((4*5.251234-1)^2));

Hey there,

i have (for example) these two B/W images and would like to calculate the displacement of the cross via an image correlation.
does anyone has an idea how to succeed???
is the Correlation function in the Statistics package usable for this task?
thanks in advance!



I am working on a problem that I can't seem to figure out the plot commands in Maple. The problem is this...

Given a family of surfaces described by z=(ax^2 +by^2)*(exp(-x^2*-y^2))

I need to obtain a 3D plot of these surfaces and, from the graph of the surfaces, explain how constants a and b will change the shape of the graph. I cannot find the syntax required so plot such a function, but I have been trying using spacecurve(). Does the equation...

First 12 13 14 15 16 17 18 Page 14 of 19