Maple T.A. Questions and Posts

These are Posts and Questions associated with the product, Maple T.A.

Dear reader,

My questions about Multivariate Statistics are all programmed the hard way. When using R in the classroom, which has all the commands available this looks a little awkward. Thing is that every command should give a specific answer which can be related to a question box.

A little help would be nice. I am more than happy to share questions

:// data input;
:// dependent variable Y;
:// independent variable X1;
:// independent variable X2;
:// independent variable X3;
:// small variables based on deviation around average value;
:// summation of deviation values;
:// calculation of the coefficients;
:// coefficient betha1;
:// calculate estimate based on given values;
:// standard deviations;
:// correlation coefficients;
:// estimated values;
:// $errortr=maple("LinearAlgebra[Transpose]($error)");
:// $sumerrorsq=maple("LinearAlgebra[MatrixMatrixMultiply]($errortr,$error)");
:// standard error of the coefficients;
:// R-squared;
:// adjusted R-squared;
:// hypothesis: does variable X[i] influence Y? H[0]: it does not so b=0;


Our students use R for solving digital questions about Multivariate Statistics made with MapleTA.

How to use a MLE in MapleTA. Below the code I used in a question?

Remaks about how to program this better or more easy are more than welcome.

://noise. In Dutch ruis means noise;
://data 1;
://data 2;
://data 3;
:// percentage Y;
:// percentage Z;
$fit=maple("map(rhs, Statistics[Fit](a*x+b, $X, $L, x, output=parametervalues))");

Best regards,



I am writing questions in Maple T.A.  I want to call Matlab functions to generate answers and compare to the student's answers. I want to call both built-in functions and my own functions.  I notice that Maple has Matlab Link for this purpose.  Can it be used also within Maple T.A.?  

Stig Larsson, Mathematical Sciences, Chalmers University of Technology, Sweden





I am pleased to announce that a new release of Maple T.A., our online testing and assessment system, is now available. Maple T.A. 2017 includes significant enhancements to learning management system integration, as well as security, performance, and other improvements. These same improvements are also available in a new version of the  Maple T.A. MAA Placement Test Suite.  For more information, see What’s New in Maple T.A. 



I want to insert a histogram for weighted data in my  question Maple TA. I have difficulties in my code. 

Some ideas?


While many of us in North America were getting re-acquainted with the Fall routine, Maplesoft was involved in a major event, the Maple T.A. and Möbius User Summit. In the past, the Summit has alternated locations between Europe and North America, but following the success of last year’s Summit in Vienna, Austria, we recently broke new ground and expanded the reach of the event to include more countries around the world in order to localize the themes and to meet the growing demand from educators to take learning online.

The first event, organized by Cybernet, took place in China. The second of five events on the calendar took place in London, England. Held from September 7-8, this installment was a major stop in the tour, drawing many residents of the UK to hear talks from some of our strongest proponents of Möbius in Europe. The London Summit drew several delegates from the UK alone, many of whom were completely new contacts for us! Other attendees came from as far away as Russia, Pakistan, Sri Lanka, and Australia, as well as some from Sweden, Denmark, Italy and the Netherlands. The turnout was brilliant!

Make progress or make excuses

The bulk of the London Summit was divided into three driving themes: Showcasing the Successful Delivery of Online Education; Best Practices for Digital Testing and Assessment; and Creating Engaging and Interactive Online STEM Content. Each theme consisted of 3 user presentations delivered by representatives from renowned institutions like University of Manchester, University of Birmingham, London Imperial College, University of Waterloo, Chalmers University of Technology, and more.

Maplesoft Application Engineer Surak Perera may have inadvertently set the tone for the day when he kicked off theme 1 with a quote from Tony Robbins: Make progress, or make excuses. One thing’s for sure – excuses were nowhere to be found at One Moorgate Place. The audience was captivated and engaged, and wasted no time bouncing questions and ideas off of our presenters. In fact, they were so eager to learn from our Maple T.A. and Möbius users that Jonny Zivku, Maple T.A. Product Manager, had to interject several times in order to keep the schedule moving! Each presentation reinforced the ability of Maple T.A. and Möbius to be used for diverse purposes such as distance education or analyzing incoming students, and in a range of subjects including multidisciplinary engineering cohorts, or simply core mathematics. Each presenter demonstrated that these tools can take you as far as the user’s mind is willing to be stretched.


Evening Reception

As heads were getting full and bellies were getting empty, the group left the luxuries of modern day and stepped back into what must have felt like a scene from Downton Abbey in the Main Reception Room of the venue. On the menu was the most culturally appropriate dish: fish and chips! Oh, and don’t forget the tea and wine!

There was no better way to wrap up the Summit than with Steve Furino’s interactive presentation and open discussion “Collecting Data about Collecting Data.” Small group discussion enabled the attendees to reconcile their inspiration from Day 1 with the practicality of putting it into practice once they return to their schools.

Overall, the London Summit was a smashing hit. The centralized location drew attendees who had a lot of common experiences which made for optimal discussion. The final question posted was the most revealing of everyone’s experience: where will the Summit be next year?

While that’s not yet decided, the Toronto Summit – the next stop in the Summit Series – is just a fortnight away (November 2-3). So for now, we’re saying “Cheers” to jolly good times in London, and “Can I get a double-double, eh” to Toronto!

Until then, you can experience the London Summit as if you were there with the full presentation proceedings and videos. They’re now available on our website!

I am attempting to build a text field at the bottom of this worksheet  that asks users for the resistance.

I am hoping to have the value of the text field evaluated using the Module() at the bottom of the startup code, for use as a question within MapleTA.  For some reason I can get the code to work for a slider, but not a textbox.

I have limited knowledge about startup code.

Notice: I will be removing the resistance from the diagram for students after I know it works.

I appreciate any help that can be offered.

I am trying to solve a system of equations (I'm using MapleTA< but I'm pretty sure that this applies to any Maple product).  I have successfully solved the system, and obtain a set of solutions, which has name Soln.  I can access the element Soln[1], which is an expression:

vn2 = 12/7

Now, I just want that 12/7, as a decimal.  I try evalf(Soln[1]), but again I end up with vn2 = 12/7.  How do I get the decimal number out, without it being an expression?

I am building an algebra 1 course for my school, and was wanting to create simple randomly generating practice sets for graphing points / lines / etc.

However, the Sketch answer type doesn't allow for any variable input like the other questions do. Is there a work around? 

Presuming a randomly generated $x and $y, is there any way to check to see if a student has plotted the point ($x, $y)?

Hi all,

I am trying to display, using mathML, two seperate fractions being multiplied as two seperate expressions with a multiuply in the middle.

as of now I have:


The above Maple entry displays as:

I would like:


thanks in advance,


Hi all,


I am looking for a boolean logic check to see if a rational expression is simplified.

For example: x/x^2  =  1/x  I want something along the lines of issimplified(x/x^2)=FALSE

Similarily, (x^2-x-12)/(x-4) = x+3  so I would like some logic test to say (x^2-x-12)/(x-4) is NOT simplified.


Thanks in advance,


Meta Keijzer-de Ruijter is a Project Manager for Digital Testing at TU Delft, an institution that is at the forefront of the digital revolution in academic institutions. Meta has been using Maple T.A. for years, and offered to provide her insight on the role that automated testing & assessment played in improving student pass rates at TU Delft.


Modern technology is transforming many aspects of the world we live in, including education. At TU Delft in the Netherlands, we have taken a leadership role in transforming learning through the use of technology. Our ambition is to get to a point where we are offering fully digitalized degree programs and we believe digital testing and assessment can play an important role in this process.


A few years ago we launched a project with the goal of using digital testing to drastically improve the pass rates in our programs. Digital testing helps organize testing more efficiently for a larger number of students, addressing issues of overcrowded classrooms, and high teaching workloads. To better facilitate this transformation, we decided to adopt Maple T.A., the online testing and assessment suite from Maplesoft. Maple T.A. also provides anytime/anywhere testing, allowing students to take tests digitally, even from remote locations.


Regular and repeated testing produces the best learning results because progressive monitoring offers instructors the possibility of making adjustments throughout the course. The randomization feature in Maple T.A. provides each student with an individual set of problems, reducing the likelihood that answers will be copied. Though Maple T.A. is specialized in mathematics, it also supports more common question types like multiple choice, multiple selection, fill-in-the-blanks and hot spot. Maple T.A.’s question randomization, possibilities for multiple response fields per question and question workflow (adaptive questions) are superior to other options. By offering regular homework assignments and analyzing the results, we gain better insight into the progress of students and the topics that students perceive as difficult. Our lecturers can use this insight to decide whether to repeat particular material or to offer it in another manner. In many courses, preparing and reviewing practice tests comprise an important, yet time-consuming task for lecturers, and Maple T.A. alleviates that burden.


At TU Delft, we require all first-year students to take a math entry test using Maple T.A in order to assess the required level of math. Since the assessment of the student’s ability is so heavily dependent upon qualifying tests, it is extremely important for the test to be completed under controlled conditions. In Maple T.A., it is easy to generate multiple versions of the test questions without increasing the burden of review, as the tests are graded immediately. Students that fail the entry test are offered a remedial course in which they receive explanations and complete exercises, under the supervision of student assistants. The use of Maple T.A. facilitates this process without placing additional burden on the teacher. When the practice tests and the associated feedback are placed in a shared item bank in Maple T.A., teachers are able to offer additional practice materials to students with little effort. It makes it considerably easier on us as teachers to be able to use a variety of question types, thus creating a varied test.


Each semester, TU Delft offers an English placement test that is taken by approximately 200 students and 50 PhD candidates, in which students are required to formulate their reasons for their program choices or research topics. It used to take four lecturers working full-time for two days to mark the tests and report the results to participants in a timely manner. The digitization of this test has saved us considerable time. The hundred fill-in-the-blank questions are now marked automatically, and we no longer have to decipher handwriting for the open questions!


TU Delft is not alone in its emphasis on digital testing; it has a prominent position on the agendas of many institutions in Europe and elsewhere. These institutions are intensively involved in improving, expanding and advocating the positive results from digital testing and digital learning experiences. Online education solutions like Maple T.A. are playing a key role in improving the quality of digital offerings at institutions.

I am very pleased to announce a new user community centered around Maplesoft's online testing and assessment and courseware products. The new site is specifically for instructors and administrators currently using Maple T.A. or Möbius. This community of users are a small, specialised group who we want to bring together so they can share ideas and best practices. To find the community, go to either or

"The Maple T.A. Community has grown organically to support new developers as they pool their knowledge and queries. This has resulted in a fluid searchable structure, with answers available for all levels of question - from beginner to pushing the frontiers of what Maple T.A. has been designed to do. Our summer student interns rely on the Community as they become proficient in their question writing skills - and many have become contributors as they realise that they are in a position to teach others. Opening it out more broadly will be great in sharing good practice on a 'need to know now' basis.”

----Professor Nicola Wilkin, University of Birmingham


What content is in the community?

The community has many posts from active Maple T.A. and Möbius users from beginners to advanced users. The site is broken down into categories like 'Best Practices' - longer form posts that cover a broader concept in more detail and 'Quick Code snippets' that are small piece of code that you can drop straight into your question algorithms.

Much of the content is openly available and can be found by google, however there is additional content that can only be accessed by members of the community, such as the Maple T.A. school material which teaches you how to author content in Maple T.A. and Möbius.


Who runs the community

The community is jointly run by users based at the University of Birmingham, TU Wien, The University of Turin and TU Delft.


How does this fit into Mapleprimes?

It began as an offshoot of a private, internal customer forum. As this community grows, the ultimate goal is to eventually roll it into MaplePrimes proper. But this alternative site gave us the quickest way to get up and running. Maple T.A. and Möbius questions and posts are still welcome on MaplePrimes, and will continue to be monitored by Maplesoft.


How do I access the community?

You can find the community by going to either or


Where else can I get support for Maple T.A. and Mobiüs?

Official support for Maple T.A. and Möbius is provided by the wonderful Customer Success Team at Maplesoft. You can contact them at For other contact methods see


When I execute the following code in Maplesoft on my computer, there are no problems.  However when I execute the same code in mapleTA occasionally Maple only finds a single input value corresponding with h_given.  Anybody have any idea what is going on?

Basically I have a function, f,  that I am only interested in plotting and analyzing real-valued inputs, t, from =0 to 100 (or so).  At some point I assign an output value, h_given, and I wish to find the correlated real-valued inputs.  From the graph you can clearly see that there are 2 inputs, however the script occassionally only produces 1 output. (when running on mapleTA).

Thanks in advance,

a := MapleTA:-Builtin:-range(1800, 2300, 100):
b := (1/10)*MapleTA:-Builtin:-range(4, 8, 1):
timeT := MapleTA:-Builtin:-range(70, 100, 10):
f := -t*(b*t-b*timeT)^2*(cos(.15*t+4)^2-3)/a:
maxs := NLPSolve(f, t = 0 .. timeT, maximize):
maxim := maxs[1]:
graph := plot(f, t = 0 .. timeT, gridlines = true, 0 .. maxim+10, labels = [t, h(t)], labeldirections = [horizontal, vertical]);
h_given := 10;
expr := h_given-f:
answer_t := Student:-Calculus1:-Roots(expr, t = 0 .. timeT+5);
evalf(answer_t, 2);

Suppose I have a questions that says simplify some random square root

using the algorithm

$ques_ML=maple("f := $ques_exact: XMLTools[Print](MathML[Export](f));");

How do I create an answer field that ONLY allows the student to provide the simplified answer $ques_ML??  How might I provide partial points if they do not simplify (for a classic pythag triangle question for example)?

Thank you

1 2 3 4 5 6 7 Last Page 1 of 21