Carl Love

Carl Love

28025 Reputation

25 Badges

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

MaplePrimes Activity


These are replies submitted by Carl Love

@mmcdara You have implied that the resolution option can increase the number of points. Perhaps that is true for some weird example. But the purpose of the option, as stated on the help page, is to reduce the number of points.

There has been no official response about this matter, not even acknowledgement of the existence of a problem. As I understand it, no one can display worksheets now. Thus this new issue has superceded as well as overshadowed my Question, which hasn't been answered: Specifically, Why haven't I been able to post any worksheet for a year even at times when other people could? 

@adel-00 And what is d?

Note that r can be replaced by simply sqrt(abs(N*(N+1) - (delta-Delta+w)^2)).

@snowman You wrote:

  • You mean that when numpoints is specified, increasing the gridrefine may make the needed numpoints surpass the specified numpoints, as a result, making the figure is rougher?  Only when the number of needed numpoints for gridrefine is less than the specified numpoints, can the figure is smooth?

The numpoints option just causes confusion, and it shouldn't be used at all. It's functionality is completely superceded by the grid option. It causes confusion because it has no relation to the numpoints option of the regular plot command, nor does it specify the number of computed points, nor even the initial number of computed points, in an implicitplot. All that it does is set the initial grid at N, where is roughly sqrt(numpoints). I emphasize initial grid because the gridrefine option may increase the grid, but only within the rectangles that have a point of the curve.

  • By the way, how do you figure out that For gridrefine=3 F(x,y) is calculated at 515 points, while 4119 points are used for gridrefine=6.

As long as the resolution option is not used, the number of computed points can be determined as the number of rows in the point-data matrix of the plot structure. This is op([1,1,2,1,2], P) where is the plot structure (the return value of the implicitplot command). For example, using your F:

P||(0..6):= plots:-implicitplot~(F, 0..20, 0..10, gridrefine=~ [$0..6])[]:
map2(op, [1,1,2,1,2], [P||(0..6)]);

             
[83, 165, 331, 659, 1317, 2631, 5263]

We see that the number of computed points approximately doubles (and that's a very close approximation) for each unit increase in gridrefine, which is exactly what I'd expect for a monotonic curve.

  • There's a formula that The highest grid level for gridrefine=l will be [2^l*m,2^l*n] , which may not help me to achieve the value of 515, and 4119.

That formula is misleading because only grid rectangles that are already known to contain a point of the curve are subdivided. For a monotonic curve, that's relatively few of the rectangles. But suppose I change your F to a nearly space-filling curve:

F1:= (x,y)-> y-sin(99*x):
P||(0..6):= plots:-implicitplot~(F1, 0..20, -1..1, gridrefine=~ [$0..6])[]:
map2(op, [1,1,2,1,2], [P||(0..6)]);

       [759, 2647, 5935, 49501, 126235, 771225, 1892517]

  • The results of  "showstat(`plots/implicitplot`) )" are too long, which confuses me a lot.

You won't be able to understand the roughness issue by reading any Maple code. All the Maple code does is compute some number of points (x,y) such that F(x,y) = 0 (and some other trivialities like defining the axes and colors). The end result of the Maple code can be examined by using ​​​​​​op(P) (note: no index numbers for this op) on the returned plot structure P. You'll see that it's trivial, (which is not to say that the computations done by implicitplot are trivial, just that in this case the end result of those computations is), and it's still fairly far from an actual visual plot. To actually display the plot on a physical device, the plot structure is passed to rendering code. This code is not written in Maple, and you can't see it. Obviously, the number of points (or pixels) actually plotted on your screen is determined by your screen's resolution (the number of pixels that it has).

@adel-00 The expression L1 contains a parameter r. It can't be numerically integrated without specifying a value for r.

@adel-00 I will check your code soon. However, again it seems like you're apologizing for using loops. There's no problem with using loops, and I never said to not use them! What I don't want you to use are integration techniques, whether they be Maple's packaged routines or your own ad hoc method.

Now perhaps you can't produce a symbolic expression for the integrand; that is often the case. In that case, can you write a procedure that numerically evaluates the integrand for any real numeric w? That would be sufficient. Note that I said integrand, not integral.

@Earl Quotes are very often the key to a successful Google search. I think that without quotes you get something close to the intersection of the separate searches for "pedal" and "curve". This intersection is of course much too large to be of any practical value.

@mmcdara The reason that I said that I was editing rather than correcting is that your usage of contributor wasn't incorrect, and indeed contributor can be synonymous with contributing factor (however, this isn"t the most-usual usage). However, in this particular context, that led to the ambiguity mentioned by the OP; indeed, I had noticed exactly that same ambiguity immediately upon initially reading your sentence. I thought that it was possible, although unlikely, that you were referring to a human co-author of the worksheet as a contributor​​​​​. 

Googling "pedal surface" (with the quotes) turns up several useful hits (after ignoring numerous articles about the surfaces of mechanical pedals, of course), including JSTOR articles from 1863 and 1881.

It's surprising that this obvious generalization isn't at all mentioned in either the Wikipedia or MathWorld articles "Pedal curve". By the way, that Wikipedia article is quite detailed.

@ecterrab I think that you've misinterpreted Preben''s comment. He's not objecting to the RootOf. Rather, he's pointing out that this expression cannot be evaluated at x=0, thus one can't solve for the constants of integration in the normal way.

Hopefully Preben will verify my guess about his intended meaning. 

@mmcdara I wasn't correcting you--I was only editing--although I have no compunction against correcting (or elaborating on subtle ambiguities in) our contributors' English usage when it seems worthwhile to do so. Anyway, perhaps you realize at this point that contributor usually refers to a person who contributes, whereas the most-common term for a nonperson entity that contributes is contributing factor (even in nontechnical contexts where factor has no special meaning).

@adel-00 You claim that you want to "integrate L1 w.r.t. w from -infinity to infinity numerically." Well, then show me an expression L1 that depends on w. The end result of the worksheet that you just posted is a sequence of numbers L1[-10] ... L1[10]; that's not an expression that depends on w. Those numbers may be approximations to various parts of the integral; I can't tell for sure. So, I'm telling you again, for the time being, forget about integrating this expressionInstead, give me a worksheet that does nothing more than construct the expression L1(w) which is to be integrated. If you need to use loops to define that expression, that's totally fine. If the expression is too long to display, that's fine.

@dnaviaux I'd guess that in mmcdara's final sentence, "contributor" could be replaced by "factor that contributes to the error".

Before we can integrate the expression, we need to have the expression in Maple. So, forget about integrating for the time being. Concentrate on simply having this rather complicated expression entered into Maple such that it will display the expression in prettyprinted form. After that, we can discuss integrating it.

As it stands, it's difficult for me to distinguish the parts of your code that are for integrating from the parts that are for simply defining the integrand.

@mmcdara Okay, I now understand some things that were confusing you:

1. The categories of submissions to MaplePrimes: There are exactly five types of submissions to MaplePrimes---Posts, Comments, Questions, Answers, and Replies---organized like this:
(root)
    Post
        Comment
    Question
        Reply
        Answer
            Reply

When I use those words (or their inflected forms) capitalized, I am referring strictly to this MaplePrimes classification, not to what those words mean in English.

2. Definition of answer (note: lowercase): I checked several online English dictionaries, and I found to my great surprise that your translation software is correct: In every dictionary that I checked, the primary defintion of answer (noun) is synonymous with reply. So, under this defintion, anything at all said in response to a question is an answer (including nonsense, refusals, or requests for clarification). It was only in the fourth dictionary that I checked that I found a secondary definition akin to what I was thinking: "a solution to a problem". I think that this is the intended meaning of "answer" on the vast majority of the question-and-answer sites on the Internet.

3. What should be an Answer (note: uppercase): You wrote:

  • You already said me something like  "an answer is the definitive and unique answer to a question while a reply is just one among many proposals to answer this problem". Is this right?

​​​​​​No, I didn't say anything like that, nor would I ever, because that statement is completely contrary to my way of thinking. Furthermore, I find the idea that the typical Maple question even has a "definitive and unique answer" ridiculous. So, I wonder where that statement comes from. 

I believe that a contribution here should be classified as an Answer if its author's primary intent is to present a solution to a problem posed in a Question. Note the emphasis on intent: It makes no difference to me if the contribution fails to fulfill this intent; it still should be an Answer. Thus, all of the following should be Answers:

  1. Items that intend to present a solution but are incorrect.
  2. Items that intend to present a solution to only one of several questions posed in the Question.
  3. Items that intend to present a solution to a question that is implied by the Question but wasn't directly asked.
  4. Items that intend to present a solution to another question that should have been asked in the Question but wasn't asked due to the OP's lack of knowledge.
  5. Responses in the form of rhetorical questions if the intent is to make the solution occur to the OP.
  6. Items that present information that by itself is useless to the OP but could be combined with a future response provided by an expert such that the combination is usable to the OP (perhaps, after a followup Reply that integrates the responses).
  7. Responses that for pedagogical reasons are incomplete, such as those that avoid directly solving homework problems but instead give hints or examples.
First 142 143 144 145 146 147 148 Last Page 144 of 708