Carl Love

Carl Love

28110 Reputation

25 Badges

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

MaplePrimes Activity


These are replies submitted by Carl Love

I edited the tags on your Question.

@rkm You can use labels if you want. The percentage sign means, literally, "the result of the previous command". There's also %% and %%% for "the result of the second-most-recent command" and "the result of the third-most-recent command." But that's as far back as you can go without using labels.

@rkm You can use labels if you want. The percentage sign means, literally, "the result of the previous command". There's also %% and %%% for "the result of the second-most-recent command" and "the result of the third-most-recent command." But that's as far back as you can go without using labels.

I picked a subset of the four shortest polynomials, {f0, f1, f5, f6}, and tried to solve just those. After running for about an hour (with apparently insignificant memory usage--38 M), I had a loss of kernel.

Are you looking for an exact solution, or would a decimal approximation be okay? If the latter, try fsolve.

It is hard to say whether Maple is right or wrong when its answer is FAIL. In this case (the n::posint case), we know that there is enough information to give the definitive answer false. We may say that Maple should know that the answer is false. But it hasn't been programmed to analyze the situation deep enough. My guess is that it boils down to this: Maple knows that the inequality is false for real n between real 2 and real 4, but it doesn't know that there is an integer between those bounds.

It is hard to say whether Maple is right or wrong when its answer is FAIL. In this case (the n::posint case), we know that there is enough information to give the definitive answer false. We may say that Maple should know that the answer is false. But it hasn't been programmed to analyze the situation deep enough. My guess is that it boils down to this: Maple knows that the inequality is false for real n between real 2 and real 4, but it doesn't know that there is an integer between those bounds.

There is no data attached to your question.

It may be possible to improve the output from NonlinearFit by restricting the signs of the model parameters. I may be able to tell when I have the data. In the meantime, I suggest that you read the Wikipedia arcticle "Gompertz function." It is an S-shaped curve, so it is an increasing function, but neither exponential growth nor decay.

@brian bovril I think a procedure for nested radicals would be rather difficult. First, you'd need a standardized input format for the radicals. Next, all the solutions that I've seen are based on "tricks"; there are no algorithms. For continued fractions there are some algorithms (but they wouldn't apply to the "continued fraction" at the start of this thread because of the way it "splits" at multiple places).

@brian bovril I think a procedure for nested radicals would be rather difficult. First, you'd need a standardized input format for the radicals. Next, all the solutions that I've seen are based on "tricks"; there are no algorithms. For continued fractions there are some algorithms (but they wouldn't apply to the "continued fraction" at the start of this thread because of the way it "splits" at multiple places).

Did you remember to convert the 11.5 degrees to radians?

@Nuraz First, note that your procedure M can be simplified to the following:

M := proc (message) local k; [seq(numb[k], k = message)] end proc;

It produces a list as output. In order to apply the binary conversion to the elements of the list, you need to ?map the convert command:

map(convert, PL, binary);
              [1, 10, 11, 101101, 101110, 101111]

This process is so common in Maple that there is a symbol abbreviation for it:

convert ~ (PL, binary);
              [1, 10, 11, 101101, 101110, 101111]

So what do you intend to do with them in binary? If you are going to encrypt, it would probably be easier keeping them as regular integers.

@Nuraz First, note that your procedure M can be simplified to the following:

M := proc (message) local k; [seq(numb[k], k = message)] end proc;

It produces a list as output. In order to apply the binary conversion to the elements of the list, you need to ?map the convert command:

map(convert, PL, binary);
              [1, 10, 11, 101101, 101110, 101111]

This process is so common in Maple that there is a symbol abbreviation for it:

convert ~ (PL, binary);
              [1, 10, 11, 101101, 101110, 101111]

So what do you intend to do with them in binary? If you are going to encrypt, it would probably be easier keeping them as regular integers.

@acdah Try executing your code again from the restart. I get your expected answer and not 0 when I run it.

The body of your question is blank: No text, no attahced file.

First 604 605 606 607 608 609 610 Last Page 606 of 710