My question should have a straight forward answer but after considerable searching I am unable to find one that is satisfactory. I am new to Maple.
I am writing an exam question, and I would like to change the parameter values to create different versions of the same question. I begin by defining the parameters and defining the supply schedule:
n:= 10: alpha:= -60: beta:= 20:
Qs:= alpha + beta*P;
The question with text and inserted math appears as follows (after each math expression I use CTRL = to generate an inline expression):
There are n = 10 identical firms. Supply is given by Qs = 20 P - 60. When P := 4 = 4 then quantity supplied is equal to Qs = 20. Calculate the ...
What I want instead is the following:
There are 10 identical firms. Supply is given by Qs = 20 P - 60. When P = 4 then quantity supplied is equal to 20. Calculate the ...
I want the values highlighted in blue to update if I change the values for n, alpha and beta, and then click the !!! button in the Maple menu. I am okay with moving the "P = 4" out of the question and defining it as a parameter along with n, alpha and beta. However, when I do this Qs evaluates as a value rather than the Qs = 20P - 60 expression.
Thank you very much.