GithubHelp home page GithubHelp logo

Duffing Spring Simulation about sympy HOT 5 OPEN

eh111eh avatar eh111eh commented on July 22, 2024
Duffing Spring Simulation

from sympy.

Comments (5)

moorepants avatar moorepants commented on July 22, 2024

This looks nice. My suggestion is that we add the example in the documentation. We can use numpy, scipy, and matplotlib in the docs. If we create an explanatory page about actuators in the prose documentation, then you can place it there. Whether you put it "tutorials", "how-to guides", or "explanations" depends on how you present the material. I don't really understand the difference in the three, but maybe you can make a judgement. Eventually we need to move all of the prose documentation in the physics.vector and physics.mechanics sections into one of these top level sections, so you can be the first to establish where these things go. I'm guessing this is a little long of an example to belong in the docstring. @tjstienstra thoughts?

from sympy.

tjstienstra avatar tjstienstra commented on July 22, 2024

This is indeed a really nice example, where you show that we can reproduce the results with a simulation. I agree that it would be best not to put it in the docstring, but in another location. Previously, I would have put examples in physics/mechanics/examples, but I think that "tutorials" is probably the place we should start moving our examples to.

from sympy.

eh111eh avatar eh111eh commented on July 22, 2024

Thanks for the feedback! How about creating two directories: sympy.doc.src.tutorials.mechanics to add the Duffing spring simulation and move other examples for physics.mechanics, and sympy.doc.src.tutorials.vector to move examples for physics.vector?

from sympy.

moorepants avatar moorepants commented on July 22, 2024

In the tutorials directory: https://github.com/sympy/sympy/tree/master/doc/src/tutorials we should probably follow the directory structure of the sympy subpackages. For example there is a sympy/vector and sympy/physics/vector, so for long term organization, we should have docs/src/tutorials/physics/mechanics (I see that we didn't follow this with biomechanics but we can correct that, especially since sympy 1.13 is not yet released.

from sympy.

moorepants avatar moorepants commented on July 22, 2024

If you go about moving any examples from the old location, then you will need to set up link redirects. We have a sphinx plugin that reasonably automates that.

from sympy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.