MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

There any command within the DETools package, with which to avoid the following steps:

> diff(Q(t), t) = eta*(T(t)-theta)*s/l;

d eta (T(t) - theta) s

--- Q(t) = --------------------

dt l

> diff(Q(t), t) = -c*m*(diff(T(t), t));

d / d \

--- Q(t) = -c m |--- T(t)|

dt \ dt /

> rhs(diff(Q(t), t) = eta*(T(t)-theta)*s/l) = rhs(diff(Q(t), t) = -c*m*(diff(T(t), t)));

eta (T(t) - theta) s / d \

Especially in old books (but not only there) the authors prefer the notion
of 'argument' ( = polar coordinates and using the angle).

Sometimes it comes to something like 

                | arg(-z) | < Pi and | arg(1 - z) | < Pi

which I prefer to have in terms of interval notation 'z in ... ' or its
complement  'not (z in .. )'.

I do not even know how to get | arg(z) | < Pi  <==> z is not a negative Real. 

How can I do it in Maple?

the post comments...

November 10 2009 herclau 993
Can you guys explain me the steps to put the commands, formulas in the post comments. I can not find the form that they are legible.

I tried with:

Maple Tag
Writing in Word and use: Paste from Word.
Exporting the Web worksheet, then copy and paste.
Do not just find a way to let me
comment on the way that a lot of you do.

1. how to replace in the expression:

I'm trying to do an integral like this:

F(y) = int(x^-3 delta(1-y/x^1/2),x=1..2)

any advice?


I spent the last 2 hours searching in the Help commands for the command that returns the length or size of a given ordered array or list.

e.g. I have Thing:=[3,7,6,5]:

I want the function that returns the value 4 for the size of Thing.

I am really surprised that such an operation is so difficult and hard to compute that it is never in any of the Help menus.


I am working on a homework assignment for a Maple class and am hung up on creating adjacent lists within a list.  I know that I need to use the seq command with a i=1..(end) condition, but that code only creates the list, not the lists within the lists..

Here is the actual problem statement:

Consider the list

monthList := [ january, february, march, april, may, june, july, august, september, october, november december ];


I'd like to add to my density plots, a vertical bar in one of the sides of the grid,which contains the colour range used in the plot, and the numerical values associated with the colours (eg

How can I do that?

Additionally, can I plot in the same grid an one-dimensional function of one of the variable?




I would like to do a nested sequence (or for loop) but the number of iterations is not necessarily fixed: I tried doing the following: nestedseq:=proc(numtimes,middle) return cat(seq(`seq(`,i=1..numtimes),middle,seq(`,j[i]=[1,2,3]) `,i=1..numtimes)); end proc; But then I get a string with the desired command but I cannot evaluate it. Is there a better way to do these iterated sequences? Thanks a lot,

I want to isolate T1, a variable with literal subinidice.Like the other variables

`#msub(mi("m"),mn("1"))`*(`#msub(mi("T"),mn("1"))`-T)*`#msub(mi("C"),mi("p"))` = -`#msub(mi("m"),mn("2"))`*(`#msub(mi("T"),mn("2"))`-T)*`#msub(mi("C"),mi("p"))`I

used the command "solver", "Isolate Expression for" And by choosing `#msub(mi("T"),mn("1"))` , maple returns nothing.

So i have what i presume to be a rather simple question, for someone anyways, but not me. I have to plot a solid circle (radius=2) on the plane z=0. Not sure how to approach this as the closest i've gotten is doing implicitplot3d(x^2+y^2=4,x=-2..2,y=-2..2,z=-2..2) however it just shows the cylinder rather than a solid circle on the z=0 plane. It needs to be in 3d so i can display another graph with it. Any ideas? Thanks in advance.


I have solved a system of partial diff. equations with ind. variables (x,t) with two dependent variables.After solving I get something like this,

> solu := pdsolve({eq1, eq2}, ibc, numeric, time = t, range = 0 .. .5, spacestep = 1/2560, timestep = 1/180);
    module () local INFO; export plot, plot3d, animate, value, settings; option

Hello everybody,


#Is there an automatic way to transform equations like this

(-42.62500000*omega^2+1400.)*A[1]+(-12.00000000*omega^2-1000.)*A[2] = 0;
(-12.00000000*omega^2-1000.)*A[1]+(-5.475000000*omega^2+1000.)*A[2] = 0;

#in a matrix like that?

C := Matrix(2, 2, {(1, 1) = -42.62500000*omega^2+1400., (1, 2) = -12.00000000*omega^2-1000., (2, 1) = -12.00000000*omega^2-1000., (2, 2) = -5.475000000*omega^2+1000.});

without copy/paste each element?

Thank you,



can you help me "i need maple code to solve poisson equation by multigrid method"




I am using the codgen package to get gradient of a function GRADK := codegen[GRADIENT](SK)

where SK is a very lengthy term with variables x1 to x18

And then I use

GRADKopt := codegen[optimize](GRADK);

I need to convert this to  C++. The problem is the codgen of the gradient is creating the differentiation function D() in the RHS which makes it hard for me to covret it to Matlab or C++. Is there any way I can fix this



First 777 778 779 780 781 782 783 Last Page 779 of 1136