Items tagged with functions functions Tagged Items Feed

Hi all,

I've got the following Maple math code (its called the 'Strickler function', giving a relation between water hight 'y' in a channel and other paramaters), that works like a charm and correctly outputs my function Q =

> restart;
> A := (b+m*y)*y;
> R := A/(b+2*y*sqrt(1+m^2));
> Q := k*A*R^(2/3)*s^(1/2);

However, all contants in the functions are know, except for 'y' (Q is known as well). How do I solve the last equation for...

i am plotting multiple plots in one graph using the following commands. This has been successful for a different function but it doesnt work at all for the typed function. can you pinpoint my mistake? maple sheet is attached as well.

 
> restart;
> w(r):=1+(S)/(2)*[(r^(2)-1)/(2)-4*ln(r)]-(b*S^(3))/(4)*[(r^(4)-1)/(4)+128*((1)/(r^(2))-1)-6*(r^(2)-1)+48*ln(r)]+(3* S^(5)*b^(2))/(8)*[80*(r^(2)-1)-5*(r^(4)-1)-640*ln(r)-640*((1)/(r^(2))-1)+(r^(6)-1)/(6)+256*((1)/(r^(4))-1)];

I've found no questions about these types of functions. When I try to solve this equation by using the FOC function and then try to isolate one of the variables 'effort' (or optimal effort) the outcome is about 6 lines of algebra. When I use simplify it expands even further. What other options are there to get a 'nice' expression?

Wide set of expressions can convert to compiled functions. Expressions can even include definite integrals.
Hope it helps for others who want really speedup calculations in maple as much as possible for now.

ex.mw

 

Checked under 15.01 version

Hi

 

I have 2 functions here and I want to study their graphic. I never used Maple for that kind of things but this is probably the fastest and more precise way to see what happens graphically when it comes to those functions:

 

y1(t) = -rDirac(t) + t^2* summation (from n=0 to infinite) (r^(2n-1) * Dirac(t-2*n*Tau))

 

y2(t) = t^2* summation (from n=1 to infinite) (r^2n*Dirac(t-(2n+1)*Tau)

 

Is possible to plot two or more functions at the same time in the iPad's application?

Hi everyone.

I have calculated three functions which led to three curves in a plot. Since I need to join them so as to create just one curve, I ask you if there's a method, even if approximated. I've thought about an interpolation but I don't know if it's feasible.

 

Thank you very much.

Hi, I have 2 sets of data:

P := array([1.23, 1.15, 1.10, 1.20, 1.35, 1.25, 1.28, .99, 1.22, 1.25, 1.30, 1.05]);
Q := array([892, 1012, 1060, 987, 680, 739, 809, 1275, 946, 874, 720, 1096]);
p=P(t), q=Q(t) i.e. both p & q are a function of parameter t  t=1..12
 
2 functions: 
x=ln(p)
y=ln(q)
I'm trying to display x against y , ie x=ln(p) on the horizontal axis, y=ln(q) on the vertical

Call EvalMapleStatement from c dll.

expression always has form like "F(0.4, 0.7, 0.9);" i.e. maple defined function called. All i need it's value without any kind of caching. But memory usage dramatically grows. Help to overcome it!

 

Tried already EvalMapleStatement ("forget(F);") - do not work. I'm out of ideas what maple also caches. F itself is complicated enought. And not known a priori. How to clear all caches of other functions that f might call?

I am working with two multivariate functions A and B, with coefficients over a finite field. The x-degree of A is greater than or equal to B, which is greater than or equal to 1, and thus I want to find q and r such that:

A = q*B + r, where q, r are elements of K(y,z)[x], where K is my finite field. Obviously, I would like the x-degree of r to be less than that of B, and r not equal to 0.

My problem is this: the Rem and Quo commands, which will deal with my...

Hi,

I am trying to simplify the expression s as given below. (I am not sure why it comes up with all the vector caclulus notation in it but it should display okay when you enter it)

Because of the presence of the exponential imaginary fucntions I thought evalc might be useful but when I use it I get a huge expression with csgn appearing in it. To my knowledge csgn appears when assumptions are not correctly specified - is this so? I can't see any assumption...

I want to plot three cumulative normal distributions. I know the parameters mu and sigma from each function. If I give the commands 

f:=int(1/sqrt(2*Pi)/sigma*exp(-(x-mu)^2/2/sigma^2),x);             1
plot(subs({mu=0,sigma=1},(1)),x=-4..8);
 

I get a 2d-plot. But I want to illustrate, how functions can be moved in space. In the 2d-plot, the x-axis illustrates the values of the random variable and the y-axis illustrates...

Hello, 
I am just starting to learn about maple.
I have a graph of two functions and would like to find the range that they agree within
 a certain percentage using fsolve() and format the interval as a list. 
The part that is throwing me off is the within a certain value part.  Thanks in advance!

I hope I've got the terminology right...

I've got a set of functions that I want to display in a maplet table. The tables shows up fine, except all the functions are written like:

x^2+1

What I'd like is them to be shown like:

x^2+1

I've tried playing with MathMLViewer, but that doesn't seem to work.

Hi,

 

After having Maple solve a large system of equations, I'd like to convert the resultset into functions programmatically.

 

Something along these lines:

for p in resultset do functionname=lhs(p); functionname=unapply(p); od;

 

This of course doesn't work, this assigns the function to 'll'. I tried something like this as well:

for p in resultset do functionname=lhs(p); subs(FN=functionname, FN=unapply(p)); od;

1 2 3 4 5 6 7 Last Page 1 of 38