Hello All,
I have an answer formula "(((([y]/100)+1)**18-1)*[x] *1000)/([y]/100)" in a calculated question of WebCT CE6. I need to convert this question on the Moodle version. Please note that x and y are variables on this question.
Please help me.
Hi Pierre,
Many thanks for your reply. This will help. But i am still struggling to get the same answers which are appearing on the WebCT. Could you please provide me a answer formula for this one?
Regards,
Ranjith.
The Mendes family bought a new house {years} years ago for ${purchase},000. The house is now worth ${current},000. Assuming a steady rate of growth, what was the yearly rate of appreciation? Round your answer to the nearest tenth of a percent (1.2% etc)
They want the student to solve it by using the following formula: 1 minus {current} divided by {purchase} to the power of 1/{years}.
When I try to write the answer formula as: 1-{current}/{purchase}pow(1/{years}), I receive the error "the function 1pow is not supported". I have tried many other incarnations but this was the most promising error message of all. I usually receive a syntax error which leads me to believe that for those I just had it totally wrong.
Any ideas on how to render this formula? Any kind words are appreciated.
Pierre,
Thank you so much for your help! These are quite tricky, and I really appreciate you getting me past the dreaded error screen.
Just a comment...
You should take a look at the "Formulas Question Type" for Moodle.
https://moodle.org/plugins/view/qtype_formulas
I like it better than the "Calculated Question Type."
It does require an administrator to install it and it does take some effort to learn how to use it, but I think its easier than Calculated.
---Peter H.
Peter,
Thank you for the suggestion. I'll definitely give it a look and see if our administrator will buy in. Thanks!!