Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I recently discovered a minor variation on the technique of building a set using a table. The purpose for using a table rather than inserting new items directly into a set is that, in a loop, the latter technique is O(n) rather than O(n).  The way I would normally do this is to assign a counter and an empty table, and then, in a loop, compute the new element, increment the counter, and insert the element into the table at the counter index.  For example,

Hi all,

while studying this ODE

 

Ever wondered how you can create filenames by cycle.

Well, I did, because I needed it. And I came up with something that works and because once i forgot it, I decided this time to put it here. At least, I won't forget again :) If you have a better way to do it, please, say so.

The idea:

>A:=`/home/Data/file_`; B:=`.txt`;

>for i from 1 to 3 do C:=cat(A,i,B); writedata(`C`,[i],integer);od;

Hi,

I have been trying to get a numerical solution to the following ode system for weeks. I am new to Maple, and I think my issues might be with the coding rather than the maths.

I get the error message:

Error, (in dsolve/numeric/checksing) ode system has a removable singularity at t=0. Initial data is restricted to {v(t) = 0., Phi(t) = 0.}

I know there is a singularity at t=0, so I tried setting the 'range' option to something just above 0, but it is still not working.

Hallo thar. I’m new to both Maple and programming. I’ve been searching for a Maple programming introduction online that would allow me to work on the following problem but haven’t turned up anything.  Hoping some of you can point me in the right direction.

.

I have two sets of integers {Y1,Y2..Yn} and {B1,B2…Bn}. For each value in the Y set I need to solve a function F(x) for a number of iterations given by the B value corresponding to the Y value (B1 for Y1).

Hi all,
> deq := diff(theta(t), t, t) = -g*sin(theta(t))/L;

                           2                              

So, Maple is quite helpful in that it will automatically make certain simplifications for me.  But what if I don't want it to.  For example, if I enter 2*(2+x), how do I get it to not just simply return 4+2*x?

 

Consider this to by end goal:

evalb(2*(2+x) = 4+2*x) => false

I have some troubles in solving a system of three trigonometric equations using the function 'solve' of Matleb.The program finds three solutions but a message of 'Warning: Warning, solutions may have been lost' also appears. Does it mean that there are other three solutions? If yes, how can I see also these three numbers?

Thanx!

In particular because the TAB key doesn't work in Maple, is it possible to define a shortcut key for a few spaces? I found this quite annoying that I couldn't simply tab over a few spaces when programming. Is Maple going to fix it in the future? Why doesn't TAB work anyway, did they forget about it?
I have a particular system of partial differential equations to which I want to apply a change of variables involving square roots using PDEtools[dchange]. The result turns out to be not in a simple form due to the square roots. Why is this so ? Is there a better way solving the problem than the one I am suggesting below ? The system of partial differential equations of interest is the following:

Hi all,

While solving a différential equation, I encounter an integral:

 

Anyone know a slick way to change the arguments of a function to possibly different things depending on what they are?

 

Let's say I have objects a, b and c.  a and b are of type function and c is of type set.  F is another function object.

 

F(a,b,c) is defined.

 

What I want to do is construct F(g(a),g(b), h(c)).....

 

Ideas?

solve used to be one of Maple's strongest commands -- it even subsumed simplify in power.  But, over the years, dsolve slowly took over as the most powerful comand.  At the same time, people started realizing that within the framework of differential equations, the toolbox was actually larger than the one for algebraic equations (and most algebraic tools are still available).  So many tasks that one thinks of doing purely algebraically can also be done using differential equations, with perhaps the most surprising one is to factor multivariate polynomials via partial differential equations.

First 2027 2028 2029 2030 2031 2032 2033 Last Page 2029 of 2226