# Question:Error, invalid input: eval received params, which is not valid for its 2nd argument, eqns

## Question:Error, invalid input: eval received params, which is not valid for its 2nd argument, eqns

Maple 16

I write this system but I have 2 error

restart; params := [z = 0,

Omega = 2.2758,

tau = 13.8, T2 = 200,

omega0 = 1,

r = .7071,

s = 2.2758,

omega = .5]

sys1 := {diff(q(t), t) = -2*Omega*v(t)-s*exp(-r^2/omega0^2-t^2*1.177^2/tau^2)*cos(k*z-omega*t)*(y(t)-x(t))-q(t)/T2,

diff(v(t), t) = Omega*q(t)-v(t)/T2,

diff(x(t), t) = 2*s*exp(-r^2/omega0^2-t^2*1.177^2/tau^2)*cos(k*z-omega*t)*q(t)+y(t)/T1,

diff(y(t), t) = -2*s*exp(-r^2/omega0^2-t^2*1.177^2/tau^2)*cos(k*z-omega*t)*q(t)-y(t)/T1};

ICs1 := {q(-20) = 0, v(-20) = 0, x(-20) = 1, y(-20) = 0}

ans1 := dsolve(`union`(eval(sys1, params), ICs1), numeric, output = listprocedure); plots:-odeplot(ans1, [[t, x(t)], [t, y(t)], [t, q(t)], [t, v(t)]], t = -20 .. 20, legend = [x, y, q, v])

Error, invalid input: eval received params, which is not valid for its 2nd argument, eqns
Error, (in plots/odeplot) input is not a valid dsolve/numeric solution

﻿