John Fredsted

2238 Reputation

15 Badges

20 years, 169 days

MaplePrimes Activity


These are replies submitted by John Fredsted

I was working in Maple 9.5, where

s := {seq(1..5000)};

is not possible, and I did not bother to fire up Maple 11, to ascertain the shorter syntax, so I just decided to write it using the old syntax even though I knew that it probably would be commented on. I apologize for that inconvenience.

I like your idea, by itself, of using () as the identity map, but also because I like the simplicity of your expression

plots[pointplot3d](map([`()`,sin,cos], s);

I was working in Maple 9.5, where

s := {seq(1..5000)};

is not possible, and I did not bother to fire up Maple 11, to ascertain the shorter syntax, so I just decided to write it using the old syntax even though I knew that it probably would be commented on. I apologize for that inconvenience.

I like your idea, by itself, of using () as the identity map, but also because I like the simplicity of your expression

plots[pointplot3d](map([`()`,sin,cos], s);

Once again my cursory reading of the help pages, a bad habit of mine, comes back to hit me :-).

Once again my cursory reading of the help pages, a bad habit of mine, comes back to hit me :-).

I would do something like

s := {seq}(i,i = 1..5000):
plots[pointplot3d](map(x -> [x,sin(x),cos(x)],s));

which produces the following plot:

1808_pointplot3d.gif

I would do something like

s := {seq}(i,i = 1..5000):
plots[pointplot3d](map(x -> [x,sin(x),cos(x)],s));

which produces the following plot:

1808_pointplot3d.gif

But is that what the author was asking for? Your suggestion produces, of course, a smooth plot, while his produces a piecewise linear plot.

But is that what the author was asking for? Your suggestion produces, of course, a smooth plot, while his produces a piecewise linear plot.

I get the same error message if I leave out multiplication signs, incorrectly writing

f(x,y) := xy(x-y) / (x^2+y^4);
plot3d(f(x,y),x = -10..10,y = -10..10);

but no error message if I correctly write

f(x,y) := x*y*(x-y) / (x^2+y^4);
plot3d(f(x,y),x = -10..10,y = -10..10);

Note the explicit *'s between x, y, and (x-y).

I get the same error message if I leave out multiplication signs, incorrectly writing

f(x,y) := xy(x-y) / (x^2+y^4);
plot3d(f(x,y),x = -10..10,y = -10..10);

but no error message if I correctly write

f(x,y) := x*y*(x-y) / (x^2+y^4);
plot3d(f(x,y),x = -10..10,y = -10..10);

Note the explicit *'s between x, y, and (x-y).

An inspiring post which actually deserves to be a blog entry, I think.

The ImageTools is brand new to me, probably because I primarily use Maple 9.5. I had not imagined that Maple 11 had commands like Stack. Despite my frustation over the erratic tabbing behaviour of Maple 11, maybe I should have a closer look at it.

An inspiring post which actually deserves to be a blog entry, I think.

The ImageTools is brand new to me, probably because I primarily use Maple 9.5. I had not imagined that Maple 11 had commands like Stack. Despite my frustation over the erratic tabbing behaviour of Maple 11, maybe I should have a closer look at it.

Thanks for your reply. The question, though, has been settled above.

Right-clicking and selecting Animation -> Play makes it animate fine. Never having done any animations before, I was not aware of that.

Nice animations!

I do however have problems reproducing them (either in Maple 9.5, or Maple 11): copy-pasting your code for k = 1/2 and executing it results only in a circle and a couple of vertical lines. Does anyone else also experience that?

First 37 38 39 40 41 42 43 Last Page 39 of 68