Doug Meade

 

Doug

---------------------------------------------------------------------
Douglas B. Meade <><
Math, USC, Columbia, SC 29208 E-mail: mailto:meade@math.sc.edu
Phone: (803) 777-6183 URL: http://www.math.sc.edu

MaplePrimes Activity


These are replies submitted by Doug Meade

Robert,

Of course. And, the OP did say as much in his original question. This mistake is one I made in my rush to create my response.

With apologies, and thanks,

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

Robert,

Of course. And, the OP did say as much in his original question. This mistake is one I made in my rush to create my response.

With apologies, and thanks,

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

This is a nice suggestion, but I think your suggested syntax can be improved.

Evidence that this should be doable can be found in the current implementation of the view= option. (I note that the help information for the view option does not mention the possibility of using DEFAULT ( ?plot,options )

What I have in mind is, for example:

plot( sin(x), x=-Pi..Pi, view=[DEFAULT,1.2*DEFAULT] );

In addition to this "relative" global rescaling of the vertical range, I can imagine wanting to be able to use the following:

  • 1+DEFAULT - shifts horizontally (or vertically)
  • [-1,1]+~DEFAULT - expands by 1 in each direction
  • [1,1.2]*~DEFAULT - expand maximum by 20%

Note the use of ~ to force elementwise operations ( ?elementwise ).

I would imagine the Maplesoft developers can come up with even more flexible implementations that meet these requests.

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

While changing array to Array is, generally, preferred and does help with the references to engineeringStress, it does not affect the responses when the input is a set (or list). For this you really do need to use the ~ form of division.

In my previous post I should have included a link to the online help - see ?elementwise .

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

While changing array to Array is, generally, preferred and does help with the references to engineeringStress, it does not affect the responses when the input is a set (or list). For this you really do need to use the ~ form of division.

In my previous post I should have included a link to the online help - see ?elementwise .

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

I, too, used to avoid including images like the plague. But, now I've learned it's not so difficult. My method is even easier than Patrick's. Let's see if I can describe it to you - and the rest of the community. (It's not "my" method - it was described by others a while ago when I complained about how difficult it was to include plots in my posts.)

First, create the image you want to include in your post. It can be an exported Maple plot, a screenshot, or any other image of your choice.

Now, when you are composing your MaplePrimes post/reply/etc., click on the green up-arrow icon. This opens the "File Manager" (shown below).

Click "Browse" and locate the image file you want to include in your post. Back in the File Manager window, click on "Upload" (I always leave the access mode as Public). This launches a second "File Manager" window; in this window you are asked if you wish to include the image in your current post. If so, click "OK".

That's it. The image is now in your post. Unfortunately, you don't get to see the actual image in the post - just the placeholder, as shown below.

If you Preview your comment, you can see the inserted image, and this image is still visible when you make additional edits, see below. (If this is possible, why isn't the image immediately visible upon insertion? Things that make me say "Hmm".)

Now, I find it's much easier to insert an image than to type the proverbial thousand words that it takes to describe it. (This post, including the signature, is less than 300 words.)

Try it for yourself!

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

One addition to pagan's comments.

The annotations that Maple inserts above the arrows is editable. So, if you don't like what Maple inserts, or want to otherwise modify this string, just select and edit it. Couldn't be easier!

While easy, it would be even nicer if users could customize the annotations so the changes could be made consistently and automatically across (at least) a worksheet. This should be doable via the preferences.

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

One addition to pagan's comments.

The annotations that Maple inserts above the arrows is editable. So, if you don't like what Maple inserts, or want to otherwise modify this string, just select and edit it. Couldn't be easier!

While easy, it would be even nicer if users could customize the annotations so the changes could be made consistently and automatically across (at least) a worksheet. This should be doable via the preferences.

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

Is there an easy way for you to demonstrate how this would be done with MapleSim? I'd love to be able to setup and solve problems like this in MapleSim, but just don't know how to go about doing this.

When you do post a description, please remember that I am a mathematician and like to work with equations - I might need some special coaching to feel comfortable know how to put together blocks to create a suitable model.

I'm looking forward to what you can share.

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

This poster has asked this question at least 3 times in 3 different topics.

As Robert Israel pointed out in his response, this looks as though it is homework. I now wish I had not posted my response. I won't respond further to these questions - in any thread.

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

This poster has asked this question at least 3 times in 3 different topics.

As Robert Israel pointed out in his response, this looks as though it is homework. I now wish I had not posted my response. I won't respond further to these questions - in any thread.

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

These assignments are assignments to a "table". This is different from an array. To see this, try:

a[1,1]:=5: a[1,2]:=6: a[2,1]:=7: a[2,2]:=8:
print( a );
                   table( [ (2,2)=8, (1,2)=6, (2,1)=7, (1,1)=5 ] )

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

These assignments are assignments to a "table". This is different from an array. To see this, try:

a[1,1]:=5: a[1,2]:=6: a[2,1]:=7: a[2,2]:=8:
print( a );
                   table( [ (2,2)=8, (1,2)=6, (2,1)=7, (1,1)=5 ] )

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

Just saw this question.

Maple handles parametric curves in a fairly natural way. For example,

plot( [2*cos(t),3*sin(t),t=0..2*Pi], scaling=constrained );

This is the plot of the ellipse that is also given as (x/2)^2 + (y/3)^2 = 1. Maple can also plot a graph for a function given implicitly:

plots:-implicitplot( (x/2)^2+(y/3)^2=1, x=-3..3, y=-4..4, scaling=constrained );

Note that in both cases if the scaling=constrained option is omitted, Maple will produce a plot that looks like a circle (until you notice the different scales on the two axes).

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

Just saw this question.

Maple handles parametric curves in a fairly natural way. For example,

plot( [2*cos(t),3*sin(t),t=0..2*Pi], scaling=constrained );

This is the plot of the ellipse that is also given as (x/2)^2 + (y/3)^2 = 1. Maple can also plot a graph for a function given implicitly:

plots:-implicitplot( (x/2)^2+(y/3)^2=1, x=-3..3, y=-4..4, scaling=constrained );

Note that in both cases if the scaling=constrained option is omitted, Maple will produce a plot that looks like a circle (until you notice the different scales on the two axes).

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu
First 11 12 13 14 15 16 17 Last Page 13 of 76