ࡱ> #` bjbj\.\. 4>D>Dr8|||||||:::8::X<<<<<===3X5X5X5X5X5X5X$jYh[RYX|=====YX||<<nXSISISI=|<|<3XSI=3XSISI||SI<< CdZ:oE|SIPX0XSI$\E$\SI$\|SIL==SI=====YXYXHX===X====D(, ,|||||| Defining Variables$variable = number, string, calculation, or function$a = 4 $b = 2*5 $c = $a/$b x $d = rand(-5,5)$var1,$var2 = array function $arrayvar = array function$a,$b = diffrands(-5,5,2) $c = array(A,B,C) Note: $c[0] = AConditionals$var = value if condition == equals, != not equals >, <, <=, >=$type = rand(0,1) $a = Linear if ($type==0) $a = Power if ($type==1)$var = randomizer where condition$a = rand(1,5) $b = rand(1,5) where ($a%$b!=0)Single variable randomizersrand(min,max) $a = rand(1,5)rrand(min,max,step) $a = rrand(0.5,2.5,0.5)nonzerorand(min,max) $a = nonzerorand(-5,5)nonzerorrand(min,max,step)$a = nonzerorrand(-0.1,0.1,0.01)randfrom(list or array)$a = randfrom(1,4,9,16) $b = randfrom(one,two,three)Array randomizersrand(min,max,n)$a,$b = rands(1,8,2)rrands(min,max,step,n)$a,$b = rrands(1,5,0.5,2)nonzerorands(min,max,n)$a = nonzerorands(-5,5,3) ($a is array)nonzerorrands(min,max,step,n)$a,$b = nonzerorrands(-3,3,0.5,2)randsfrom(list/array,n)$eqns = array(x^2,x^3,x^4,x^5) $a,$b = randsfrom($eqns,2)jointrandfrom(list/array,list/array)$eqns = array(x^2,x^3,x^4) $derivs = array(2x,3x^2,4x^3) $a,$b = jointrandfrom($eqns,$derivs)diffrands(min,max,n)$a,$b = diffrands(1,8,2)diffrrands(min,max,step,n)$a,$b = diffrrands(4,16,4,2)diffrandsfrom(list/array,n)$a,$b = diffrandsfrom(1,4,9,16,2)nonzerodiffrands(min,max,n)$a,$b = nonzerodiffrands(-5,5,2)nonzerodiffrrands(min,max,step,n)$a,$b = nonzerodiffrrands(-1,1,0.1,2)jointshuffle(list/array,list/array,[n1,n2]) n1,n2 optional specify number from each list$eqns = array(x^2,x^3,x^4) $derivs = array(2x,3x^2,4x^3) $a,$b = jointshuffle($eqns,$derivs,2,2)singleshuffle(list/array)$a = singleshuffle(red,green,blue) Display Macrosmakepretty(string or array of strings) cleans up double sign problems$a = nonzerorand(-5,5) $b = makepretty(x - $a)makeprettydisp(string or array of strings) same as makepretty, but backquotes strings$a = nonzerorand(-5,5) $b = makepretty(x^2 - $a)showarrays(string,array,[string,array]) tabular display of data arrays with string headers can specify one or more header/data pairs$x = rands(-5,5,10) $table = showarrays(x,$x)horizshowarrays(string,array,[string,array]) horizontal tabular display of data arrays$x = rands(-5,5,10) $table = horizshowarrays(x,$x)General Macroslisttoarray(list) converts list to array$a = listtoarray(1,2,3,4)arraytolist(list) converts array to list$a = rands(1,5,3) $b = arraytolist($a)calclisttoarray(list) converst list of calculations to array of numbers$a = calclisttoarray(2^3,5/3,4*3)sortarray(list/array,[dir]) sorts array. give dir as rev to sort reverse$a = rands(1,10,4) $b = sortarray($a)consecutive(min,max,[step]) array numbers in steps of step (default 1)$x = consecutive(1,10) $evens = consecutive(2,8,2)calconarray(array,calculation) performs calculation on array (use x as variable)$p = consecutive(1,10) $sqrs = calconarray($p,x^2)mergearrays(array,array) combines two arrays$a = rands(-10,-2,3) $b = rands(2,10,3) $c = mergearrays($a,$b)sumarray(array) adds entries in array$a = rands(1,6,3) $sum = sumarray($a)Graphsshowplot(funcs,[xmin,xmax,ymin,ymax,labels,grid,width,height]) funcs: string or array of strings with at least the first of: function,color,min,max,startmarker,endmarker,width,dash color: black, red, orange, yellow, green, blue, purple min,max: domain for function startmarker, endmarker: open or closed for dots dash: dash for dashed line xmin,xmax,ymin,ymax: window labels,grid: spacing for axis labels, grid (0 for off) width,height: dimensions of graph (in pixels) $a = showplot(x^2,-5,5,-5,5) $eqn = sqrt(x),red,0,5 $b = showplot($eqn,-3,3,-3,3,0,0) $eqns[0] = x-2,black,-3,1,,closed $eqns[1] = 1-x,black,1,3,open $c = showplot($eqns,-3,3,-3,3)addlabel(plot,x,y,label,[color,loc]) attaches label to a plot x,y: coordinates for label label: the label, color: color of label (optional) loc: left, right, above, below (defaults to centered)$p = showplot(x+2,-5,5,-5,5) $p = addlabel($p,1,3,x+2,,right) Question Types Required Variables Number$answerDefines answer$answer = 5 $answer = 3 or 4 $answer = [2,3)Calculated$answerDefines answer$answer = 2 $answer = 3^5Multiple-Choice$questionsDefines choices$questions = array(Linear,Exponential,Power)$answerIndex into $questions with answer$answer = 0Multiple Answer$questionsDefines choices$questions = listtoarray(cat,dog,rock)$answersList of indices into $questions with answers$answers = 0,1Matching$questionsDisplays on left with entry boxes$questions = listtoarray(cat,dog,cow)$answersDisplays on right lettered$answers = listtoarray(meow,arf,moo)Function$answerString containing equation$answer = x^2 + 5String$answerAnswer string$answer = linearMultipart$anstypeslist or array of answer types: number, calculated, choices, multans, matching, numfunc, string$anstypes = calculated,numfuncQuestion part variablesVariables for types, indexed$answer[0] = 4 $answer[1] = x^2$answerbox[n]Places answerbox in question textIf f(x) = 2x, then f(2) = $answerbox[0], and `int f(x) dx` = $answerbox[1] + C     IMathAS Question Language Quick Reference       ! 3 4 45Cdn<KXY qrsuvxy{|~രhw[jhw[U hhu h 5 h5h h 5h  hwabhu h;`hh h+Xhuh+Xhu5hu hu5EJQZiyHkd$$Ifs`'n( tn(644 s4Haeytu $Ifgd;`ryz{ $Ifgd;`nkd$$IfsFZ`'hd tn(6    44 s4Haeytu   ! : G >Hkd'$$Ifs`'n( tn(644 s4Haeytu $Ifgd;`pkd^$$IfsFZ`'hd tn(6    44 s4HaeytuG Y u nkd$$IfsFZ`'hd tn(6    44 s4Haeytu $Ifgd;`    >HkdN$$Ifs`'n( tn(644 s4Haeytu $Ifgd;`pkd$$IfsFZ`'hd tn(6    44 s4Haeytu ! " 7 O $Ifgd;`nkd$$IfsFZ`'hd tn(6    44 s4HaeytuO P Q g ~ $Ifgd;`nkd$$IfsFZ`'hd tn(6    44 s4Haeytu~  $Ifgd;`nkdq$$IfsFZ`'hd tn(6    44 s4Haeytu  $Ifgd;`nkd6$$IfsFZ`'hd tn(6    44 s4Haeytu  " # $ 4 I >Hkd$$Ifs`'n( tn(644 s4Haeytu $Ifgd;`pkd$$IfsFZ`'hd tn(6    44 s4HaeytuI J K b | $Ifgd;`nkd] $$IfsFZ`'hd tn(6    44 s4Haeytu| } ~ $Ifgd;`nkd" $$IfsFZ`'hd tn(6    44 s4Haeytu  $Ifgd;`nkd $$IfsFZ`'hd tn(6    44 s4Haeytu    D _ $Ifgd;`nkd $$IfsFZ`'hd tn(6    44 s4Haeytu_ ` a $Ifgd;`nkdq $$IfsFZ`'hd tn(6    44 s4Haeytu  $Ifgd;`nkd6 $$IfsFZ`'hd tn(6    44 s4Haeytu ! " = Z $Ifgd;`nkd $$IfsFZ`'hd tn(6    44 s4HaeytuZ [ \ x $Ifgd;`nkd$$IfsFZ`'hd tn(6    44 s4Haeytu $Ifgd;`nkd$$IfsFZ`'hd tn(6    44 s4Haeytu % $Ifgd;`nkdJ$$IfsFZ`'hd tn(6    44 s4Haeytu%&'S $Ifgdh $Ifgd;`nkd$$IfsFZ`'hd tn(6    44 s4Haeytu3 $Ifgdh $Ifgd;`nkd$$IfsFZ`'hd tn(6    44 s4Haeytu345DEFm;Hkd^$$Ifsn(|) t|)644 s4Haeytu $Ifgd;`gd;`nkd$$IfsFZ`'hd tn(6    44 s4Haeytum0L $Ifgdhnkd$$IfsFZ n(hd t|)6    44 s4Haeytu $Ifgd;` LMNw $Ifgd;`nkd$$IfsFZ n(hd t|)6    44 s4Haeytu  8dx $Ifgdh $Ifgd;`nkd$$IfsFZ n(hd t|)6    44 s4Haeytu@777 $Ifgd;`Hkd $$Ifsn(|) t|)644 s4Haeytu $IfgdhnkdF$$IfsFZ n(hd t|)6    44 s4Haeytu1F $Ifgd;`nkd$$IfsFZ n(hd t|)6    44 s4Haeytu $IfgdhFGH^ $Ifgdh $Ifgd;`nkdi$$IfsFZ n(hd t|)6    44 s4Haeytu, $Ifgdh $Ifgd;`nkd.$$IfsFZ n(hd t|)6    44 s4Haeytu,-.Jw $Ifgdh $Ifgd;`nkd$$IfsFZ n(hd t|)6    44 s4Haeytu4 $Ifgdh $Ifgd;`nkd$$IfsFZ n(hd t|)6    44 s4Haeytu456Oez $Ifgdh $Ifgd;`nkd}$$IfsFZ n(hd t|)6    44 s4Haeytu $Ifgdh $Ifgd;`nkdB$$IfsFZ n(hd t|)6    44 s4Haeytu>~@777 $Ifgd;`Hkd$$Ifsn(|) t|)644 s4Haeytu $Ifgdhnkd$$IfsFZ n(hd t|)6    44 s4Haeytu~%b12Kmn $Ifgdh $Ifgd;`0g $Ifgdh $Ifgd;`nkde$$IfsFZ n(hd t|)6    44 s4Haeytu ;Hkd$$Ifs() t)644 s4Haeytu $Ifgd;`gd;`nkd*$$IfsFZ n(hd t|)6    44 s4Haeytu#2>Qcdoskd $$Ifs\Z(h  t)644 s4Haeytu $Ifgd;`opqy $Ifgd;`Hkdg!$$Ifs() t)644 s4Haeytu|s+sHkd"$$Ifs() t)644 s4Haeytu $Ifgd;`kd"$$Ifs\Z(h  t)644 s4Haeytu /;ukdx#$$Ifs\Z(h  t)644 s4Haeytu $Ifgd;`;<LMN|s+sHkd2%$$Ifs() t)644 s4Haeytu $Ifgd;`kdS$$$Ifs\Z(h  t)644 s4HaeytuNYiukd%$$Ifs\Z(h  t)644 s4Haeytu $Ifgd;`|s+sHkd'$$Ifs() t)644 s4Haeytu $Ifgd;`kd&$$Ifs!\Z(h  t)644 s4Haeytu<=>Gbukd($$Ifs\Z(h  t)644 s4Haeytu $Ifgd;`|s+sHkd)$$Ifs() t)644 s4Haeytu $Ifgd;`kd($$Ifs\Z(h  t)644 s4Haeytuskdq*$$Ifs\Z(h  t)644 s4Haeytu $Ifgd;` $Ifgd;`JkdP+$$Ifs() t)644 s4Haeytu   |s+sHkd,$$Ifs() t)644 s4Haeytu $Ifgd;`kd+$$Ifs\Z(h  t)644 s4Haeytu 5uukde-$$Ifs\Z(h  t)644 s4Haeytu $Ifgd;`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vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu$$Ife!vh5)#v):Vs t0)65)4 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs! t0)65h55 54 s4Haeytu$$Ife!vh5)#v):Vs t0)65)4 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu$$Ife!vh5)#v):Vs t0)65)4 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu$$Ife!vh5)#v):Vs t0)65)4 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu$$Ife!vh5)#v):Vs t0)65)4 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu$$Ife!vh5h55 5#vh#v#v #v:Vs t0)65h55 54 s4Haeytu@@@ 6vNormalCJ_HaJmH sH tH DAD Default Paragraph FontRi@R  Table Normal4 l4a (k(No List4@4 ;`Header  !4 @4 ;`Footer  !j@j ;` Table Grid7:V0JQZiyz{!:GYu !"7OPQg~"#$4IJKb|}~D_`a !"=Z[\x%&'S345DEFm0LMNw 8 d x   1 F G H ^   , - . J w  4 5 6 O e z > ~ %b12Kmn0g#2>Qcdopqy /;<LMNYi<=>Gb   5u!pqrtuwxz{}~0 0 0 0 @0@0@0@0 0 0 0@0 @0@0@0 0 0 0 0 000 000 0 0 0 @0@0 0 0 0 0 0 @0 0 0 0 @0 0 0 0 @0 0 0 0 @0 0 0 0 @0@0 0 0 0 0 0 @0 0 0 0 @0 0 0 0 @0 0 0 0 @0 0 0 0 @0@0 0 0 0 @0@0@0 0 0 0 @0 0 0 0 @0 0 0 0 @0 0 0 0 @0 0 0 0 @0 0 0 0@0 @0@0@0 0 0 0 @0 0 00 @0 @0 @0@0 @0@0 @0 0 00 00 0 0 000 00 0 0 00 00 0 0 0 0 00 0 0 0 00 00 0 0 00 0 0 0 00 00 0 0 00 00 0 0 00 00 0 0 00 000 0 0 00 00 0 0 0 0 0000000000 00000000 0 0 00000 00 0 0000 0 0 0 0 000 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 @0 @0 @0 @0 @0 0 0 0 0 0 0 0 @0 @0 @0 @0 @0 0 0 0 0 0 0 0 @0 @0 @0 @0 @0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 @0 @0 @0 @0@0 @0 0 0 0 0 0 0h0h0h0h0h0h0h0h0@0h0'yz"#345DEL x F , 4 Qcdop/;<LMb   5uj0 @0 h0(Qh0U h0h0h0 j0  W @0 h0  dZ h0 ,%h0 h0 h0  \ j0%@0 h0ė dZ h0h0 h0h0 \ j0\@0% h0hh0h0h0h0h0 j0#j0l @0H$ j0j0j0j0)*h0 h0 j0 @0 , j0j00j0 Lj0  j0  С j0  L j0  h h0  j0677h06 h06h0  h0j0d @0 ; j0 j0 h0?@|8h0?h0?j0? @0B `0DEP`0D h0 j0@0sG h0IJh0Ih0j0I@0L h0NOhh0N\j0N@0NQ `0ST`0Sh0 j0@0V h0XYh0Xh0 j0@0[ b0`ax`0` h0 j0 @0` b0hiX`0h h0 j0 @0e h0g h0g h0j0g h0gh<h0  dZ 77777:~FyG O ~  I |  _ Z %3mLF,4~o;N p !"#$%&'()*+,-./0123456789:;<=>?@ABCDEG8@0(  B S  ? "'(4<AQ\]dlw )259<AKQR`cgjp~"EILUant~ ",-;>BEO\iovy}'39C "0FP)5?NXYegs    & ( 4 i n $ ) 6 A H W ` h   ' : A    ) 6 A B M j o     ; @ E .9;D36:>PXosv!,.9mxz RYelv~<EORXZ_hrrttuuwxz{}~NY  rrttuuwxz{}~333Zy{!:Gu "OQ~Ib|~D_ =Z\%5F  H ` . L w 6 Q $b1cd /;<i>burrttuuwxz{}~rrttuuwxz{}~c!Nfw7<n%?dRnHLc_c*+xt' +U c t2 6 S ] ,! [6 #n4']_ml|>G$WTh47T}P-2yHuaLkI9$?+1c|!xOymo $!G!5!t!1"9" 2#1w#j1%g%E&!&&@&Wi&&O'!P(\(i( F)*,cC,-X5..8.s.*/z//F0U0+o0@L1B2Tg2n23%3B3 4J4W5X5_b5M6e6]7DJ8':6;8;>;N;H<m =Y=z=] >|l?G@R@Zv@7AC:!C22C=C(DIJDODR~Dy6F-VF*GuJInIK_?KTLKRKLNAN\&PyTPQemQURT$/TGb   u!pq@ Tgw@@UnknownGz Times New Roman5Symbol3& z Arial"1h K3? &3? &!4dhh2HP ?;`2Defining Variables  Oh+'0  8 D P \hpxDefining Variables  Normal.dot 2Microsoft Office Word@5z @L@V|@Z3?՜.+,0 hp|   & h Defining Variables Title  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHJKLMNOPQRSTUVWXYZ[\]^_`bcdefghijklmnopqrstuvwxyz{|}~Root Entry FfZData I/1Tablea$\WordDocument4SummaryInformation(DocumentSummaryInformation8CompObjq  FMicrosoft Office Word Document MSWordDocWord.Document.89q