Carl Love

Carl Love

28070 Reputation

25 Badges

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

MaplePrimes Activity


These are replies submitted by Carl Love

@Alex Smith : If you don't like the 2d input, why don't you just make 1d Maple Input the default?

I agree with you about the pedagogical value of the Maple Input syntax.

@henryabiola Does your matrix contain n[s] in element a11? Or should that be eta[s] as in element a22?

Also, note that you mislabelled element a56 as a66.

@mehdi jafari 

Let S(d) = sum(p(k), k= 1..10^d-1)

(so S(2) = p(1) + ... + p(99), for example).

Then S(d) satisfies the recurrence

S(d) = 46*(S(d-1) + 1) - 1, S(0) = 0.

Using this, it is easy to get the answer "by hand" as

2*S(3) + 1 + 2 + 2*S(1) + 2 + 2 + 4 + 6 + 8 = 194785

Note: 1+2+...+9 = 45

Yes, I will help. Just try to write something in Maple, however crude, for the Euler method for a single equation. Then post it here, send me an email, and I'll help.

Oh, by the way, these methods are pre-coded into Maple's dsolve command, but I guess that you have been assigned to write them from scratch. Well, at least that gives you something to compare your answers with. See ?dsolve,numeric,classical .

@abbeykabir So the simple Newton iteration and fsolve return the same answers for your equations.

@abbeykabir So the simple Newton iteration and fsolve return the same answers for your equations.

I've never been a Mathematica user, nor have I made a comparison, so I may not be who you want to hear from. From the little bits of Mathematica that I've seen, it has a hideous bracketing syntax, using square brackets instead of parentheses and curly braces instead of square brackets.

I also object to the underlying code being hidden.

@abbeykabir Okay, good. (You need to reverse the direction of the inequality.) Yes, it's called convergence. In the multivariate case X[i+1] - X[i] is a vector. What is the analog of absolute value for vectors?

@abbeykabir Okay, good. (You need to reverse the direction of the inequality.) Yes, it's called convergence. In the multivariate case X[i+1] - X[i] is a vector. What is the analog of absolute value for vectors?

@yangtheary The title of your reply indicates that you are looking for a polynomial answer. My answer is based on seeing a pattern, and is not a polynomial.

A polynomial answer can always be obtained by a trivial formula, so is rather boring. The polynomials produced are usually not obvious or interesting, and their extrapolations usually do not follow the "obvious" and "logical" pattern of the sequence.

CurveFitting:-PolynomialInterpolation([[1,1], [2,3], [3,6], [4,12], [5,24]], n);


 

Say, what is the theme or purpose of your current series of questions?

 

 

@yangtheary The title of your reply indicates that you are looking for a polynomial answer. My answer is based on seeing a pattern, and is not a polynomial.

A polynomial answer can always be obtained by a trivial formula, so is rather boring. The polynomials produced are usually not obvious or interesting, and their extrapolations usually do not follow the "obvious" and "logical" pattern of the sequence.

CurveFitting:-PolynomialInterpolation([[1,1], [2,3], [3,6], [4,12], [5,24]], n);


 

Say, what is the theme or purpose of your current series of questions?

 

 

@erik10 

Maybe it is a bug that the cursor doesn't stop at the line, where the error occurs - as it did in Maple 16, you say?

I reported it as a bug several months ago.

I haven't been working with modules earlier. I understand it as a kind of collection of procedures created for a special purpose, so it makes a whole and easier to work with.

That's one thing that modules are for.

@erik10 

Maybe it is a bug that the cursor doesn't stop at the line, where the error occurs - as it did in Maple 16, you say?

I reported it as a bug several months ago.

I haven't been working with modules earlier. I understand it as a kind of collection of procedures created for a special purpose, so it makes a whole and easier to work with.

That's one thing that modules are for.

@erik10 Also note that I gave an answer to your question about modules above.

@erik10 Also note that I gave an answer to your question about modules above.

First 624 625 626 627 628 629 630 Last Page 626 of 709