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

Alex, Have you been able to set a system default of Maple Input for Maple 11 (11.01, actually) on a network? My system administrators tell me these choices are stored on a users profile locally. This means users have to reset this choice on each computer they use on our network. Prior to Maple 11, this was possible. Other threads on MaplePrimes have discussed this, with the general conclusion that it is not possible. I would be very happy to learn that this can be done NOW and that I don't have to wait for a future release. 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/~meade/
The approach suggested by J. Tarr is not quite as good as it might appear at first glance. In particular, the left-hand side of his output is dy/dx only because of the use of the inert Diff (not diff). Maybe J. Tarr's solution is exactly what is needed. In case it's not - or someone else is interested in other approaches to this type of problem - here are some additional thoughts on how this problem can be approached.
restart;
eq1 := y(x) = (x- 1)^2/x;   # note explicit use of x on LHS
deq1 := diff(lhs(eq1),x) = diff(rhs(eq1),x);
simplify( deq1 );
deq2 := map( diff, eq1, x ); # differentiate the equation as a single operation
simplify( deq2 );
Much of the complexity of the above (and J. Tarr's) solution is due to the fact that an EQUATION is being differentiated. Most Maple users generally choose between working with expressions and working with functions. Either of these approaches is a little simpler than the first attempts.
expr1 := (x-1)^2/x;          # working with an EXPRESSION
dexpr1 := diff( expr1, x );
simplify( dexpr1 );

f1 := x -> (x-1)^2/x;        # working with a FUNCTION
df1 := D(f1);                # derivative as a FUNCTION
simplify( df1(x) );
df1expr := diff( f1(x), x ); # derivative of fn, as an EXPRESSION
simplify( df1expr );
Note that if the original equation (or expression or function) is expanded prior to differentiation, then the simplify is not needed afterwards, and the result is a little simpler. This is particularly useful when working with
f2 := unapply( expand(expr1), x ); # alternate definition of FUNCTION
df2 := D(f2);                      # simplified derivative FUNCTION
I hope this is useful to Curious, and others, 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/~meade/
The approach suggested by J. Tarr is not quite as good as it might appear at first glance. In particular, the left-hand side of his output is dy/dx only because of the use of the inert Diff (not diff). Maybe J. Tarr's solution is exactly what is needed. In case it's not - or someone else is interested in other approaches to this type of problem - here are some additional thoughts on how this problem can be approached.
restart;
eq1 := y(x) = (x- 1)^2/x;   # note explicit use of x on LHS
deq1 := diff(lhs(eq1),x) = diff(rhs(eq1),x);
simplify( deq1 );
deq2 := map( diff, eq1, x ); # differentiate the equation as a single operation
simplify( deq2 );
Much of the complexity of the above (and J. Tarr's) solution is due to the fact that an EQUATION is being differentiated. Most Maple users generally choose between working with expressions and working with functions. Either of these approaches is a little simpler than the first attempts.
expr1 := (x-1)^2/x;          # working with an EXPRESSION
dexpr1 := diff( expr1, x );
simplify( dexpr1 );

f1 := x -> (x-1)^2/x;        # working with a FUNCTION
df1 := D(f1);                # derivative as a FUNCTION
simplify( df1(x) );
df1expr := diff( f1(x), x ); # derivative of fn, as an EXPRESSION
simplify( df1expr );
Note that if the original equation (or expression or function) is expanded prior to differentiation, then the simplify is not needed afterwards, and the result is a little simpler. This is particularly useful when working with
f2 := unapply( expand(expr1), x ); # alternate definition of FUNCTION
df2 := D(f2);                      # simplified derivative FUNCTION
I hope this is useful to Curious, and others, 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/~meade/
Scott, and others, Thanks for pointing out the Accents palette. All I'll say here is that it can be very time consuming to search all palettes looking for a symbol. I will admit that Accents is a reasonable name, but if that palette is not shown with your settings, it's very time consuming to go through the palette menu to search all palettes. 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/~meade/
Scott, and others, Thanks for pointing out the Accents palette. All I'll say here is that it can be very time consuming to search all palettes looking for a symbol. I will admit that Accents is a reasonable name, but if that palette is not shown with your settings, it's very time consuming to go through the palette menu to search all palettes. 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/~meade/
The layout menu and the keystroke suggestions work for superscripts and subscripts, but not overbars. As pointed out earlier, overbars can be obtained via the conjugate. However, there are other times when an overbar is appropriate. E.g., overbars are commonly used to represent the mean of a random variable and overbars are also sometimes used to represent vectors. The question remains, how can this be done in a NATURAL (1D or 2D) way in Maple. Asking someone to use conjugates to make an overbar appear in a context where conjugates have no meaning is a kludge. I guess this is working its way into a suggestion for a future release of Maple. 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/~meade/
The layout menu and the keystroke suggestions work for superscripts and subscripts, but not overbars. As pointed out earlier, overbars can be obtained via the conjugate. However, there are other times when an overbar is appropriate. E.g., overbars are commonly used to represent the mean of a random variable and overbars are also sometimes used to represent vectors. The question remains, how can this be done in a NATURAL (1D or 2D) way in Maple. Asking someone to use conjugates to make an overbar appear in a context where conjugates have no meaning is a kludge. I guess this is working its way into a suggestion for a future release of Maple. 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/~meade/
A recent posting by Thomas Richard in a different thread just alerted me to the fact that there are (at least) two different releases of Maple 11.01. The initial distribution of Maple 11.01 is Build 296069 with a date in June 2007. The current release of Maple 11.01 is Build 303882 dated July 10, 2007. The latter is what is currently available on the Maplesoft download website. The information there makes no mention of the different builds, nor to any details about the changes between the releases. Earlier posts in this forum do point to the fact that there were multiple distributions of Maple 11.01 but never give any details about the changes. Of particular interest to me: has the saving of user preferences on a network been fixed? I also found it odd that Maple's automatic update check does not detect the new distribution. Is this because it checked version numbers, not builds? Why wouldn't the new distribution get a new name, Maple 11.02? Isn't this exactly why this numbering system is used? Thanks for listening, 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/~meade/
Has anyone made any progress on this issue? We are facing the unpleasant situation of having to tell students they will need to reset their configuration (default to worksheets, with Maple notation input) each time they use a different computer. Is there not any global initialization where this can be set once and for all? With hopes that either someone will have something new to add to this discussion or this post will help to raise awareness of this issue among the developers to the point where it will be resolved. Thanks for reading, 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/~meade/
f := ((x+1)/(x-1))^(1/3);
                                       (1/3)
                                /x + 1\     
                                |-----|     
                                \x - 1/     
diff( f, x );
                                1      x + 1  
                              ----- - --------
                              x - 1          2
                                      (x - 1) 
                              ----------------
                                        (2/3) 
                                 /x + 1\      
                               3 |-----|      
                                 \x - 1/      

simplify( % );
                                       2           
                          - -----------------------
                                     (2/3)         
                              /x + 1\             2
                            3 |-----|      (x - 1) 
                              \x - 1/              

With more work you can further reduce the denominator. Is this what you want? If your question relate to the previous posts in this topic, please explain what you need? 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/~meade/
Welcome to Maple Primes. The problem you are experiencing is all-too-common on this site. Basically, you typed a (<) "less than symbol" that the processor interprets as the beginning of an HTML tag. In order to actually include this mathematical symbol in a post your best course of action is to convert all <'s to their HTML equivalent (&lt;). Given the frequency of this particular problem, it would seem possible to create a way to detect this situation and to alert users of the possibility of a problem BEFORE the posting is submitted. Maybe something as simple as detecting unbalanced delimiters and automatically showing the preview with a button to acknowledge correct typesetting. As a user, my general rule of thumb is to preview all postings before submitting them. Even still, I do make this mistake from time to time. Lastly, to give you a little help with what I guess your question to be, you should use the inequal command in the plots package. For example:
with( plots ):
inequal( x+y<10, x=0..10, y=0..10 );
There are many options available to control exactly what is plotted. Please see the online help for more assistance.
?plots,inequal
I hope this is helpful, 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/~meade/
Welcome to Maple Primes. The problem you are experiencing is all-too-common on this site. Basically, you typed a (<) "less than symbol" that the processor interprets as the beginning of an HTML tag. In order to actually include this mathematical symbol in a post your best course of action is to convert all <'s to their HTML equivalent (&lt;). Given the frequency of this particular problem, it would seem possible to create a way to detect this situation and to alert users of the possibility of a problem BEFORE the posting is submitted. Maybe something as simple as detecting unbalanced delimiters and automatically showing the preview with a button to acknowledge correct typesetting. As a user, my general rule of thumb is to preview all postings before submitting them. Even still, I do make this mistake from time to time. Lastly, to give you a little help with what I guess your question to be, you should use the inequal command in the plots package. For example:
with( plots ):
inequal( x+y<10, x=0..10, y=0..10 );
There are many options available to control exactly what is plotted. Please see the online help for more assistance.
?plots,inequal
I hope this is helpful, 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/~meade/
Ed, My posting showed how to use commands. You can certainly use the Conversion -> LaTeX method to do the final conversion. Here's one way of doing what you want, via the palettes:
  1. Enter expression via palettes as 2-D math input
  2. Highlight input
  3. Right mouse click, then select: 2-D Math -> Convert To -> Inert Form
  4. Right mouse click, then select: Conversions -> LaTeX
As I understand your previous postings, you are already doing steps 1, 2, and 4. The only new step is step 3. Is this better? 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/~meade/
Ed, My posting showed how to use commands. You can certainly use the Conversion -> LaTeX method to do the final conversion. Here's one way of doing what you want, via the palettes:
  1. Enter expression via palettes as 2-D math input
  2. Highlight input
  3. Right mouse click, then select: 2-D Math -> Convert To -> Inert Form
  4. Right mouse click, then select: Conversions -> LaTeX
As I understand your previous postings, you are already doing steps 1, 2, and 4. The only new step is step 3. Is this better? 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/~meade/
I have just uploaded a sample .mbook (as a ZIP archive). You can access this ZIPped .mbook from the link below. Download 178_Graphdf1.zip
View file details Download the ZIP archive and extract the contents, a single file (Graphdf1.mbook). This file can now be read by the Maple Reader. If you double-click on the .mbook file you will need to select the Maple Reader as the associated application for .mbook files. There is a fairly long delay as the reader opens. You may see an initial message about No Matches Found - be even more patient. This will disappear and be replaced by the text "Graph of df Maplet" and, briefly, an initialization message "Loading Maplet" (in blue). Since this .mbook contains only a single maplet, this maplet opens (in a separate window). You can now follow the directions in the maplet to test knowledge about first derivatives. (Click New Graph, then Ask Question; in the next window that appears, click Show and Check, then Next Question; etc.; quit at any time.) This is likely to answer a few questions, but will also probably generate a few more. I'm heading on vacation for the rest of this week, so will have to wait until next week before I can contribute more to this discussion. Enjoy! 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/~meade/
First 66 67 68 69 70 71 72 Last Page 68 of 76