Thomas Richard

Mr. Thomas Richard

3255 Reputation

13 Badges

15 years, 96 days
Maplesoft Europe GmbH
Technical professional in industry or government
Aachen, North Rhine-Westphalia, Germany

MaplePrimes Activity


These are answers submitted by Thomas Richard

If I got your question correct, this is what you need (documented under ?ComboBox, last but one example):

mylist := Model:-GetParameters();
DocumentTools:-SetProperty(ComboBox0, itemlist, mylist);

Of course, this code snippet can be adapted as needed, e.g. if you don't want to see the values in the combo box.

You have specified a boundary value problem (even though interval length L is small), but `dsolve/series` will deal with initial value problems only. Add the following commands to see a helpful error message:

odesys := {p1, p2, p3}:
fcns := {f1(x), f2(x), f3(x)}:
ssol := dsolve(odesys union bcs, fcns, 'series');

I'm not aware of any method to find series expansions for BVPs, sorry.

And for finding a numerical solution, you will need one more condition:

nsol := dsolve(odesys union bcs, fcns, numeric);

For users who want to write really large amounts of code, a third option is the Maple IDE which supports automatic indenting.

Maple 2015.2 gives the same result as Maple 17.02 and others on my laptop. However, I don't keep earlier dot releases installed. Did you update as well? See "Tools > Check for Updates" or visit our downloads page.

Also make sure to exclude any side effects (from installed 3rd party libs, custom initialization files, etc.).

If I interpret your notation correctly, here's my suggestion:

with(PDEtools):
U := diff_table(u(x,t));
pde := U[t,t]-U[t,t,x,x]-(a*U[x,x]-b*U[x,x]^3) = 0; # note the edits of your input - please check
asa := pdsolve(pde, HINT=`+`); # additive separation ansatz
sol := build(asa);
pdetest(sol,pde); # optional check

And I have no idea whether that worked in Maple 13 (or even 9.5?) already. You definitely should upgrade. There are vast improvements in pdsolve and PDEtools from Maple 14 on. Which is the oldest version I still have installed.

packages();

will return a list of loaded packages.

Because you quoted u[i](t) on the lhs of the equations, you keep Maple from replacing i by the actual values.

One way out is evaln ("evaluation to a name"):

Equ[i]:=evaln(u[i](t))=u[i](t);

A MapleSim model and some video links were provided by my colleague Samir Khan here.

You haven't told us what you entered in Maple, so I guess it was

int(u/(1-u),u);

and the result is -u-ln(-1+u), which is correct.
In case you want to revert the ordering of the polynomial inside the ln, just do

sort(%);

and you're there. Check out ?sort for more information on that.

Edit: Please ignore my first remark. I had overlooked that part of your screenshot. Better upload a Maple worksheet (mw file) using the green arrow-up button of the MaplePrimes editor, or post your input as plain text. Make it easy to reproduce for others. Uploading screenshots is only necessary for GUI questions (formatting issues / plot appearance etc).

[I'm on iPhone currently, and don't feel like typing much, sorry.]

Examples > Physical Domains > Electrical > Parallel LC Circuit (for instance)

Left-click on the probe (titled Output here) and check the Current box in the Inspector. [By default, only Voltage is checked.] The direction will then be indicated by a small arrow beneath the probe.

Tools > Assistants > Equation Manipulator...

I'm not familiar with the Mma commands you mentioned, but Maple 2015 introduced the PolyhedralSets package - this might help you get started. There is no single command that answers your example question, but you can probably write a procedure that does the job.

If that problem affects 3D visualizations only, then check our FAQ. Otherwise it sounds like an installation or compatibility issue. Please contact our support team and specify your platform (OS, graphics card, etc.). Attaching your MapleSim install logs may be helpful. Also make sure you installed the latest update, which is 2015.2.

Note that Mac OS X 10.11 is not yet supported, but should be shortly.

Result := <W, <V|A>>;
currentdir(kernelopts(homedir)); # optionally choose your target directory
ExcelTools:-Export(Result,"mysheet.xlsx");

Export will notify you about converting variables (found in the top left corner) to strings, however.

For a start, visit our company web site and select "Support & Resources". Then open the RESOURCES menu from the top. You will find e.g. a list of more than 400 books. Other items include the Maple Application Center, live and recorded webinars, whitepapers, MapleSim Model Gallery, and MaplePrimes. A site search is also available.

First 20 21 22 23 24 25 26 Last Page 22 of 43