Will

1781 Reputation

16 Badges

20 years, 298 days
Maplesoft
Developer
Waterloo, Ontario, Canada

Social Networks and Content at Maplesoft.com

Maple Application Center

Will Spaetzel is a Software Architect in the Maple T.A. Team at Maplesoft.

He started at Maplesoft in May of 2004 for a 16 month internship while completing his Bachelor of Computer Science from the University of Western Ontario. During his final year at UWO, he continued on as moderator for MaplePrimes. He joined Maplesoft full-time in May 2006 and moved to the web team in Jan 2007. In December of 2010, Will moved to the Maple T.A. team. 

Will was born and grew up in Ontario, Canada. He maintains a personal blog, dabbles in photography builds web applications in his spare time.

MaplePrimes Activity


These are replies submitted by Will

Hello, I have moved your question from the Maple Commons over to How Do I.... How do I is the place to post questions on how to use Maple. Maple Commons is an area for general Maple discussion. ____ William Spaetzel Applications Developer, Maplesoft
Steve, you covered most of the important points about Wiki's. One thing I can point out is that there are existing modules for Drupal that create Wikis so I would not need to use a seperate system for the Wiki component of MaplePrimes. ____ William Spaetzel Applications Developer, Maplesoft

Here is an HTML export of the attached worksheet

Creation of a Calibration Curve

Introduction

Since parameter determination is not always easy to obtain, many turn to relatively simple metrics, and establish a relationship between this metric and the desired parameter. It is then graphed to make certain measurements, that otherwise would have been quite complicated or costly, trivial.

The following example takes in data from a text file that contains a refractive index reading and its corresponding concentration of a sugar solution in BRIX.

Creating a calibration curve will facilitate the determination of the concentration of a particular sample of syrup, without actually measuring it. The proper calibration of such instruments is integral to the accurate determination of concentration. Maple syrup in particular must be at a very specific concentration when it is bottled to prevent it from crystallizing in your cupboard.

Initialization

Maple Equation

Maple Equation

Maple Equation

Maple Equation

Prepare Data for Regression Analysis

Read Data from an External Source

Maple Equation

Here you would have to locate the data file and enter the appropriate filepath.

Maple Equation

Maple Equation

Maple Equation

Maple Equation

Maple Equation

Find Number of Data Points Read In

Maple Equation

Maple Equation

Maple Equation

Maple Equation

Put Read Data into Two Separate Lists

Maple Equation

The data is first made into a sequence of points, and then converted into a list.

Maple Equation

Maple Equation

Maple Equation

Maple Equation

Maple Equation

Maple Equation

Maple Equation

Create Calibration Curve

Perform Linear Regression to Determine the Line of Best Fit

The "LinearFit" command fits the data into a model specified by the user, with the parameters stated in square brackets.

Eg. Maple Equation would be [Maple Equation] , and Maple Equation would be [Maple Equation]

Maple Equation

Maple Equation

Maple Equation

Plot the Line of Best Fit

Maple Equation

Maple Plot

NOTE:

This plot can actually be generated easily using the Interactive Plot Builder. Simply Right-Click on the equation of the line, and select PLOTS > PLOT BUILDER. An interactive window will appear where you can make all your options for the generation of the calibration curve.

Maple Equation

Concluding Remarks

This application simply shows how to fit a set of data to a linear model, and graph the results.

There will be further additions to this worksheet in the weeks to follow.

In the meantime...Happy Calibrating!

Legal Notice: The copyright for this application is owned by Maplesoft. The application is intended to demonstrate the use of Maple to solve a particular problem. It has been made available for product evaluation purposes only and may not be used in any other context without the express permission of Maplesoft.

Maple Equation

Maple Equation

This post was generated using the MaplePrimes File Manager
Download the original worksheet | View worksheet on MapleNet

This is the Data file used in the document Download 1_RIvsBRIX.txt
View file details
I am currently working on a script that will automatically create an HTML version of any .mw file that is uploaded to MaplePrimes. This would allow the worksheets to be viewed in any web browser regardless of the version of Maple that the user has installed on their computer. I will post in a comment below this worksheet converted to HTML. ____ William Spaetzel Applications Developer, Maplesoft
I just was told by the developer that helped with the <maple> feature. That it is forward quotes, not back quotes. However you are incorrect about the typesetting. The kernel is only parsing the math. The typesetting of the parsed math and the rendering of that typesetting information to a gif is being done by (essentially) the same code as in the Standard GUI. The conversion is being done by a MapleNET server, thus we do not have the overhead of any graphical user interface. ____ William Spaetzel Applications Developer, Maplesoft
The alt attribute for all 2D math images are set to the code that generated the image. So in Firefox, I can right click on the image and choose properties. In the alt text I see what you did. As for the bug. The typesetter is the same as what is used in Standard Worksheet Maple. I will pass the information on to developers. Thanks for testing out the security btw. We block evaluation of code by backquoting all of the input. This causes some automatic simplifcation but no math will be calculated. ____ William Spaetzel Applications Developer, Maplesoft
I just tested by posting a comment as a regular user. I was able to edit that comment. But once a reply was added to my comment I was no longer able to edit the comment. I can see why the system works this way. That way when someone replies to a comment, what they were originally talking about always stays the same. It is possible that once you edited your comment, the reply to your comment would no longer make any sense. If you need your comment edited, please use the Contact Form and a moderator will make the edits for you. ____ William Spaetzel Applications Developer, Maplesoft
I have had a number of people report similar problems with the posting form. Could you please send me some system information? Web Browswer: Browswer Version #: Operating System: Screen Resolution: Thanks ____ William Spaetzel Applications Developer, Maplesoft
I got the same problem as well. It is likely a MIME type issue. I will try and fix that before the site leaves beta. ____ William Spaetzel Applications Developer, Maplesoft
I currently like the layout of MaplePrimes and many other people like it as well. It is possible to show/hide some of the blocks in the sidebars from your account settings. However this will not free up any room for the centre content. If lots of people find that MaplePrimes is too cluttered I may change the layout so that there is only one sidebar. ____ William Spaetzel Applications Developer, Maplesoft
I have been working on adding that feature. Many people have requested it. As a workaround. If you attach a file to a blog entry you can then link to that same file in a reply. ____ William Spaetzel Applications Developer, Maplesoft
Hey Paul, This comment would make a great blog posting by itself. Could you please copy the contents and post it as a blog entry? ____ William Spaetzel Applications Developer, Maplesoft
I just updated the theme of MaplePrimes to cause all tables to have more spacing between the cells. The private message inbox should now be more readable along with any other pages that contain tables. ____ William Spaetzel Applications Developer, Maplesoft
I have just finished updating the access denied page. Now, when you try and go to a page that requires you to log in, you will be presented with the user login screen. After you log in, the original content that was requested will be shown. ____ William Spaetzel Applications Developer, Maplesoft
Tommorrow I will update the access denied page to be much more friendly. If you are not logged in it will let you log in. Hopefully this will make that problem go away. I will also look into the formatting of the private messages system. I should be able to fix that as well. ____ William Spaetzel Applications Developer, Maplesoft
First 40 41 42 43 44 45 46 Page 42 of 48