Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

Following is my code:

import sympy
ex:= \partial_{x x}{f} = \sin(x);
sol=dsolve(ex, $f$);

What's wrong? I have installed python3-sympy.

asked in General questions by (1k points)
edited by

1 Answer

0 votes

You need to

from cdb.sympy.solvers import *

before this works. Requires a fairly recent pull from git, this functionality is not yet in any of the binary distributions. You do not need import sympy, that's already done for you by Cadabra.

answered by (62.3k points)