How can I simplify the way I write simplification ...

I'm creating a randomly generated question bank that generates the following STYLE or problem:

12x-4y2
3x6y-5

I'm currently trying to use the answer type "formula without simplification," as I'd like to avoid the students putting the questions in as the answer, and this has been driving me crazy for hours now.

I have tried the "maple" function to simplify. E.g.:

\$ANS = maple("( \$C1*( \$V1^\$A1 )*( \$V2^\$B1 ) ) / ( \$C2*( \$V1^\$A2 )*( \$V2^\$B2 ) )");

But it always throws an error.

I have simply done the math in the algorithm section, so you end up with an answer variable like this:

\$ANS = -4.0*(((z)^2.0)/(5.0*((p)^9.0)))

However, it will still count all answers submitted as incorrect.

Any help would be GREATLY appreciated =/.

Variable name clarification
I have \$C1 and \$C2, which are the constants of the numerator and denominator, respectively ("12" and "3" in the example).
I have \$V1 and \$V2 which are the first and second variable, respectively, (in the example, "x" and "y").
I have \$A1 and \$A2, which are the exponents for the variable \$V1 in the numerator and denominator, respectively.
I have \$B1 and \$B2, which are the exponents for the variable \$V2 in the numerator and denominator, respectively.

All these generate from some interesting conditions to create the problems I want (no variables named i, e, or o, for example,) but all properly initialize.

Formatting output of variables in Maple TA...

I apologize, as I'm still very new. I've flipped through a lot of pages, but I'm unsure of how Maple code translates to Maple TA.

I have randomly assigned an integer for the value of a year in Maple TA. I'd like it to appear as "2013" for example, but it will instead appear as "2,013". Is there a way to set the output formatting of a variable individually within a problem in TA?

Thanks!

Problem with frac() in MapleTA ...

I am setting up a practice set on how to find a common denominator, add, and reduce.

If I do not set "allow arithmatic", there is no way for students to correctly type in the answer, which is CURRENTLY the return value for a frac() function call. If I DO set "allow arithmatic", the student can just literally type the question into the answer box to get full credit / never has to reduce, etc, which defeats the purpose of the lesson. This is also the case with the Maple Graded answer type unless I do something fancier than I'm doing.

I can set up the answer properly without using frac() and reduce the fraction, but then--when the answer should be a whole number--the student has to type in "3/1" as an example.

I've also tried setting up an if statement for the answer, but when i convert the numbers to strings, then "2/3" becomes .2.0/3.0".

So, at this point, I'm super open to ideas.

# Define the denominators. We want them to be between 2 and 8.
\$B=rint(2,8);
\$D=rint(2,8);

# Make it so that the numerators can be between 1 and 1 less than the denominators.
# We also want to make sure they're not 0.
# Hashtag dividingby0.
\$R=rint(-\$B+1,\$B-1);
\$A=if(\$R,\$R,1);
\$S=rint(-\$D+1,\$D-1);
\$C=if(\$S,\$S,1);

# Calculate the numerator multiplied by the denominator. We'll do this step expressly
# because we'll want it for our feedback.
\$X=(\$A*\$C);
\$Y=(\$B*\$D);

#Calculate the greatest common factor and the answer.
\$G=if(gcd(\$X,\$Y),gcd(\$X,\$Y),1);
\$ANS=frac(\$X,\$Y);

Can Maple T.A. be a 'tolerant' marker?

by: Maple T.A.

Disclaimer: This blog post has been contributed by Prof. Nicola Wilkin, Head of Teaching Innovation (Science), College of Engineering and Physical Sciences and Jonathan Watkins from the University of Birmingham Maple T.A. user group*.

Written for Maple T.A. 2016. For Maple T.A. 10 users, this question can be written using the queston designer.

Format of algorithmic variables...

Hello,

I am using algorithmic variables to generate questions about the greatest common divisor of two integers.

Unforuntately the integers come out as 1,664 instead of simply 1664 (for example). How can I change the format to the simple version ?

Thanks for your help!

Elisabeth

Creating a drag and drop exercise...

Hi,

I'd like to create a graded drag and drop exercise so that my students can click on an item and place it into various places (one of which is the correct place). I don't think any of the Question types support this though .. is there a way to build such a quesiton in Maple TA ?

Thank you for your help!

Elisabeth

Complex numbers in Maple T.A....

Is it possible to work with complex numbers in Maple T.A?

How could you for instance make a question where two complex numbers in polar form should be added. For instance (10<30deg)+(15<-10deg). I'm thinking of letting answers be in two fields, one for the absolute value and one for the angle but I would like to use random numbers in the two complex numbers to be added and would prefer to be able to use complex math in calculating the right answer.

Cannot use StringTools[Search] in Maple T.A....

Dear All,

I use Maple T.A. 10. I try to use StringTools[Search] in algorithm variables but have not succeeded. Any help would be appreciated.

Algorithm Variable definitions

`\$pattern1=maple('"sin(1/2*Pi)"');\$text1=maple('"sin(1/2*Pi)"');\$test1=maple("StringTools[Search](\$pattern1,\$text1)");\$test2=maple('StringTools[Search](\$pattern1,\$text1)');`

give us the following result, whereas I expect the return value 1.

 pattern1 "sin(1/2*Pi)" text1 "sin(1/2*Pi)" test1 com.maplesoft.server.router.MapleSyntaxException: on line 116, syntax error, `,` unexpected: test2 module () local Testing, Bitmap, BF, SuffixArray, LyndonFactorPositions, CheckMaximalRepeat, slowLyndonFactors, SerialCorrelationCoefficient, ChiSquared, LongestCommonSubSequenceLength, PrintSentences, `difficult?`, matchMatrix2, _randperm, _permute, _config, trampoline, Sequitur, passign, defun, compressImpl, uncompressImpl; export Length, IsUpper, IsLower, IsAlpha, IsDigit, IsAlphaNumeric, IsControlCharacter, IsSpace, IsPunctuation, IsGraphic, IsIdentifier, IsIdentifier1, IsPrintable, IsASCII, IsHexDigit, IsOctalDigit, IsBinaryDigit, IsVowel, HasUpper, HasLower, HasAlpha, HasDigit, HasAlphaNumeric, HasControlCharacter, HasSpace, HasPunctuation, HasGraphic, HasIdentifier, HasIdentifier1, HasPrintable, HasASCII, HasHexDigit, HasOctalDigit, HasBinaryDigit, HasVowel, Has, ExpandCharacterClass, Random, Randomize, IndexOfCoincidence, Entropy, ArithmeticMean, Kasiski, Repeats, Explode, Implode, Chop, Chomp, Fence, MatchFence, PadLeft, PadRight, Centre, Center, Trim, TrimRight, TrimLeft, Squeeze, DeleteSpace, Reverse, Insert, Delete, IsPrefix, IsSuffix, CommonPrefix, CommonSuffix, LongestCommonSubString, LongestCommonSubSequence, Soundex, Metaphone, Levenshtein, HammingDistance, EditDistance, PrefixDistance, SuffixDistance, DifferencePositions, Compare, CompareCI, CamelCase, UpperCase, LowerCase, OtherCase, Capitalize, FirstFromLeft, FirstFromRight, Take, Drop, Snarf, CharacterMap, LeftFold, RightFold, Map, AndMap, OrMap, Char, Ord, SubString, Select, Remove, SelectRemove, Group, Split, CaseSplit, LengthSplit, StringSplit, Readability, Sentences, Words, WordStart, WordEnd, WordContaining, NGrams, SimilarityCoefficient, WordCount, Join, CaseJoin, RegMatch, RegSub, RegSubs, RegSplit, ApproximateSearch, ApproximateSearchAll, HammingSearch, HammingSearchAll, Search, SearchAll, Substitute, SubstituteAll, PatternDictionary, FormatMessage, FormatTime, ParseTime, Fill, Repeat, Iota, Visible, Escape, Encode, Decode, Compress, Uncompress, WildcardMatch, NumbOccur, CountCharacterOccurrences, Shift, Rotate, Exchange, Stem, Permute, SortPermutation, Sort, Unique, Hash, IsSorted, IsAnagram, Anagrams, SyllableLength, Generate, NthWord, Support, IsBalanced, IsSubSequence, IsPalindrome, IsEodermdrome, IsPermutation, IsDerangement, IsMonotonic, IsPrimitive, PrimitiveRoot, Border, BorderLength, BorderArray, Overlap, IsConjugate, MinimumConjugate, Period, IsPeriod, Fibonacci, ThueMorse, MonotonicFactors, LyndonFactors, LexOrder, ShortLexOrder, RevLexOrder, ShortRevLexOrder, LeftRecursivePathOrder, RightRecursivePathOrder, ToByteArray, FromByteArray, CharacterFrequencies, MaximalPalindromicSubstring, MinChar, MaxChar, Tabulate, StringBuffer, ExpandTabs, WrapText, Indent, PatternEquivalent, PatternCanonicalForm, GenerateIdentifier, _pexports; options package, noimplicit, `Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2005`; description "a package of string manipulation utilities"; end module(Search)("sin(1/2*Pi)","sin(1/2*Pi)")

I confirmed that one can use StringTools[Search] in the question source code as explained in http://www.maplesoft.com/support/help/MapleTA10/MapleTAInstructor/ch06s04.aspx#Chapter06_UsingMapleCodetoPreventCheatinginMapleSyntaxQuestions

maple=evalb(0=StringTools[Search]("factor","\$RESPONSE")) and evalb(\$RESPONSE=factor(x^2-1))

I note that searchtext or SearchText procedures could be used instead in algorithm variables.

Indexed variables in Maple TA?...

I try to make a question with an equation with numbered variables. This works fine when evaluating:

y=x1/x2

I need to have the lefthand variable indexed also like this:

y2=x1/x2

When entering y2=x1/x2 as the answer Maple TA won't evaluate it as a correct answer!?

Maple T.A. Kursmaterial

by: Maple T.A.

Um den Studierenden zu helfen, deren Mathematikkenntnisse nicht auf dem von Studienanfängern erwarteten Niveau waren, hat die TU Wien einen Auffrischungskurs mit Maple T.A. entwickelt.  Die vom Team der TU Wien ausgearbeiteten Fragen zu mathematischen Themen wie der Integralrechnung, linearen Funktionen, der Vektoranalysis, der Differentialrechnung und der Trigonometrie, sind in die Maple T.A. Cloud übernommen worden.  Außerdem haben wir diesen Inhalt als Kursmodul zur Verfügung gestellt.

Bei Interesse können Sie mehr über das Projekt der TU Wien in diesem Anwenderbericht lesen: Erfolgreiches Auffrischen von Mathematikkenntnissen an der Technischen Universität Wien mit Maple T.A.

Jonny
Maplesoft Product Manager, Maple T.A.

How to check input in Maple TA?...

Assume the inequality xA,2+xB,2+xC,2 ≤ 110 has to be entered as "symbolic entry only".

How can I check that in Maple T.A.?

It seems that there are type conversions necessary. I attempted to use the MathML package without any luck.

1. Tried to transform \$ANSWER within the answer field using MathML[ExportPresentation]( x[A,2]+x[B,2]+x[C,2] <= 110) and compare it with evalb((\$ANSWER)=(\$RESPONSE)) in the grading code field
2. Tried to transform \$RESPONSE in the grading code: evalb((\$ANSWER)=( MathML[ImportContent] (\$RESPONSE)))

What’s the format of a symbolic entry? Is it really MathML!?

What is the correct way to do it?

2. grading code: ?
3. expression type: Maple syntax?!
4. Text/Symbolic entry: Symbolic entry only

Indexed variable...

How do you check an indexed variable in Maple TA?

For instance the question might be: enter 6x1   (or 6xA1)

I have tried using a Maple-graded question specifying as correct answer 6*x[1]   (or 6*x[A,1]) without any success (works only for 6x).

How do I fix the error message ?...

I have written a Math App in Maple to create a Math App question in Maple TA.

The app has two tables, a plot area, and text box. The first table provides the data to the students for calculating their answer (and so Editable in the component properties is unchecked). The second table is where the student enters their answers (and so Editable is checked). The text area and plot area are for providing some real time feedback and error checking to the students.

Everything works fine in Maple.

In Maple TA I have tried using both a Math App question type and a Question Designer question type with a Math App inserted. I have tested it in Internet Explorer, Chrome and Firefox.

In all six cases when I click on one of the editable table cells to put in an answer a popup appears with the error message: "Unable to update RTable due to error=TypeError: window.parent.parent.updateRTable is not a function"

I am using Maple 10 and the latest hotfix is SP-002.

What I have worked out so far is that the Maple TA web page is designed so that the Math App sits in an iframe and each table sits in a separate iframe inside that iframe. updateRTable is a function inside the tables iframe that calls the updateRTable on the top level window and if this fails gives the error message above.

The top level window includes the file /maplenet/js/worksheet.js, which includes the function updateRTable.

How do I fix this error?

Thanks

2015 Maple T.A. User Summit – Schedule

by: Maple T.A.

Maplesoft will be hosting the 2015 Maple T.A. User Summit this June 15 - 17 in New York City. Don’t miss this opportunity to learn about new trends in online education while networking and socializing with fellow educators and Maple T.A. users in the city that never sleeps!

We are happy to announce that the schedule has been finalized! The event will include keynote presentations, talks and discussions from users and Maplesoft staff, training sessions, a welcome reception and a boat cruise around New York City,

If you'd like ot sign-up but still haven't - don't hesitate to do so today using the following link: https://webstore.maplesoft.com/taconference/register.aspx .

I hope to see you there!

Jonny
Maplesoft Product Manager, Maple T.A.

Maple T.A. course materials – Sketch and Free...

by: Maple T.A.

Maple T.A. 10 introduced two new question types: Sketch and Free Body Diagram. To assist users in learning the new question types, Maplesoft has created a few hundred samples to look at. These sample questions are already featured on the Maple T.A. Cloud, but you can also download the course modules below.

Sketching Questions - This course module contains 309 sketch questions. Areas covered include: functions, exponential functions, inequalities, linear equations, logarithmic functions, piecewise functions, quadratic equations, systems of equations and transformations of functions.

Free Body Diagram Questions - This course module contains 118 free body diagram questions. Areas covered include: Electricity, Magnetism and Mechanics.

Jonny Zivku
Maplesoft Product Manager, Maple T.A.

 1 2 3 4 Page 1 of 4
﻿