Newbie problem using Solver Block
I am using MathCAD Prime 5.0.0.0 and I am trying to use a Solver Block for the first time in Prime (I recall using it successfully in the pre-Prime MC).
I am wanting to solve a single ODE. So I decided to run through the Task 3-3:Solving ODEs with Solve Blocks tutorial on the support site to figure out the correct syntax etc.
I defined the 3 variables: m, c, and k as shown in the tutorial.
I defined the function u(t) as shown in the tutorial.
I then created a solve block by clicking on the Solve Block button under the Math menu tab.
That put the Solve Block with the Guess Values, Constraints, and Solver regions in my MathCAD worksheet.
My understanding from the tutorial is that I did not need to enter anything in the Guess Values regions but that I would need to enter the formula for the derivatives of x(t) in the Constraints region along with the two initial value expressions. And that I would then need to enter the x := odesolve(x(t), 20) in the Solver region.
But as I was typing the derivatives formula m*x''(t) + c*x'(t) +k*x(t)=u(t), the MathCAD syntax checker highlights the first x in the formula with the message "This variable is undefined. Check that the label is set correctly."
But the tutorial does not show x being defined or set anywhere. I am probably being dense but I am hoping someone will explain what I am doing wrong. ๐

