Carl Love

Carl Love

28055 Reputation

25 Badges

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

MaplePrimes Activity


These are replies submitted by Carl Love

@tomleslie It's in the DTM worksheet. Look for it as the Greek letter, not spelled out.

I recommend that you never use the initialcondition command.

I've been using Maple for 16 years and answering questions about it online for nearly that long. I've answered many thousands of questions, and I've read the answers to many thousands more. Surely a few thousand of those questions have been about ODE systems. Yet in all that time I've never seen the initialcondition command. But, sure enough, I checked the help, and it exists. Clearly this command is not used in practice. And upon reading its minimal help file, I can see no practical use for it. Does anyone know what it's for? Is it part of some project/package that was never finished?

Your b[1], ..., b[4] are not differential equations: they contain no derivatives.

Yes, please upload your worksheet.

@acer I agree totally. Indeed, I almost added "However, I agree with Acer that that's not a good reason to avoid restart," but I didn't want to put words in your mouth.

Still, there may be other more-valid reasons to unassign all variables (or all variables of a certain type), and the above command is not-at-all obvious: Angle brackets are the only brackets that work.

@tomleslie Maple doesn't seem to have a problem plotting (in 2-D) things that get infinitely steep if you include the coordinateview option (or view option). For 3-D plots, it's a different story.

@dharr I think that coordinateview = [0..2, 0..Pi] may be closer to the OP's wishes.

By multiplying cos(t) and sin(t), you are converting to Cartesian coordinates. You don't want to do that if you're using the polarplot command. On the other hand, if you change your polarplot to simply plot and get rid of the coordinateview option (possibly replacing it with the view option), then you'll get a plot of a parametrized parabola in Cartesian coordinates.

@Rouben Rostamian  Yes, the solution produced by dsolve is much better analytically. But I tried several approaches, and I could not derive it myself.

On the other hand, I was able to derive my expression just using mental algebra.

@dharr Yes, I knew that entries didn't necessarily return the elements in order. And I knew that indexing to extract from the tables would make them take even longer. Sorry that I didn't mention that; I simply said "There are several other possibilities for the indexing." You see, I knew that the table methods were already slower than the Vector method, so I saw no need to go further because my point was to prove that the Vector method was faster.

@Axel Vogt But this Question isn't about plotting an inverse function. It's about plotting an implicitly defined function (with branch cuts).

Please learn how to enter expressions. The rules are the same for most computer languages. In particular, learn the order of operations so that you don't use extra parentheses! You used 26 pairs of parentheses in your expression. Only 6 are required. Extra parentheses make it difficult to balance the parentheses when you make the inevitable typo. The order of operations is the same as you learned in high-school algebra.

Some specific rules:

  1. A numeric coefficient followed by a variable requires an explicit multiplication sign. Thus, 4*T[g].
  2. A single variable name or a nonnegative constant never needs to be surrounded by parentheses (unless it's the argument of a one-argument function).
  3. When a variable name has a subscript (or index), the subscript is considered part of the name. Thus rule 2 applies to subscripted names also.
  4. When a name has both a subscript and an exponent, the subscript comes first, and no parentheses are needed. This follows from rule 3. Thus, T[0]^2.
  5. Sometimes a negative constant requires parentheses, such a delta/(-2). However, why not just make that -delta/2?
  6. Multiplication and division associate left to right, thus (a*b)/c a*(b/c) = a*b/c =a/c*b. So, use one of the latter two forms.

@acer Many thanks for taking time from your vacation to answer me. I'll refrain from asking Questions until you return.

Your expression is not real-valued (or even close to real-valued) anywhere in your parameter ranges. So, how do you want to proceed? plot just the real part? plot the real and imaginary parts separately? something else?

First 467 468 469 470 471 472 473 Last Page 469 of 709