Carl Love

Carl Love

28100 Reputation

25 Badges

13 years, 106 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

@Mac Dude My reading is that by "export" the OP means to write out the values so that they can be read by another program. For that, we need to know the format that the other program accepts.

 

In this post, Samir Khan does it by using a textplopt on each contour.

It is not clear to me what you mean by the minus sign in f^-2. Do you mean something having to do with an inverse function? From your subsequent code, it looks like you intended merely the second derivative. But why the minus sign?

What do you hope to achieve from a symbolic solution to this problem that you can't get from a numeric solution? Maybe we can show you how to get it from the numeric solution. The symbolic solution is unwieldy, and I doubt that it can be significantly improved.

@acer 

solve(x^2 - 2*(m+1)*x+m^2 - 2*m + m^2=0,{x},real,parametric=full);

As one small step towards the goal, I'll point out that one of the fundamental data structures required for the algorithm---a priority queue---is implemented in Maple via the ancient and little-known command priqueue.

@Mac Dude 

Good answer. Would you kindly please provide an example of what you mean by "series will not work on functions"? It's not that I doubt what you say; I just don't understand it.

@casperyc Sorry that I didn't see your comment earlier.

You asked:

I am a bit confused why (how) would you  think of reducing the accuracy?

Why: Because the error message that one gets when using the default accuracy suggests that an answer may be possible at a reduced accuracy, and it even suggests what to reduce the accuracy to.

Sol:= dsolve({ODE, BCs}, numeric, method= bvp[middefer], maxmesh= 2^15);

Error, (in dsolve/numeric/bvp) unable to achieve requested accuracy of 0.1e-5 with maximum 32768 point mesh (was able to get 0.14e-2), consider increasing `maxmesh` or using larger `abserr`

How: By adjusting the parameters relerr and/or abserr.

And what does the Reduced accuracy answer tell us?

Nothing in this case. In some other case it may be the only way to get an answer, and the answer produced will be accurate to the given accuracy.

In my experience, sometimes when I got underflow (tooo small) issue, I would increase accuracy, to get something out of it.

Numeric solution of BVPs is much trickier than IVPs. It is difficult to increase the accuracy without increasing the mesh size, and the maximum mesh size is 2^15. Larger mesh sizes mean a larger system of linear equations to solve, which introduces its own accuracy problems.

 

@Kitonum "Runs" refers to contiguous groups of the same character. So the run lengths in your random example would be 2, 1, 1, 2, 1, 3, 2, 2, 1, 2, 1, 1, 1, 1, 2, 3, 1, 3.

I have trouble following your worksheet because of the use of context-menu commands. Can you redo the worksheet with typed commands rather than context-menu commands?

@litun Yes, it's clear now. But it seems to me that fnormal handles that. Can you show me an example where fnormal does not do what you want?

How can you have a term with a factor of 0?

Doesn't fnormal do exactly what you want?

@georgepan 

There is something missing from your Reply. I still don't have the complete equation. Please attach a worksheet or enter a formula in plain text.

Is the equation correct as I entered it? 

@Kitonum Your example doesn't quite work the same way in Maple 18. It produces this plot:

The problem can be corrected by changing the order in the display command.

plots[display](B, A, scaling= constrained);

@oldstudent The simpler solution only works if the shaded region is under the entire x-range of the curve. It can be shortened to

plot(sqrt(x), x= 0..1, filled);

First 526 527 528 529 530 531 532 Last Page 528 of 709