Scot Gould

Scot Gould

542 Reputation

14 Badges

10 years, 227 days
Upland, California, United States
Dr. Scot Gould is a professor of physics in the W.M. Keck Science Department of Claremont McKenna, Pitzer, and Scripps Colleges - members of The Claremont Colleges in California. He was involved in the early development of the atomic force microscope. His research has included numerous studies and experiments using scanning probe microscopes, particularly those involving natural fibers such as spider silk. More recently, he was involved in developing and sustaining AISS. This full-year multi-unit, non-traditional, interdisciplinary undergraduate science education course integrated topics from biology, chemistry, physics, mathematics, and computer science. His current interest is integrating computational topics into the physics curriculum. He teaches the use of Maple's computer algebraic and numerical systems to assist students in modeling and visualizing physical and biological systems. His Dirac-notation-based quantum mechanics course is taught solely through Maple.

MaplePrimes Activity

These are questions asked by Scot Gould

If one writes:

y := x+1




Then, one can display y = x+1 using this notation


'y' = y

y = x+1



However, regardless of the type of punctuation I use with the Explore procedure (or even the IntertForm package), the value for y is calculated. (See examples below.)  My question is:


How can I get Explore to write it out as in line (2) with x evaluated?



(The first is a jpg of what is shown since MaplePrimes cannot show the Explore output.)



Explore('y' = y, x = 0 .. 5, echoexpression = false)

Explore(y = y, x = 0 .. 5, echoexpression = false)

Explore(InertForm:-Display(y) = y, x = 0 .. 5, echoexpression = false)


This is not a critical situation. A solution was developed. However, I am interested in trying to understand and explain to a colleague why their function failed to plot. The colleague often works on problems involving large factorial values.

What is the simplest way to direct all Maple output, and only Maple output, into a PDF?  

My preference would be to include a command at the beginning of a worksheet so that causes all output returned by Maple, print and graphics, to be directed to a named PDF.  Does such a command or set of commands exist, and if so, what is the process to get it to work?

An alternative is to have a command at the end of a worksheet that causes Maple to print the worksheet to a PDF.  Does that exist, and if so, what is it?

I would like to know if there is a difference in the definition of the following words to describe a collection of code in Maple.  Specifically, is there a difference between an internal command, an internal procedure and an internal function?  Or are the folks who wrote Help using the three words interchangeably?  

For example, Help describes "restart" as a command.  That seems reasonable.  It also describes "evalf" as a command. 

Sin, cos and tan are described as functions.  That also appears to be reasonable.  "eval" and "convert" are also labeled as functions. 

However, "unassign" is a procedure as is "animate".  I could understand that since one might assume there is nothing returned. And yet one can assign an animation to a variable/name.

Section 1.4 of the Programming Guide discusses Maple Library Commands under the subheading of "procedures".  However, section 3.15 discusses "function types" which with section 3.8 implies these collections of code might be viewed as functions. (And then there is the function operator of a procedure.) 

I'm trying to compartmentalize the Maple language, but maybe I should not. My inclination is to call everything for which one uses a functional call (section 3.8) as a procedure.  Any assistance would be appreciated.

On virtually any webpage is a mixture of images and text. I can go to the page, select all contents, copy the contents into an Excel spreadsheet, save the spreadsheet file and then use the ExcelTools:-Import function to read the file into a DataFrame. At that point, I can work with the data.   All the text on the webpage, even if it is embedded in some HTML command, is copied as text into the spreadsheet which eventually can be read as text by Maple.

My quesiton is, what is the method for me to bypass Excel and import the webpage directly into Maple, striped of the HTML code? Can someone point me to an example? (The only examples I have seen use the Sockets package, but I thought this mode has been superceded with Import.)

1 2 3 4 5 6 Page 1 of 6