# Revision history [back]

### how to run maxima code in Sage?

I have the following code in maxima to calculate the laplacian of a function in parabolic coordinates.

assume(r≥0)$assume(theta≥0,theta≤2*π)$

load(vect)$derivabbrev:true$

scalefactors(parabolic)$declare(f,scalar)$

depends(f,rest(parabolic))$ev(express(laplacian(f)),diff,expand,factor); What is the proper way to run those Maxima commands in SageMath? Thanks, Daniel  2 None calc314 4101 ●20 ●47 ●109 ### how to run maxima code in Sage? I have the following code in maxima to calculate the laplacian of a function in parabolic coordinates. assume(r≥0)$

assume(r≥0)$assume(theta≥0,theta≤2*π)$
assume(theta≥0,theta≤2*π)$load(vect)$
derivabbrev:true$load(vect)$scalefactors(parabolic)$declare(f,scalar)$
derivabbrev:true$depends(f,rest(parabolic))$
scalefactors(parabolic)$declare(f,scalar)$ depends(f,rest(parabolic))\$ ev(express(laplacian(f)),diff,expand,factor);ev(express(laplacian(f)),diff,expand,factor);


What is the proper way to run those Maxima commands in SageMath?

Thanks,

Daniel