---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Input In [63], in <cell line: 1>()
----> 1 s2=dsolve(M, ics={x.subs(t,0): 0.1, x.diff(t).subs(t,0):0})
2 display(s2)
File D:\Programs\Python\Anaconda\lib\site-packages\sympy\solvers\ode\ode.py:605, in dsolve(eq, func, hint, simplify, ics, xi, eta, x0, n, **kwargs)
602 given_hint = hint # hint given by the user
604 # See the docstring of _desolve for more details.
--> 605 hints = _desolve(eq, func=func,
606 hint=hint, simplify=True, xi=xi, eta=eta, type='ode', ics=ics,
607 x0=x0, n=n, **kwargs)
608 eq = hints.pop('eq', eq)
609 all_ = hints.pop('all', False)
File D:\Programs\Python\Anaconda\lib\site-packages\sympy\solvers\deutils.py:209, in _desolve(eq, func, hint, ics, simplify, prep, **kwargs)
205 # Magic that should only be used internally. Prevents classify_ode from
206 # being called more than it needs to be by passing its results through
207 # recursive calls.
208 if kwargs.get('classify', True):
--> 209 hints = classifier(eq, func, dict=True, ics=ics, xi=xi, eta=eta,
210 n=terms, x0=x0, hint=hint, prep=prep)
212 else:
213 # Here is what all this means:
214 #
(...)
223 # hint.
224 # order: The order of the DE, as determined by ode_order().
225 hints = kwargs.get('hint',
226 {'default': hint,
227 hint: kwargs['match'],
228 'order': kwargs['order']})
File D:\Programs\Python\Anaconda\lib\site-packages\sympy\solvers\ode\ode.py:1016, in classify_ode(eq, func, dict, ics, prep, xi, eta, n, **kwargs)
1013 raise ValueError("Invalid boundary conditions for Function")
1015 else:
-> 1016 raise ValueError("Enter boundary conditions of the form ics={f(point): value, f(x).diff(x, order).subs(x, point): value}")
1018 ode = SingleODEProblem(eq_orig, func, x, prep=prep, xi=xi, eta=eta)
1019 user_hint = kwargs.get('hint', 'default')
ValueError: Enter boundary conditions of the form ics={f(point): value, f(x).diff(x, order).subs(x, point): value}