## Better way to remove quotes?...

For people new to Maple, an easy way to learn how to code may be Tutor Syntax, that is the technique of generating code by selecting everything in a Tutor dialog Maple Command window and then copying it to a current session.

The code can then be edited to tailor it to user’s needs. A problem with this technique is the copied syntax contains many single quotes (‘ ‘). The single quotes, which are usually not needed if the program in current session is short and specific, increase the difficulty when editing copied syntax. The attached file (mby2.mw) shows a method which removes the single quotes by using the SubstitueAll command in the StringTools package. One drawback: any strings inside the original syntax (e.g., “#78000E”) must be removed before the syntax can be converted to a string.

Is there a better way to generate code from Tutor dialog so it can be edited (without single quotes) in user’s current session?

mby2.mw

## How to change linestyle by option? ...

With the RationalFunctionTutor generated then modified code (see egn2.mw attached).  Is it possible to make linestyle=spacedash for the two vertical asymtotes?  By selecting the graph and choosing from the plot menu the linestyle can be changed, but is there a way to do this with commands in the program code?

egn2.mw

## Why is Tutor executed every time?...

I once opened Tools-Tutors-Precalculus-Polynomials. Now every time I click the button of 'execute the entire worksheet', the same Tutor  window will pop up before Maple executes my codes. I wanna know how to prevent the window to pop up?

## How do i find the local/global maxima?...

Hi, I am trying to figure out how to find the maxima and minima of the function f(x)=(x^3-10*x^2-2*x+1)/(4*x^3+5*x+1) and its derivative.

a) Find the local maxima and minima of f.

b) Find the vertical asymptote

I graphed the function and located the  local max to be (-1,1) and local min (1,-1) however, I can't figure out how to plot the derivative of the function. I tried to use the diff expression but it leaves the graph empty when i attempt to plot it.

Also, just curious how am i able to join text words and maple commands together? For example, I want to be able to say "The derivative of the original function is [maple command here]" ? I tried to switch from text to math however nothing worked.