Posts made by Visvanath Ratnaweera

Picture of Particularly helpful Moodlers Picture of Translators
Ooh, many thanks, xml file included.

I was wondering how Formulas handle variable "symbols", the numerical approach is bold!

Two answers on either side of an equal sign is perfectly OK. The students are taught to have the "unknown" on the left hand side, no problem of changing sides.
wink

I am studying you solution. It didn't work as it is. Here is a sample:

Attachment form.png
Picture of Particularly helpful Moodlers Picture of Translators
I'm dipping my toes in to Formulas question type. Here is a minimal example of what I want to do:

Question: "An unknown value x multiplied by 5 and 8 added to the result gives 27." Write that statement as an algebraic equation.

Expected answer: 5*x + 8 = 27

The three numbers are variables, randomly selected from their domains. Before going there I started with static numbers.

What I did:
Variables > Random variables:
a = {2:6:1};
b = {5:15:1};
c = {25:40:1};

Main question:
"When {b} is added to {a} times \( x \) gives {c}." Write an algebraic equation for that:

Part I >
Answer type: Algebraic formula
Answer: "({a}*x+{b}={c})"

and many more combinations. Whatever I type, I get "Try evaluation error" in red for the answer.

Is this, a complete equation, is possible? If not as a workaround I could put the two sides in two answer fields and provide the equal sign in the question body. But those tries were not successful either.

Any hints?

Average of ratings: -