I have version 2.4. I want to write the following gas law problem as a calculated question: "A gas occupies 2 liters at a pressure of 300 mm Hg. What will its volume be if the pressure is decreased to 150 mm Hg". I want the numbers in this problem to be randomly genreated. The formula to solve this problem is: V2 = (P1) x (V1) / P2. Not sure how to put in the randomly generated values in the actual text of the problem. Can anyone help me out or direct me to some resources?
Hello James
Please refer this doc for creating this question http://docs.moodle.org/22/en/Simple_calculated_question_type
Check the screenshot, i have created it:
Then need to craete wild cards and generate it. You can follow the doc above for other settings.
Thank you very much!