acer

32333 Reputation

29 Badges

19 years, 326 days
Ontario, Canada

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are replies submitted by acer

In your very recent Update notes you wrote, "By passing in the name of the whole module A, now nodes are able to see all module A local vaiables."

But that does not seem to be true. You can do it by using Grid:-Set on the fully qualified module-local name. But your note about passing just the module name works for module exports, which are not declared as module locals.

Your original Question specifically mentioned module locals, and the original examples were about such. Later, (but not the first "Update") you changed to all module exports.

My Answer shows one way it can be done for your original module local example.

@FZ Your image still shows an instance of beta(t), when you assign to B.

Is the right-panel (context-panel) open in your Maple GUI? Is the behavior different, if you collapse it?

@svida Did you keep a copy of that file?

Maple will have created a new one for you, now, in that same location. But I'd be interested to see the old one, if you happened to have kept/renamed it...

@Ali Guzel  The worksheet "lesson 22" is a little outdated.

The author mentions that the ODE isn't solved in Maple 9.5, if both Initial Values are supplied, and then does a step-wise solution after supplying just one initial condition.

notes:
i) The full ODE (with both IVs) is solved in Maple 16.02, Maple 2018.2, Maple 2024.2,
    and more. It can be done as,
         dsolve({diff(y(x),x,x)=(1+diff(y(x),x)^2)^(1/2)*alpha,y(0)=a,D(y)(0)=0},y(x));
So the lengthy step-wise workaround approach is needed any more. See attachment.

ii) In the case of multiple results from dsolve it might be nice to mention
    (even if only briefly) which is chosen to go along with positive alpha, and why.

This attachment has a few (marked, and unmarked) edits.
lesson22_Suspended_Wire_acc.mw

@Ali Guzel  Thanks.

ps. Please don't (!) respond to spam postings. If they have no replies then as moderator I can remove-as-spam and deactivate the submitter.

@Ali Guzel  You're very welcome.

I'll try and look up the author Heck and send him my edits, in case they are of use to him.

This site does't allow .maple attachments to download properly. But if you can attach a .zip file of Doug Meades workbook then I can probably find time to look it over.

These two authors' Maple books are some of the best.

@zenterix Your first call like,

   simplify( expr, {...} )

is an example of so-called simplify with side-relations.

It might sometimes seem convenient if that action were also to do all other, more usual simplifications. But it would in fact be bad if that always happened; it would be too heavy-handed. There would be no good & easy way to prevent the followup simplifications, in cases where they were not wanted.

There are several targeted simplifications which need to be able to act quite individually. There are similar general needs for targeted/restricted manipulations for convert/combine/expand.

@Joe Riel This would also pick up any files having as extension any of the other 6 permutations allowed by that syntax.

So it doesn't select only the .pdf and .dvi files in general.

@Andiguys Make your new data lists all the same lengths.

@Andiguys Your new data lists don't have the same lengths as each other.

So it complains when you try to use them together as (column) Vectors; one is too tall or too short.

@Andiguys Did you delete one of your previously answered Questions?

(It would have been posted around Jan 30, on maximizing an objective containing a piecewise, then plotting wrt variable `e` and `delta`.)

The magenta error message in your last attachment clearly indicates the nature of your mistake.

@Andiguys A single underscore means nothing special to Maple.

But a double underscore in a name tells the GUI to pretty-print it (2D Output) with an subscript.

So, instead use  C__v with two underscores.

If you've assigned a name to that variable, then one way (of several) to prevent evaluation to the value would be to wrap with single right-quotes  'C__v'  or  ':-C__v'

You asked about subscripts in labels on January 20 (two weeks ago). See my Answer here.


ps. Did you delete one (or more) other question of yours, from the past month, including one from around Jan 30, relating to optimization with an objective containing a piecewise?

@Andiguys As I showed before, you can add,

   labeldirections=[horizontal, vertical]

to get the x-axis label horizontal and the y-axis label vertical.

Adding the option,

   axes=box

to a regular kind of plot makes a box, instead of just the two (vertrical and horizontal axes being open.

You can find explanations of these options for 2D plotting commands on the Help Page with topic plot,options

@Andiguys I use "\n" the new-line character to pad the axis labels, so that they don't crowd in too close to the axes. Adjust to taste.

You can also add your own choice(s) of view to either P1 or P2, separately, etc.

The easiest way to exclude some of the left data values is to just chop the block off, by simple indexing.

Andiguys_dual_ac4.mw

 

First 14 15 16 17 18 19 20 Last Page 16 of 592