MaplePrimes Questions

Hello,

I'm new to maple's datastructures. Is it possible to store some rather complicated data in the nodes (or leafs) of a n-nary Tree? Are there also B-Trees?

How do I complete the following by using row reduction rules.

3x            -z=-1

4x     -y    -2z =-5

2x +  7y  + 9z = 0

Hi everybody?

I have a small bug when create a maplet for a simple logical example.

> myMaplet := Maplet(Window(title="Logic Test",
[
["A : ", TextField['A'](5),
 "B : ", TextField['B'](5)],
["A = B?", TextField['TF'](10)],
[Button['EX']("Do", onclick=ACT),
 Button['QT']("Quit", enabled=true, Shutdown())]
 ]),
Action[ACT](Evaluate('TF'=evalb(eval(A=B))))
):
>Maplets[Display](myMaplet);
 

Hey,

I am uing cmaple.ext to generate batch of images.

However, i found some of the functions are not the same as i execute from the worksheet from standard maple interface.

 

There are lot of white space around the image...

Is there any way to reduce them?

This is a problem about which I have previously posted here on several occasions, please stop reading now if you are fed up with it, I do apologize.

Let me go straight to the somewhat-reduced-form problem. I have two (non-autonomous) ODEs in C(x) and Q(x)

ODE1 := diff(C(x),x) = s*(fx(x)-Q(x))*C(x) / (f(x)-C(x));
ODE2 := diff(Q(x),x) = (Q(x)-b1)*(b2-Q(x)) / (f(x)-C(x)) + (Q(x)-b)*s*(fx(x)-Q(x))*C(x) / (f(x)-C(x))^2;

In the above, f(x) is a known function and s, b1, b2, b are known real parameters. A particular parameterization is the following:

Hi everybody:

I have an application that requires the following:

a) perform integration of a 2D function over a triangle;

b) perform integration of a 2D or 3D function using different orders in each direction.

Other than writing your own procedures is there a way to do that with Maple? And if you have to go down that path, could you somehow utilize the weights and stations of integration which are hardwired (I assume) in Maple? And in so doing save your self the effort of typing long streams of numbers.

 

thanks a lot

Maple People,

I've been trying to work out a procedure for a friend for a couple days right now and I'm totally stumped. It's just a maple syntax thing.

Given a set like:
S:={X(t)^2+Y(t)^2=1,2*X(t)*diff(X(t),t)+2*Y(t)*diff(Y(t),t$2)=0}
how can I determine the ''highest t-derivative'' of X(t) (or any other of the functions).

That is, the highest t-derivative of X(t) in S is diff(X(t),t)
... of Y(t) in S is diff(Y(t),t$2)

I can't seem to get any relevant information by doing:

> f:=diff(X(t),t);
d

I need to delete certain components of a vector, I know if it was a matrix I could use DeleteRow and DeleteColumn but it does not work for a vector, how can I do that?

e.g.

A:=<2,10,5,7>;

n:=2 (delete second component) ??

A:=<2,5,7>

 

Hi, I am working on a complicated expression. For the matter of simplicity, I want to define some new variables in order to express it in a more concise form. For example, where ever I have p^2/q^2, I want in to be replaced by a new defined variable like s, which is defined the same, i.e. p^2/q^2. So an expression like p^2/q^2 + 3 will turn to s+2. Please let me know if maple can do it, and if yes, how? Thanks, Hamidreza

Hi everybody:

I have a bilinear form, that is an expression that may be written down in the form

Rowvector(1,n)*Matrix (n,m)*Columnvector(m,1)

and what I like to do is extract the Matrix(n,m) from it.

One way of doing that is take the derivatives of the expression in terms of the components of the two vectors. However, in my view coeffs should work as well. The problem is I don't see how the returned results are sorted out based on my supplied list, e.g.

Hi,

I've got a weird problem and I can't understand why.

When I use BooleanSimplify for a really big expression, e. g.

Hi

I work with rather long expressions, expecially fractions containing "good" functions, like power or sqrt.
They contain also some contants, over whick I made assumptions like

assume(M::real); additionally(M::positive):

It happens very frequently that when I go further in my calculations, doing simplifications for ex, I get finally expressions which still contain the constant M, but for which

has(%, M)

How can I use subscripts in functions?  I can define an equation such as A1=B1+C1 fine.  But when I type in  A1:=(B1,C1)->B1+C1 , I get "Error, invalid operator parameter name".  What gives?  Any work arounds?

Ratch

I've got a set of Mathematica notebooks written by my co-author which I was thinking about translating into Maple worksheets (we also have a Matlab version of the same simulations so I thought it would be fitting to have a set of Maple equivalents too)... until I realized it may not be all that simple. Does anyone have prior experience using the MmaTranslator?

Good Morning,

How do I do a linear interpolation in Maple if I have the following list below

v := 1.7 is the value in R

R := [1.0, 1.5, 2.0, 3.0, 5.0,10]

X := [1.87, 2.11, 2.31,2.63, 3.04, 3.53]

c1 :=BSpline(R, X, v) (Is this correct) because I did not get the expecting X value

Please Help.

Regards

 

First 2090 2091 2092 2093 2094 2095 2096 Last Page 2092 of 2421