Carl Love

Carl Love

27793 Reputation

25 Badges

12 years, 196 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

@acer I thought that someone might catch that, thinking that I meant "assume" in the mathematical sense. I regret not editing it. What I meant was "In order for Maple to perform the expansion, it is necessary to assume that they (the factors) are positive." (Hoping that you understand the distinction that I make with boldface.) But you do bring up two other possibilities for assumptions that I hadn't considered: If you assume that a is integer, or that all factors except for one are positive, it will also perform the expansion:

expand((A*B*C)^a) assuming a::integer;

expand((A*B*C)^a) assuming A > 0, B > 0;

@acer I thought that someone might catch that, thinking that I meant "assume" in the mathematical sense. I regret not editing it. What I meant was "In order for Maple to perform the expansion, it is necessary to assume that they (the factors) are positive." (Hoping that you understand the distinction that I make with boldface.) But you do bring up two other possibilities for assumptions that I hadn't considered: If you assume that a is integer, or that all factors except for one are positive, it will also perform the expansion:

expand((A*B*C)^a) assuming a::integer;

expand((A*B*C)^a) assuming A > 0, B > 0;

@martin_z In your Question, you said Minimize (capitalized), not minimize (lowercase). They are different commands. Anyway, you should use Optimization:-Minimize or Optimization:-LPSolve instead of simplex[minimize].

@martin_z In your Question, you said Minimize (capitalized), not minimize (lowercase). They are different commands. Anyway, you should use Optimization:-Minimize or Optimization:-LPSolve instead of simplex[minimize].

Okay, forward me the email. Use the Contact Author tool (click on "More") on the toolbar at the bottom of this Reply. Please also grant me permission to post any details that I choose to this site.

@pallav So, how do want to address the problem that the output is (most likely) too wide for your screen? Do you want each h to be directly above its AA? Do you want the output to be horizontally scrollable, or do you want line breaks? If line breaks, do you want this?

h1   h2   h3

AA1 AA2 AA3

h4   h5   h6

AA4 AA5 AA6

Or do you want the lines to break like this?

h1   h2    h3

h4   h5    h6

AA1 AA2 AA3

AA4 AA4 AA6

 

In addition to Sergio's excellent Answer, I wonder if there is any example where pdsolve will accept a boundary condition (BC) expressed in terms of one of the highest-order derivatives appearing in the PDE. For example, in this case, we have a BC expressed in terms of the first derivative with respect to (wrt) z, which is the highest order derivative wrt z appearing in the PDE. I can't find any example of pdsolve accepting such a BC, nor a clear statement that they are not allowed. Of course, if that is the problem, pdsolve should return an error message. But, also, it is clear in this case that there is no solution which leaves f arbitrary.

Do you need to use indexed variables? If not, change Pop[p] to Pop(p), N[p] to N(p), etc. I don't think that that's a total solution to your problem, but it will help. It is possible in Maple to take a derivative with respect to a function.

Is there any good reason for Maple to call X:-ModuleLoad() when the X is the target of an assignment statement? I realize that it might be difficult for the interpreter to check for something like that. But doing the ModuleLoad seems like wasted effort since the module immediately becomes inaccessible.

@Ronan If you enter into Maple evala(Normal(A-B)) and Maple returns 0, that is a proof that A=B. I was saying that the result returned by identify was a guess. Results returned by evala(Normal(...)) are guaranteed, as are those returned by most Maple commands.

@Ronan If you enter into Maple evala(Normal(A-B)) and Maple returns 0, that is a proof that A=B. I was saying that the result returned by identify was a guess. Results returned by evala(Normal(...)) are guaranteed, as are those returned by most Maple commands.

So, do you want two rows, the first being h and the second being AA? What if it doesn't fit the width of your screen?

Please give an example of such an equation.

Also, I don't understand the phrase "I want theis strick expressions." I know there must be a typo in that, but I can't figure out what it is.

@aa13 Post your actual code please. Not abbreviations with ....  The error message "; unexpected" usually just means that you failed to close parentheses or square brackets.

@aa13 Post your actual code please. Not abbreviations with ....  The error message "; unexpected" usually just means that you failed to close parentheses or square brackets.

First 644 645 646 647 648 649 650 Last Page 646 of 705