Re: [sympy] Results of the SymPy Documentation Theme Survey

2022-03-24 Thread Nicolas Guarin
I agree that the demo site is looking great. Although, I think that sharing a theme with other projects might be something desirable. On Tuesday, March 22, 2022 at 3:46:02 PM UTC-5 moore...@gmail.com wrote: > Aaron, > > I browsed around the demo site. It is looking quite nice! Great job. > >

[sympy] Solution of nonlinear ODE

2021-09-10 Thread Nicolas Guarin
I have the following ODE z'' = 1 - z² That has as solutions z=tanh(C + t) and z=coth(C + t), depending on the initial condition being greater or less than 1. When I use dsolve I get the latter from sympy import * init_session() ode = Eq(f(t).diff(t), 1 - f(t)**2) sol = dsolve(ode, f(t))

[sympy] Re: Q: Lambdify a class of the form def eval(x, y, z, *args)

2021-09-07 Thread Nicolas Guarin
Do you have a Minimal Working Example (MWE)? On Monday, September 6, 2021 at 7:30:23 PM UTC-5 Audrius-St wrote: > Hello, > > Is it possible to lambdify the following: > > # test code > mu, m_t, g = sp.symbols('mu, m_t, g') > > class h_Kepler_two_body_polar(sp.Function): > nargs = (1, 2, 3,

[sympy] Re: Sympy Integrate is not showing the right answer

2021-08-09 Thread Nicolas Guarin
I can confirm a bug here. When I run theta = symbols("theta") integrate(cos(3*theta)/(5 - 4*cos(theta)), (theta,0,2*pi)) it returns 67*pi/24 instead of pi/12. It does work for me, though. On Friday, August 6, 2021 at 2:43:30 PM UTC-5 chanisha@gmail.com wrote: >

[sympy] Re: Tensor Calculus

2021-08-05 Thread Nicolas Guarin
I developed a package for continuum mechanics (https://continuum-mechanics.readthedocs.io/en/latest/) on top of SymPy. It uses a different approach, though, since I write the expressions in coordinates explicitly. I tried to write on top of the Mechanics module, but didn't understand the use

Re: [sympy] SymPy in 10 minutes

2021-05-09 Thread Nicolas Guarin
ncluded, without having to worry about them increasing the > >> size of the main repo. > >> > >> Aaron Meurer > >> > >> On Thu, Apr 15, 2021 at 11:27 AM Nicolas Guarin > wrote: > >> > > >> > So, the main idea is to keep it in

Re: [sympy] Plotting module

2021-05-04 Thread Nicolas Guarin
This is great and the quality of the 3D plots is incredible. Regarding the backends, did you try PyVista? That one is also based on VTK and it works nicely in MyBinder. Nicolás On Tuesday, May 4, 2021 at 12:00:25 PM UTC-5 sandona...@gmail.com wrote: > Thank you for sharing. Do you think this

Re: [sympy] SymPy in 10 minutes

2021-04-15 Thread Nicolas Guarin
/github.com/sympy/sympy-notebooks, which has >> never >> >>> > really been used, but it would be nice to set it up as an example >> repo >> >>> > with notebooks, a binder link, and so on. Having it in a separate >> repo >> >>&g

Re: [sympy] SymPy in 10 minutes

2021-04-06 Thread Nicolas Guarin
wrote: > > > > > > Hi Nicolás, > > > > > > This looks nice. Maybe it should go in the example notebooks: > > > https://github.com/sympy/sympy/tree/master/examples/notebooks > > > > > > I don't know if those are hosted on the websi

Re: [sympy] Re: SEPs for SymPy (SymPy Enhancement Proposals)

2020-10-12 Thread Nicolas Guarin
with/continue this work in the future to find the motivations and other > details about the decision choices and future plans. > > >>> > > >>> Looking at PEP-1 and seeing a large portion of the discussion in the > thread is regarding what kind of

[sympy] Re: I built this using SymPy : )

2020-09-07 Thread Nicolas Guarin
That looks really cool. On Sunday, September 6, 2020 at 7:16:21 AM UTC-5 Moses Paul wrote: > https://mathpix.com/blog/new-solver-tab > wolfram-alpha-esque thing but limited to math. > > would love to know what you guys think > > Cheers, > Moses > -- You received this message because you are

[sympy] Re: SEPs for SymPy (SymPy Enhancement Proposals)

2020-08-05 Thread Nicolas Guarin
I agree that this would be good for the project but maybe it would be a good idea to polish the documentation a bit. Some of the pages in the wiki are somewhat outdated and they are on the first results in a web search. On Saturday, August 1, 2020 at 6:22:49 PM UTC-5 Oscar wrote: > Hi all, > >

[sympy] Re: Uses of SymPy in biology

2020-07-18 Thread Nicolas Guarin
Hi Aaron, I think that we could ask in Twitter, maybe somebody know some application. Looking in the papers that we have collected I found the following: Constantinescu, Dario, Gilles Vercambre, and Michel Génard. “Model-Assisted Analysis of the Peach Pedicel–Fruit System Suggests Regulation

[sympy] Re: nonlinsolve function taking too much time in google colab

2020-07-08 Thread Nicolas Guarin
What is the system of equations? On Wednesday, July 8, 2020 at 5:22:47 AM UTC-5, drashti dave wrote: > > I am solving system of 4 nonlinear equations with 4 unknowns > I am running python code in google colab > There is no syntax error and run time error but there is no output even > after one

[sympy] Re: How to compute the gradient and Hessian of a vector field symbolically with sympy.

2020-07-04 Thread Nicolas Guarin
You could also use a package that I wrote for that purpose https://continuum-mechanics.readthedocs.io/en/latest/ If you are interested in Cartesian coordinates only you could just do the following u = Matrix([x, 2*y*z, 3*x*y]) J = u.jacobian([x, y, z]) H = Array([J[:, k].jacobian([x, y, z])

Re: [sympy] SymPy in 10 minutes

2020-06-30 Thread Nicolas Guarin
I should have mentioned that the course where I use this tutorial is Advanced Mathematics for Engineers. You mention two important points that could be added if the tutorial is useful for the community. Best, Nicolás On Tuesday, June 30, 2020 at 6:11:26 PM UTC-5, Jonathan Gutow wrote: > > I

[sympy] SymPy in 10 minutes

2020-06-30 Thread Nicolas Guarin
I adapted Maxima's tutorial "Maxima in 10 minutes" to SymPy for one of my courses. I would like to know if you consider useful to share it somewhere. This is an nbviewer link: https://nbviewer.jupyter.org/github/nicoguaro/AdvancedMath/blob/master/notebooks/sympy/sympy_in_10_minutes.ipynb Best,

Re: [sympy] Best way to import Sympy

2020-06-30 Thread Nicolas Guarin
I would recommend use the star import for interactive CAS work, otherwise I would second Aaron in using import sympy as sym On Monday, June 29, 2020 at 3:43:14 PM UTC-5, David Bailey wrote: > > On 29/06/2020 17:16, Oscar Benjamin wrote: > > > In any significant codebase star-import is a

Re: [sympy] Re: Can a GSOD slot be used to improve the website?

2020-05-28 Thread Nicolas Guarin
I think that using a static generator would have advantages from the translation point-of-view as well. On Wednesday, May 27, 2020 at 3:27:28 PM UTC-5, Aaron Meurer wrote: > > I think we can modify the backend, but we should be prepared as > mentors to do the programming work. Conversely, I

Re: [sympy] NLP parser for sympy

2020-05-14 Thread Nicolas Guarin
If you have a list of terms from similar projects, maybe we can crowdsource the "glossary". If not, it can still be useful to have a document/site where this terms can be added from some community members. Although, I think that some kind of instructions are needed. On Thursday, May 14, 2020

[sympy] Issue with dsolve and Bessel equation

2020-05-14 Thread Nicolas Guarin
I just created a new issue (#19317) related to dsolve and Bessel equations. The link is the following: https://github.com/sympy/sympy/issues/19317 I didn't know if is customary to write in the mailing list about as well. If that's not the case, please let me know. Best, Nicolás -- You

[sympy] Re: Gradient of a vector

2020-04-25 Thread Nicolas Guarin
You could check a module that I wrote in Continuum Mechanics https://continuum-mechanics.readthedocs.io/en/latest/ It already has the gradient of a vector for orthogonal coordinates. On Friday, April 24, 2020 at 1:44:15 PM UTC-5, Alexander Lindsay wrote: > > I've been using the capabilities in

[sympy] Re: Bug with solve function

2020-04-21 Thread Nicolas Guarin
That's weird. What OS are you using? And what version of Python/Sympy? > > On Tuesday, April 21, 2020 at 6:03:25 AM UTC-7, Nicolas Guarin wrote: >> >> >> I was not able to reproduce your error. This is what I get instead >> >> print(sol) >> [CRootOf(x**5 - 6*x*

[sympy] Bug with solve function

2020-04-21 Thread Nicolas Guarin
I was not able to reproduce your error. This is what I get instead print(sol) [CRootOf(x**5 - 6*x**3 - 6*x**2 - 6, 0), CRootOf(x**5 - 6*x**3 - 6*x**2 - 6, 1), CRootOf(x**5 - 6*x**3 - 6*x**2 - 6, 2), CRootOf(x**5 - 6*x**3 - 6*x**2 - 6, 3), CRootOf(x**5 - 6*x**3 - 6*x**2 - 6, 4)] -- You

Re: [sympy] Re: [Discussion] GSoC 2020: Improving and extending ODE

2020-03-24 Thread Nicolas Guarin
at 10:15:27 AM UTC-5, Oscar wrote: > > On Sun, 15 Mar 2020 at 14:45, Nicolas Guarin > wrote: > > > > I have been working in a function that turn a higher-order system of > ODEs into a system of first order equations. So you think that it might > help? > &

Re: [sympy] Re: [Discussion] GSoC 2020: Improving and extending ODE

2020-03-15 Thread Nicolas Guarin
I have been working in a function that turn a higher-order system of ODEs into a system of first order equations. So you think that it might help? -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving

[sympy] Introduction to SymPy community

2020-01-28 Thread Nicolas Guarin
Hello, I am Nicolás Guarín-Zapata, PhD candidate at Purdue University. I am comfortable using Python (and SymPy), and have developed some packages using them. I have contributed to SymPy in the past doing things like: testing ODE solvers, documentation, website translation to Spanish (and