It should work, yes. plot() will evaluate the integral numerically.
Aaron Meurer
On Wed, May 3, 2017 at 4:58 PM, Carlos Bouthelier Madre <
carlosbouthel...@gmail.com> wrote:
> All right! Thanks again.
>
> If later I would like to plot that integral(f(xi,Beta)*dxi) with Beta in
> the X axis, woul
All right! Thanks again.
If later I would like to plot that integral(f(xi,Beta)*dxi) with Beta in
the X axis, would it work?
El miércoles, 3 de mayo de 2017, 0:17:41 (UTC+2), Aaron Meurer escribió:
>
> If you use Integral() instead of integrate() it will keep the integral
> unevaluated. Otherw
All right! Thanks again.
If later I would like to plot that integral(f(xi,Beta)*dxi) with Beta in
the X axis, would it work?
El miércoles, 3 de mayo de 2017, 0:17:41 (UTC+2), Aaron Meurer escribió:
>
> If you use Integral() instead of integrate() it will keep the integral
> unevaluated. Otherw
If you use Integral() instead of integrate() it will keep the integral
unevaluated. Otherwise, it will try to compute it, and if it cannot compute
a closed-form expression, it will return an Integral object.
Aaron Meurer
On Tue, May 2, 2017 at 6:16 PM, Carlos Bouthelier Madre <
carlosbouthel...@g
Thanks for your message, Aaron!
I restarted my computer and it worked, not having changed a thing, so
problem solved!
I have another problem though, I have a function f(x) which I know has no
primitive, but I want to define its integral from 0 to 2*pi, would python
know what integrate(f(x)
Matrices can have expressions as elements. What does the code do when you
run it? It doesn't run for me because kron is not defined.
Aaron Meurer
On Sat, Apr 29, 2017 at 7:52 AM, Carlos Bouthelier Madre <
carlosbouthel...@gmail.com> wrote:
> Hi, I have just started using sympy and I don't really
Hi, I have just started using sympy and I don't really know how to make
this work. I've got functions that should return a matrix (I don't know if
that is possible) whose elements are expressions of symbolic variables.
This is my code, I've made a logical analysis of it (in pseudo-code) and it