Carl Love

Carl Love

28055 Reputation

25 Badges

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

MaplePrimes Activity


These are replies submitted by Carl Love

I suppose that you've been given a Maple procedure text2num? Have you also been given its inverse num2text? Or are you supposed to write it? Due to the simplicity of the text-to-number encoding, I was able to write num2text without seeing text2num.

Hint: My num2text took 3 lines of code. The most important part is a convert(..., base, ...command. The rest of the decoding took only one line of code, the central part of which is a solve command for the equations, then applying num2text to the numbers found for x, y, and z, then inserting spaces between the words.

@user-JG I strongly disagree with these statements of yours:

  •  While Maple has friendly routines to deal with decomposing polynomials, the analogous
    handling of integer numbers does not seem to have been implemented yet.

  • A proper implementation of routines for dealing with decomposition of numbers would be a nice addition to Maple. Algebra is good, arithmetics is missing.

I think that you're simply unaware of the commands available. Please describe some operations on integers that you'd like, and I'll tell you how to do them.

My question was Why do you want the form
    base, exponent, base, exponent, ....?
The form
    base,        base,        ...
    exponent, exponent, ...
is much more convenient.

Oddly enough, two days ago I started having a similar problem in MaplePrimes, not Maple. This part is exactly as you described: "It looks like the local refreshing problem is following the cursor of the mouse." I'm using Chrome as my browser. I have not had this problem on any other web pages.

@greatpet Maple's applyrule would work for this also were it not for the serious localization bug that I pointed out. My guess is that this bug would be easy to fix. However, subsindets and evalindets are much more reliable than applyrule. Unfortunately, the coding needed to use them is substantially more complicated in this case than that needed for applyrule. For other cases, it's often no more complicated.

@acer It's interesting that ifactors works by calling ifactor and restructuring its output. I would've expected that to be the other way around.

@user-JG I understand why you'd want to remove the initial 1, but why would you want to unpair the exponents from their bases?

Use the green uparrow on the toolbar to attach that as a worksheet.

@tomleslie The Vectorfield command in your procedure f is not needed. The Gradient command already returns a vector field.

@mon And that form from that thesis is not the polynomial given by form= MOD2? Can you show me a small example of the desired form? How about doing it for modus ponens:

((p implies q) and p) implies q 

(just the first thing I thought of). Or you may choose a better example, perhaps directly from that thesis.

@mon It would be easier if you specified the form that you want to convert to.

The graph of a paraboloid is not bounded: It extends to +infinity. So what do you mean by "I want the full paraboloid to show"?

I don't think that you ask an excessive number of questions. There's no need to be shy.

@aoakindele I have not read the code, so I'm not sure about the finer details of this, but this is my best guess at Maple's numeric BVP algorithm based on many years of experience using it. (And you learn a lot more about the inner workings from the error messages than when it runs smoothly.)

1. The system of ODEs is converted to a first-order system by introducing new dependent variables.

2. The derivatives are replaced by finite-difference approximations, so now it's a system of algebraic equations.

3. A mesh of evenly spaced points is defined on the solution interval. 

4. The algebraic equations are solved at the mesh points by Newton's method.

5. The mesh is doubled. Interpolation is used to obtain a Newton's method initial guess at the new points. Go back to step 4, or quit if sufficient accuracy has been obtained.

From the point of view of the parts of Maple that perform polynomial algebra, such as factor, your expression is identical to

f(4*x) + 2*f(2*x) + 1

for some arbitrary symbol f. This is why it isn't immediately factored.

@Carl Love Sorry, I misread the Question (the most important part being in its title), and this Answer should be ignored. I thought that the goal was to execute a single execution group and that "section" was being used informally to mean "execution group."

This Reply is simply to clear up some confusion about a few of the terms that occur in this and similar threads. 

This is a boundary-layer fluid dynamics problem. I have never formally studied this subject; everything that I know about it comes from answering MaplePrimes Questions since BVPs about these problems are one of the most-common sources of Questions here. (It's a very good bet that any ODE BVP that you see on MaplePrimes with eta as the independent variable is a boundary-layer problem.) Boundary-layer problems consider the dynamics of a system of fluids as if there were distinct masses (or layers) of fluid. There are a vast number of named parameters in these problems. The skin friction is the friction between the fluid layers; it's usually denoted as C__f. The Nusselt number is the ratio of convective to conductive heat transfer at the boundary; it's usually denoted Nu (in Roman, not Greek, letters). The Reynolds number is related to at what point the boundary-layer model breaks down into turbulent mixing of the fluids; it's usually denoted Re.

All hyperlinks above are to Wikipedia articles.

First 162 163 164 165 166 167 168 Last Page 164 of 709