Began work on creating a few questions on descriptive statistics, to aid students taking the 1st year statistics course. Successfully wrote & tested functions to calculate the mean, variance, SD, SE, and coefficient of variation on an arbitrary population. This should allow for questions to be written next week without too much effort.
Creating realistic population data may be problematic as the rand() function in PHP returns numbers on a uniform distribution rather than a normal distribution - this will require some further research.
Today I continued working on the differentiation question trying to find a code for multiple boxes for separate integers in the answer as oppose to one long answer to the question. I was unable to successfully complete this in the session .
Wrote a very simple population genetics question, and equally simple mole/% calculations on saponification and esterification
Wrote code for questions regarding Gibbs free energy, altering the code to generate questions asking for either free energy, enthalpy or entropy, requiring the user to rearrange the equation.
Started work on some questions based on the Beer-Lambert law, and ran into a bit of trouble with floating point precision that meant rephrasing the question. Successfully prototyped one question.
In this session, I used my unit conversion quiz from the previous session to code two different randomised questions, while learning how to type superscript in php and inserting ASCII code for symbols.
Successfully made another maths problem with the other biochemists. I also worked on a more generic way of creating moodle XML, which should make generating problems in future a lot easier, and significantly improve code readability.
Had a bit more practice writing randomised questions in PHP
In today's session we worked on a 'house painter' question to produce a randomised question bank on moodle for the style of the question. I then moved on to work on a simple differentiation question that could be useful to students that have not studied A level maths and are unware of basic differentiation techniques. I will continue with this in the next session.