Question: Laplace transform of a differential equation marked wrong in response area

Hello, I am new to MAPLE TA so I hope my question makes sense:

I am asking the students to compute the Laplace transform of a differential Equation and wirte the answer which is an equation in the respose area. I use the following algorithm to generate the answer:

$LaplaceY=maple("
with(inttrans):
ode:=diff(y(t), t) -3*y(t) = 2*exp(t);
y(0):=2;
ans:=laplace(ode, t, s);
alias( Y(s)= laplace( y(t), t, s ) );

[convert(ans,string)];
");

$ans=switch(0,$LaplaceY);
 

Here is the output of the algorthim: ans   s*Y(s)-2-3*Y(s) = 2/(s-1)

The students are supposed to enter s*Y(s)-2-3*Y(s) = 2/(s-1) in the response area using symbolic entry. I tried both Maple graded Maple syntax and Mathematical formula for the response area. It always marks the answer wrong when previewed.

I can't figure out the issue here.

Thanks

Please Wait...