Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I get the following error message when trying to use LinearSolve(with inplace option) to solve a linear system of size 2000x2000 with 416 digits.

 

maple: fatal error, lost connection to kernel

 

Any suggestion to the cause of this error or how to avoid it?

Dear All,

I would like to make assumptuions about the input parameters of a procedure. The input parameter of the procedure should be the (1,1) element of a 2-dimensional Matrix. I make the same assumptions for the elements of the Matrix as expected by the procedure. When I  call he procedure with the (1,1) element of the matrix, it gives the following error. How should I use the assumptions or how to pass correctly the parameter to the procedure in this particular case?

Hi,

I want to plot a function with a restricted domain, specifically f(x) = |x| if -Pi <= x < Pi.

I want to first define the function, then use it in the plot command.

I know to define the function f(x) = |x|, I do

f := x -> |x|

...but how do I tell Maple to include the domain, -Pi <= x < Pi?

Thank you.

Hi,

 

I would like to differentiate a sinlge-variable function containing abs(), min(), and max() calls. For smaller functions it seems to work, however for my procedure, it does not seem to work. What can be the problem? I would appreciate any comment. 

 

It seems to work for the followings:

> diff(min(5*x,3),x);
                     /        ...

Hi

The example below is the same as my code:

restart:with(Optimization):f:=(a+2*b+c*d)*sin(wr*p*t);

fmoy := p*wr*(int(f, t = 0 .. Pi/p/wr))/Pi;

fmax:=NLPSolve(f,t = 0 .. 2,a=1..5,b=0.1..0.5,c=0.4..0.8,d=10..20,wr=200..300,p=5..20,maximize);

fmin:=NLPSolve(f,t = 0 .. 2,a=1..5,b=0.1..0.5,c=0.4..0.8,d=10..20,wr=200..300,p=5..20);

Taux:=NLPSolve((fmax-fmin)/fmoy,t = 0 .. 2,a=1..5,b=0.1..0.5,c=0.4..0.8,d=10..20,wr=200..300,p=5..20);

In MapleSim, I need a half-sin signal source element.

Of couse, I yielded a half-sin puls by using the combination of 2 sine souce elements and add element.

But i think it is not the best way. I want to use custom element in Maple to create it,

but I don't know how to write the equation code in Maple.

Please help me.

thinks

In examining ODE models containing parameters I don't like to assign values to these, but use the form

param:={a=2, b=7};
and then
eval(expression, param);

This works well. There are situations, however, where this method can be cumbersome.
This would be the case in a situation like this:

plot(a*sin(x),x=0..b);

You could do

plot(op(eval([a*sin(x),x=0..b],param)));

But maybe an operator having a syntax similar to 'assuming' could be useful.

The first line below is my code for computing the angle between vectors U and v.

It works and gives correct answers.  But it appears on the screen with this  "Typesetting: delay"  for each of the dot products.

What does it mean?  Is there a package I should have loaded?

This is for a lab where I want students to use the formula as it appears in the textbook rather than using some built in function that makes it "too easy."

As shown in the image bellow. The first statement of fsolve function yields nothing but evaluating the expression. I copied the expression into the second command line and got the result. How can I make the first one works, since it belongs to a proc in my program. 

This is another elementary question (I tried searching MaplePrimes but couldn't find anything):

Suppose I'd like to use "solve" to solve a system of equations specified as vectors:

z := <yb,x1b,x2b>:
v1 := <v1y,v1x1,v1x2>:
v2 := <v2y,v2x1,v2x2>:
e1 := z = v1 + v2;
e2 := v1 <= UU*delta1;
e3 := v2 <= UU*delta2;

Invoking "solve([e1,e2,e3],[z,v1,v2])" does not work. 

How do I convert each element...

Hi

I have some difficulties in manipulating matrices in Maple

For example, I have a matrice with 40 rows and 9 columns ans I want to extract the odd rows taking columns inchanged. The new matrice which has 20 rows and 9 columns must replace the old matrice

In Matlab, I do this with only one command: WTable=WTable(1:2:40,:);

Thanks in advance for help

Hello,

I am just now learning how to use Maple and I am having trouble turning Ohm's Law into a function.

Here is what happens when I try to turn Ohm's Law into a function.

 

Vrms:=(R,I)->R*I

       Error, invalid operator paramet name (and then it puts a dotted red line box around everything to the right of the equal sign)

 

What really irritates me is that I can type

I right click my units and it does not give units to simplify

When I try and to z transformations and inverse z transformations using the Heaviside function as follows Maple doesn't seem to be able to handle it; does anyone have suggestions?

 

ztrans(Heaviside(n-No),n,z) assuming No:posint


would expect z^(-No) * z/(z-1) but no results, does work if No replaced by a specific integer

Similarly, ztrans(x(n-No),n,z) assuming No:posint  acts the same.

 

 

Hi, Im working in Maple 12. I have this function

f(x,y)=(x,xy)=(u,v)

This is a function of R2 to R2 , I want to know how this function transform the square (-1,1)x(-1,1) in the plane uv. When i put in maple the comand plot for this, it gives me an error, because is of the form:

f(f1(x,y),f2(x,y))

First 1776 1777 1778 1779 1780 1781 1782 Last Page 1778 of 2224