Quiz

Calculated question wildcards

Calculated question wildcards

Wildcard setup:

 T1 9.99 - 10.01 17 Standard deviations T2 9.99 - 10.01 17 Standard deviations T3 9.99 - 10.01 17 Standard deviations T4 9.99 - 10.01 17 Standard deviations T5 9.99 - 10.01 17 Standard deviations T6 9.99 - 10.01 17 Standard deviations T7 9.99 - 10.01 17 Standard deviations T8 9.99 - 10.01 17 Standard deviations T9 9.99 - 10.01 17 Standard deviations T10 9.99 - 10.01 17 Standard deviations

Current formula:

sqrt(((pow((({T1}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)+pow((({T2}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)+pow((({T3}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)+pow((({T4}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)+pow((({T5}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)+pow((({T6}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)+pow((({T7}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)+pow((({T8}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)+pow((({T9}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)+pow((({T10}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2))/9))

Is it possible to make the formula markup shorter and use for example "pow((({T1}-({T1}:{T10})/10)),2)" so in the end it automatically uses wildcards from T1 to T10 which would equal in return to "pow((({T1}-({T1}+{T2}+{T3}+{T4}+{T5}+{T6}+{T7}+{T8}+{T9}+{T10})/10)),2)"?

Any other suggestions?

Average of ratings: -
Re: Calculated question wildcards

Sorry but this cannot de done with the calculated question type. Other non standard (but fully supported) question types that coud be usefull to your problem could be added to your moodle installation.

Pierre

Average of ratings: -