This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following generates crudely a coprime pair of numbers. However on choosing Try another question like this on you get the same output pair very time | |
{ | |
notes: "" | |
name: MAS3214 20122013 CBA3_1 | |
percentPass: 50 | |
shuffleQuestions: false | |
rulesets: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ notes: "" | |
name: example | |
percentPass: 50 | |
shuffleQuestions: false | |
rulesets:{ | |
std:[all,fractionNumbers, !collectNumbers,!noLeadingMinus] | |
} | |
navigation: { | |
allowregen: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
notes: "" | |
name: MAS3214 20122013 CBA2_5 | |
percentPass: 50 | |
shuffleQuestions: false | |
extensions:[stats] | |
rulesets:{ | |
std:[all,fractionNumbers, !collectNumbers,!noLeadingMinus] | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variables: { | |
j:"random(0..6)" | |
t6: "[6,1,[[3,2]],[[7,14],[9,18],[0]]]" | |
t10: "[10,1,[0],[[11,22],[0],[0]]]" | |
t12:"[12,1,[0],[[13,26],[0],t6]]" | |
t18:"[18,1,[[3,3]],[[19,38],[27,54],[0]]]" | |
t20:"[20,0,[[5,2]],[[0],[25,50],t10]]" | |
t22:"[22,1,[0],[[23,46],[0],[0]]]" | |
t28:"[28,1,[0],[[29,58],[0],[0]]]" | |
t:"[t6,t10,t12,t18,t20,t22,t28]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Cumulative Distribution Function of the Normal(0,1) distribution. | |
//based on "A Note on Approximating the Normal Distribution Function", K. M. Aludaat and M. T. Alodat, Applied Mathematical Sciences 2008 | |
//Better is Abramowitz and Stegun;" Handbook of Mathematical Functions." 1964,(formula: 26.2.17) as implemented below | |
//var cdfconst = Math.sqrt(Math.PI/8); | |
math.normalCDF = function(z) | |
{ | |
var p = 0.2316419; | |
var a1=0.319381530; | |
var a2=-0.356563782; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ notes: " Lists to vectors as below. Vectors to lists would be more efficient as could then sum up over subranges i.e. rows and columns" | |
name: MAS1342 20122013 CBA1a_1 | |
extensions:[stats] | |
percentPass: 50 | |
shuffleQuestions: false | |
rulesets:{ | |
std:[all,fractionNumbers, !collectNumbers,!noLeadingMinus] | |
} | |
navigation: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ notes: " Lists to vectors as below. Vectors to lists would be more efficient as could then sum up over subranges i.e. rows and columns" | |
name: MAS1342 20122013 CBA1a_1 | |
extensions:[stats] | |
percentPass: 50 | |
shuffleQuestions: false | |
rulesets:{ | |
std:[all,fractionNumbers, !collectNumbers,!noLeadingMinus] | |
} | |
navigation: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ notes: " Lists to vectors as below. Vectors to lists would be more efficient as could then sum up over subranges i.e. rows and columns" | |
name: MAS1342 20122013 CBA1a_1 | |
extensions:[stats] | |
percentPass: 50 | |
shuffleQuestions: false | |
rulesets:{ | |
std:[all,fractionNumbers, !collectNumbers,!noLeadingMinus] | |
} | |
navigation: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ notes: " Best if arrays are vectors etc and not lists so can do dot products etc" | |
name: MAS1342 20122013 CBA1a_1 | |
percentPass: 50 | |
shuffleQuestions: false | |
rulesets:{ | |
std:[all,fractionNumbers, !collectNumbers,!noLeadingMinus] | |
} | |
navigation: { | |
allowregen: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ notes: " " | |
name: MAS1341 20122013 CBA2a_1 | |
percentPass: 50 | |
shuffleQuestions: false | |
rulesets:{ | |
std:[all,fractionNumbers, !collectNumbers,!noLeadingMinus] | |
} | |
navigation: { | |
allowregen: true |
NewerOlder