Re: [sympy] In memory of Kalevi Suominen

2024-03-11 Thread Peter Stahlecker
A very graceful eulogy. Best regards, Peter Stahlecker On Mon 11. Mar 2024 at 20:03, Aaron Meurer wrote: > The passing of Kalevi Suominen truly a loss for the SymPy community. > > I had the honor of meeting Kalevi face to face once on a video call > many years ago, but other tha

[sympy] Re: Math solver that using Sympy & Gamma on Mobile

2024-02-11 Thread Peter Stahlecker
This looks VERY interesting! Is it also available for iPhone / iPad? Thanks! cing...@gmail.com schrieb am Montag, 12. Februar 2024 um 00:29:26 UTC+1: > Hey, Sympy group, > Math solver that using Sympy now updated and added step-by-step solution > via Sympy Gamma. > >

Re: [sympy] Blog post about the the future of SymPy

2023-08-19 Thread Peter Stahlecker
this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy

Re: [sympy] We should rename 'master' to 'main'

2023-07-17 Thread Peter Stahlecker
; > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sympy/8037a96f-4d4c-48ca-9139-56bec7f5217en%40googlegroups.com >>> . >>> >>> -- >>> You received this message because you are subscribed to the Google >>&g

Re: [sympy] We should rename 'master' to 'main'

2023-07-17 Thread Peter Stahlecker
egroups.com > . > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on th

Re: [sympy] Simplify expressions involving complex numbers

2023-05-23 Thread Peter Stahlecker
ng emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAHVvXxSjECmJoTVL6SJ27uzYrXHOWUiqKaMTK0gW6LfJXJrsfQ%40mail.gmail.com > . > -- Best regards, Peter Stahlecker -- You received th

Re: [sympy] SymPy 1.12 released

2023-05-11 Thread Peter Stahlecker
t; > > On Thu, May 11, 2023 at 11:58 AM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> Thanks! I installed, all works fine. >> An impressive list of contributors!! >> A shame, I am likely too old (and probably not smart enough)to be one, >>

Re: [sympy] SymPy 1.12 released

2023-05-11 Thread Peter Stahlecker
249cd14c5bc2ad20ce8d5fd4884bc51062bc0eddb79537e0996b05befe1097 > sympy-docs-html-1.12.zip > 34455a55aece7dc38a090728b500e5f6bdebe588be93ed6fbc3262694d681ed6 > sympy-docs-pdf-1.12.pdf > > -- > Oscar > > -- > You received this message because you are subscribed to the Google

Re: [sympy] Intro and Potential GSOC Project Ideas

2023-03-29 Thread Peter Stahlecker
(x) > > res will then be just x. > > That's not the syntax though, I don't know it off the top of my head. > > moorepants.info > +01 530-601-9791 > > > On Wed, Mar 29, 2023 at 11:10 AM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> Dear Jaso

Re: [sympy] Intro and Potential GSOC Project Ideas

2023-03-29 Thread Peter Stahlecker
t; moorepants.info > +01 530-601-9791 > > > On Wed, Mar 29, 2023 at 10:03 AM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> Dear Tilo, >> >> I am just a (semi retired) recreational user of sympy, mostly >> sympy.physics.mechanics. I have no ambit

Re: [sympy] Intro and Potential GSOC Project Ideas

2023-03-29 Thread Peter Stahlecker
t;> > >>> > I would appreciate your opinion on which of these ideas to explore >>> further, and whether there are any better-suited to my background. >>> > >>> > -- >>> > You received this message because you are subscribed to the Goog

Re: [sympy] Feedback requested on new deprecations policy

2023-01-15 Thread Peter Stahlecker
Thank you VERY much for this clear and detailed explanation! This really helped me to understand the issue of deprecation. Peter Am So., 15. Jan. 2023 um 23:09 Uhr schrieb Oscar Benjamin < oscar.j.benja...@gmail.com>: > On Sun, 15 Jan 2023 at 16:12, Peter Stahlecker > wrote:

Re: [sympy] Feedback requested on new deprecations policy

2023-01-15 Thread Peter Stahlecker
unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAHVvXxRysLdxK%2BToPTP5%2Bn%2BesMTm50Qbd0Ufp-SUQSeRNC6QJw%40mail.gmail.com > . > --

Re: [sympy] If a^2+b^2+c^2=1, how do you find all real-valued triplets that make the equation true?

2022-12-30 Thread Peter Stahlecker
it. > > > > Thanks for the tip. Here are the docs for solveset: Solveset - SymPy 1.11 > documentation > <https://docs.sympy.org/latest/modules/solvers/solveset.html>. Sadly, I > think it can only solve for one variable. > > > >- Carl > > > > *Fro

Re: [sympy] If a^2+b^2+c^2=1, how do you find all real-valued triplets that make the equation true?

2022-12-30 Thread Peter Stahlecker
bscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CH0P223MB02196A6B41CDBF75CBECF6EAB2F19%40CH0P223MB0219.NAMP223.PROD.OUTLOOK.COM > . > -- Best regards, Peter Stahlecker -- You received this message because you are su

Re: [sympy] Python Versions We Support

2022-12-14 Thread Peter Stahlecker
om this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAHVvXxQ%2Bcd1Bqk%3Dn2fap021nv6wNNCmA%2B%2BDq83CtYRc%2BbVQ3oA%40mail.gmail.com > . > -- Best

Re: [sympy] Solve Equations guide completed for Season of Docs project

2022-11-22 Thread Peter Stahlecker
web visit > https://groups.google.com/d/msgid/sympy/CAO00iLh0Y4ChfJQQ4ADin%2Bnx1ZcwnSoYfPNhhHOj_KaKQmxe_Q%40mail.gmail.com > <https://groups.google.com/d/msgid/sympy/CAO00iLh0Y4ChfJQQ4ADin%2Bnx1ZcwnSoYfPNhhHOj_KaKQmxe_Q%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Best regards, Pete

Re: [sympy] Dimensional Analysis

2022-11-17 Thread Peter Stahlecker
2022 at 4:04:20 AM UTC-6 Oscar wrote: >> >>> The ordinary Python round function can do this: >>> https://docs.python.org/3/library/functions.html#round >>> >>> >>> On Thu, 17 Nov 2022 at 09:46, Peter Stahlecker >>> wrote: >>>

Re: [sympy] Dimensional Analysis

2022-11-17 Thread Peter Stahlecker
you might want to check floating point numbers in the sympy documentation. Am Do., 17. Nov. 2022 um 10:18 Uhr schrieb 'XR-7 RKE' via sympy < sympy@googlegroups.com>: > Hey guys, > > Does sympy support round a number to significant figures? > > [image: SCR-20221117-m64.png] > > -- > You received

Re: [sympy] SymPy running on Mobile phone app

2022-11-01 Thread Peter Stahlecker
ps.com?utm_medium=email_source=footer> >>>>> . >>>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "sympy" group. >>> To unsubscribe from this group and stop receiving email

Re: [sympy] SymPy running on Mobile phone app

2022-10-31 Thread Peter Stahlecker
message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/

Re: [sympy] aesara_function and dot products

2022-10-21 Thread Peter Stahlecker
8-9d68-38339ff36922n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Best regards, Peter Stahlecker -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [sympy] SymPy 1.11.1 released

2022-09-24 Thread Peter Stahlecker
group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAHVvXxRTqpf%2Bsv5XQ77ykdsTFUQiLgJkc%2BfCFkvX3%3DFAWv6CKQ%40mail.gmail.com > . > -- Best regards, Pet

Re: [sympy] Cannot solve simultaneous trig equation

2022-09-24 Thread Peter Stahlecker
cribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAHVvXxRqaf2xOiL%2BuM6zDMLpk8UYgwX44ay%2BGb%2Bbi-8KwqiPUA%40mail.gmail.com > . > -- Best regards

Re: [sympy] Cannot solve simultaneous trig equation

2022-09-24 Thread Peter Stahlecker
p receiving emails from it, send > an email to sympy+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/9fbad812-2f33-43d5-a33c-b109a97a3d27n%40googlegroups.com > . > > -- > You received this message because you are subsc

Re: [sympy] get sqrt to work

2022-08-25 Thread Peter Stahlecker
termx_w_solvent2 >>>>> >>>>> Zohreh Karimzadeh >>>>> *https://www.researchgate.net/profile/Zohreh-Karimzadeh* >>>>> <https://www.researchgate.net/profile/Zohreh-Karimzadeh> >>>>> Skype Name 49a52224a8b6b38b >>>

Re: [sympy] SymPy 1.11 released

2022-08-24 Thread Peter Stahlecker
.13 sec with cse=True, 65 times faster! Thanks! Peter On Wed 24. Aug 2022 at 14:48 Peter Stahlecker wrote: > Dear Oscar, > > my expressions into lambdify are of sm.Matrix type. > With cse=False, the output of lambdify is a numpy.ndarray of the same > shape as the sm.Matri

Re: [sympy] SymPy 1.11 released

2022-08-24 Thread Peter Stahlecker
the lists into ndarrays of the correct shape, the code should run with cse=True, too? Thanks, Peter On Wed 24. Aug 2022 at 14:26 Oscar Benjamin wrote: > On Wed, 24 Aug 2022 at 08:55, Peter Stahlecker > wrote: > > > > I have upgraded to sympy 1.11 > > I wanted to try the cse k

Re: [sympy] SymPy 1.11 released

2022-08-24 Thread Peter Stahlecker
s-pdf-1.11.pdf > > -- > Oscar > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To

Re: [sympy] get sqrt to work

2022-08-22 Thread Peter Stahlecker
102116325 > Value Water))) > > > On Mon, Aug 22, 2022 at 7:42 PM Oscar Benjamin > wrote: > >> On Mon, 22 Aug 2022 at 15:36, Peter Stahlecker >> wrote: >> > >> > Dear Oscar, >> > >> > Thanks for your hint

Re: [sympy] get sqrt to work

2022-08-22 Thread Peter Stahlecker
m this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/0d41fe02-9bba-41e8-83d0-5971f646475dn%40googlegroups.com > <https://groups.google.com/d/msgi

Re: [sympy] get sqrt to work

2022-08-20 Thread Peter Stahlecker
+989102116325 > and at > z.karimza...@gmail.com > ️ > > > On Sat, 20 Aug 2022, 11:32 Peter Stahlecker, > wrote: > >> args is a standard key word with minimize, just look it up to see how it >> works. >>

Re: [sympy] get sqrt to work

2022-08-20 Thread Peter Stahlecker
uld make independent variables acceptable as args to > minimizer,? > > > Zohreh Karimzadeh > > Contact me on >+989102116325 > and at > z.karimza...@gmail.com > ️ > > > On Sat, 20

Re: [sympy] get sqrt to work

2022-08-19 Thread Peter Stahlecker
 > > > On Sat, 20 Aug 2022, 06:15 Peter Stahlecker, > wrote: > >> Maybe a dumb question from my part: >> >> do I understand you correctly: >> >> For *given* L, K, VA you try to find the alpha, beta, gamma, eta which >> minimize >> the function

Re: [sympy] get sqrt to work

2022-08-19 Thread Peter Stahlecker
t;> File >>> "C:\Users\Zohreh\AppData\Roaming\Python\Python310\site-packages\sympy\core\cache.py", >>> line 74, in wrapper >>> retval = func(*args, **kwargs) >>> File >>> "C:\Users\Zohreh\AppData\Roaming\Python\Python310\site-packages\

Re: [sympy] get sqrt to work

2022-08-18 Thread Peter Stahlecker
/Zohreh-Karimzadeh* > <https://www.researchgate.net/profile/Zohreh-Karimzadeh> > Skype Name 49a52224a8b6b38b > Twitter Account @zohrehkarimzad1 > z.karimza...@gmail.com > +989102116325 > Value Water))) > > > On Thu, Aug 18, 2022 at 4:49 PM Pet

Re: [sympy] get sqrt to work

2022-08-18 Thread Peter Stahlecker
hreh-Karimzadeh> > Skype Name 49a52224a8b6b38b > Twitter Account @zohrehkarimzad1 > z.karimza...@gmail.com > +989102116325 > Value Water))) > > > On Thu, Aug 18, 2022 at 4:35 PM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: &

Re: [sympy] get sqrt to work

2022-08-18 Thread Peter Stahlecker
> z.karimza...@gmail.com > +989102116325 > Value Water))) > > > On Thu, Aug 18, 2022 at 4:08 PM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> I just have no idea what >> >> np.sum((np.log(AV) + Vlam_est)**2) >&g

Re: [sympy] get sqrt to work

2022-08-18 Thread Peter Stahlecker
102116325 > Value Water))) > > > On Thu, Aug 18, 2022 at 3:28 PM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> In your first return statement, where it works, you seem to return a >> number. >> In your second re

Re: [sympy] get sqrt to work

2022-08-18 Thread Peter Stahlecker
l.py", > line 718, in eval > coeff = arg.as_coefficient(I) > AttributeError: 'ImmutableDenseNDimArray' object has no attribute > 'as_coefficient' > > > > > > > > > Zohreh Karimzadeh > https://www.researchgate.net/profile/Zohreh-Karimzadeh > Skype Name 4

Re: [sympy] get sqrt to work

2022-08-18 Thread Peter Stahlecker
Import numpy as np and the write np.sqrt, or sp.sqrt, whichever you want in the context. Then it is clear, which sqrt is meant. On Thu 18. Aug 2022 at 13:12 Peter Stahlecker wrote: > I use lambdify quite a bit, on rather large expressions. > Basically, it always works like this for me: >

Re: [sympy] get sqrt to work

2022-08-18 Thread Peter Stahlecker
log(Y) - Y_est)**2) >>> >>> >>> bnds = [(1, np.inf), (0, 1), (0, 1), (-1, np.inf)] >>> x0 = (1, 0.01, 0.98, 1) >>> con = {"type": "eq", "fun": c} >>> >>> result = minimize(f, x0, bounds=bnds) >>> >

Re: [sympy] get sqrt to work

2022-08-17 Thread Peter Stahlecker
google.com/d/msgid/sympy/1f0b313f-31c5-402e-991e-142a556016f4n%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/1f0b313f-31c5-402e-991e-142a556016f4n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Best regards, Peter Stahlecker -- You received this mes

Re: [sympy] Re: SymPy 1.11rc1 released

2022-08-17 Thread Peter Stahlecker
gt; > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web

Re: [sympy] Sympy.physics.mechancis: RigidBody // inertia

2022-06-25 Thread Peter Stahlecker
have to set max_step = 0.01 to get a constant total energy. If I do not do this, it is not constant. Peter On Sat 25. Jun 2022 at 18:15 Peter Stahlecker wrote: > Dear Jason, > > Thanks a lot! > It seems to be my program, rather than *kinetic energy*. > > The sample which d

Re: [sympy] Sympy.physics.mechancis: RigidBody // inertia

2022-06-25 Thread Peter Stahlecker
lpful so we can find and fix the bug. > > Jason > moorepants.info > +01 530-601-9791 > > > On Thu, Jun 23, 2022 at 1:44 PM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> I = me.inertia(A, iXX….) gives the inertia in the (normally) body - >> fixed frame

[sympy] Sympy.physics.mechancis: RigidBody // inertia

2022-06-23 Thread Peter Stahlecker
I = me.inertia(A, iXX….) gives the inertia in the (normally) body - fixed frame A Body = Me.RigidBody( ‚Body‘, mass center, frame, mass, ( I, P)) My question: Does RigidBody ‚assume‘, that mass center = P ? Reason behind my question: For regular homogenious bodies, iXX, IYY, etc are often

Re: [sympy] Re: SymPy documentation website down

2022-04-20 Thread Peter Stahlecker
iving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAKgW%3D6J6YJZuEe8mu4pgBtqDSxMCvCPWXpQxQRTAeQudOqTMew%40mail.gmail.com > <https://groups.google.com/d/msgid/sympy/CAKgW%3D6J6

Re: [sympy] TypeError: cannot unpack non-iterable Particle object

2022-04-04 Thread Peter Stahlecker
>> P2.set_ang_vel(P1, omega*1* * P1.z) >> >> It should probably be >> >> P2.set_ang_vel(P1, omega*2* * P1.z) >> >> With this change, it would calculate some rhs, like: >> >> rhs = kanes.rhs() >> >> Peter >> >&

Re: [sympy] TypeError: cannot unpack non-iterable Particle object

2022-04-04 Thread Peter Stahlecker
version of sympy or python which is causing the >>>> issue. If I try to perform the same method on the human standing tutorial >>>> I get the same error but for the bodies being RigidBody instead of >>>> Particle. I've run this tutorial and numerous other exampl

Re: [sympy] TypeError: cannot unpack non-iterable Particle object

2022-04-04 Thread Peter Stahlecker
ticle. I've run this tutorial and numerous other examples in the past >>> without this error occurring. >>> >>> Is there a known workaround to this issue? >>> >>> Thanks, >>> Nick >>> >>> -- >>> You received this

Re: [sympy] TypeError: cannot unpack non-iterable Particle object

2022-04-04 Thread Peter Stahlecker
4765-873f-7a0a0857b606n%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/0a4cea0a-8050-4765-873f-7a0a0857b606n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Best regards, Peter Stahlecker -- You received this message because you are subscribed to the

Re: [sympy] Re: GSOC Idea and Query

2022-04-03 Thread Peter Stahlecker
e a valid question though, but thought I should try to ask >>>> first.]* >>>> >>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "sympy" group. >>> To unsubscribe from

Re: [sympy] Re: GSOC Idea and Query

2022-04-01 Thread Peter Stahlecker
I have never used sympy statistics, hence my comments may be without any use. 1. With matplotlib there is an excellent visualisation library available. Hard for me to see, how you can beat it. 2. There is a library sdeint available, which numerically integrates Ito or Stratchonovich stochastic

Re: [sympy] Re: SymPy vector error

2022-03-30 Thread Peter Stahlecker
;> . >> >> -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this di

Re: [sympy] Re: Classical Mechanics : Forces and Torques

2022-03-25 Thread Peter Stahlecker
force that we could encode or > even a simple spring (or a complex nonlinear spring). > > Jason > moorepants.info > +01 530-601-9791 > > > On Fri, Mar 25, 2022 at 9:59 AM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> Stupid questio

Re: [sympy] Re: Classical Mechanics : Forces and Torques

2022-03-25 Thread Peter Stahlecker
ribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAP7f1Aj

Re: [sympy] Re: Getting the denominator and numerator

2022-03-21 Thread Peter Stahlecker
I managed to get it. Thanks a lot for your help!! On Mon 21. Mar 2022 at 13:07, Peter Stahlecker wrote: > Dear Liu, > > Thanks for your prompt reply! > I tried as you suggested, where speedx is the expression, whose numerator > and denominator I want to get. > I got the erro

Re: [sympy] Re: Getting the denominator and numerator

2022-03-21 Thread Peter Stahlecker
s discussion on the web visit > https://groups.google.com/d/msgid/sympy/78730755-ed5c-4490-b4d2-1aa5d72e84f0n%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/78730755-ed5c-4490-b4d2-1aa5d72e84f0n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Best re

[sympy] Getting the denominator and numerator

2022-03-20 Thread Peter Stahlecker
I get an expression in sympy which looks like f(x) / g(x) when I print it. Is there any way to get f(x) and g(x) explicitly? Thanks for any help! -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails

Re: [sympy] PDEs module

2022-03-16 Thread Peter Stahlecker
would be excellent! Thanks, Peter Am Do., 17. März 2022 um 01:54 Uhr schrieb Oscar Benjamin < oscar.j.benja...@gmail.com>: > On Wed, 16 Mar 2022 at 23:33, Peter Stahlecker > wrote: > > > > Dear Oscar, > > Hi Peter! > > > Just for my understanding: >

Re: [sympy] PDEs module

2022-03-16 Thread Peter Stahlecker
om this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAHVvXxTxzeqGcqE_a0-S3rEz-0YQzzg63ZvF6k6Cy2Tz0u2o%3DQ%40mail.gmail.com > . > -- Best regards, P

Re: [sympy] Replacing terms / sympy.physics.mechanics

2022-03-07 Thread Peter Stahlecker
I found my mistake, matter closed. Am Mo., 7. März 2022 um 13:22 Uhr schrieb Peter Stahlecker < peter.stahlec...@gmail.com>: > I tried on a 'small' example, and N_y.suns({sm.Derivative(q1, t): u1}) > worked just fine !! > No idea, what is going on. > > Am So., 6. März 2022

Re: [sympy] Replacing terms / sympy.physics.mechanics

2022-03-07 Thread Peter Stahlecker
I tried on a 'small' example, and N_y.suns({sm.Derivative(q1, t): u1}) worked just fine !! No idea, what is going on. Am So., 6. März 2022 um 15:18 Uhr schrieb Peter Stahlecker < peter.stahlec...@gmail.com>: > I am playing around with an ellipse, which rotates in 3D. > In its ow

[sympy] Replacing terms / sympy.physics.mechanics

2022-03-06 Thread Peter Stahlecker
I am playing around with an ellipse, which rotates in 3D. In its own coordinate system A, its equation of course is x**2/a**2 + y**2/b**2 + z**2/c**2 = 1 A rotates relative to N, the generalized coordinates are q1, q2, q3, dq1/dt = u1, etc. I express the rotated ellipse in N, by using

Re: [sympy] Sympy.physics.mechanics / dynamicsymbols

2022-02-14 Thread Peter Stahlecker
k/10.1007/0-306-47122-1 > On 2/14/22 12:40 PM, Peter Stahlecker wrote: > > Dear Jason, > > As to the speed of the new terms, I simply tried it, using the equations > of motion of a one body pendulum. > There is no difference to the older terms: > > with the *body* v

Re: [sympy] Sympy.physics.mechanics / dynamicsymbols

2022-02-14 Thread Peter Stahlecker
operations. The operations count was *exactly* the same with older and newer terms. Take care, Peter On Mon 14. Feb 2022 at 18:04 Peter Stahlecker wrote: > Dear Jason, > > Just read you latest addition about vectors and reference frames. > Small question: > In order to rotate a

Re: [sympy] Sympy.physics.mechanics / dynamicsymbols

2022-02-14 Thread Peter Stahlecker
eter On Sun 6. Feb 2022 at 08:19 Peter Stahlecker wrote: > Dear Jason, > > Thanks a lot for your explanation! Clear! > I checked on metaclasses, but I must admit I mostly understood, that a > simple user like me should not mess with them! :-)) > > Peter > > On Sun 6. Feb 2

Re: [sympy] Mentor and ideas regarding physics module

2022-02-06 Thread Peter Stahlecker
is/continuum mechanics idea. >> >> On Tue, Feb 1, 2022 at 4:09 PM Peter Stahlecker >> wrote: >> >>> I wonder what kind of answer you expect from sympy group. >>> If you look at the documentation, you can see what is available. >>> >>> Am

Re: [sympy] Sympy.physics.mechanics / dynamicsymbols

2022-02-05 Thread Peter Stahlecker
th in > the last line. It is just the way SymPy Function works. There are open > issues about trying to change it to something more sensible for the user to > understand. > > Jason > moorepants.info > +01 530-601-9791 > > > On Sun, Feb 6, 2022 at 7:39 AM Peter Stahlecker

[sympy] Sympy.physics.mechanics / dynamicsymbols

2022-02-05 Thread Peter Stahlecker
My question is more for my ‚general education‘ in sympy. I write this little program *from sympy.physics.mechanics import ** *import sympy as sm* *a = dynamicsymbols(‚a‘)* *b = sm.symbols(‚b‘)* *print(‚type of a:‘, type(a))* *print(‚type of b:‘, type(b))* I get this result: *type of a: a*

Re: [sympy] sympy.physcis.mechanics // reaction force

2022-02-03 Thread Peter Stahlecker
9791 > > > On Thu, Feb 3, 2022 at 10:37 AM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> Dear Jason, >> >> Thanks! >> If I understood correctly, if I use velocity constraints, I do not use >> the minimal number of generalized coordina

Re: [sympy] sympy.physcis.mechanics // reaction force

2022-02-03 Thread Peter Stahlecker
us some equations that can be solved for the > forces. > > Jason > moorepants.info > +01 530-601-9791 <(530)%20601-9791> > > > On Thu, Feb 3, 2022 at 10:03 AM Peter Stahlecker > wrote: > >> Thanks! Would I also set the 'reaction forces' appearing in the force &g

Re: [sympy] sympy.physcis.mechanics // reaction force

2022-02-03 Thread Peter Stahlecker
eds will appear in the force equations, but you then just > set them to zero because they are fictitious. You force equation should > then be correct. > > Jason > moorepants.info > +01 530-601-9791 <(530)%20601-9791> > > > On Thu, Feb 3, 2022 at 9:58 AM Peter S

[sympy] sympy.physcis.mechanics // reaction force

2022-02-03 Thread Peter Stahlecker
When I use a velocity constraint to force a particle not to move in a certain direction, there must be a 'reaction force' on the particle. I use KM.auxiliary_eqs to find reaction forces, which works very well in general! However, if I try to find the reaction force due to a velocity

Re: [sympy] Postdoctoral Researcher Opening: Advancing Biomechanical Modeling By Improving SymPy Code Generation (x/f/m)

2022-02-02 Thread Peter Stahlecker
P%3DLymdT-ebAW4dPh8u0cBXaLQ7D9Jn9Cm3-U5dQ%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Best regards, Peter Stahlecker -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving ema

[sympy] sympy physics mechanics. Forces

2022-02-01 Thread Peter Stahlecker
For what it is worth: With *KM.auxiliary_eqs* one gets the forces acting on, say, the point where some multi body system is attached to. I tried to see, if one could also get the forces needed to make a particle move in on predetermined path. In the simple example attached (where the result is

Re: [sympy] Mentor and ideas regarding physics module

2022-02-01 Thread Peter Stahlecker
I wonder what kind of answer you expect from sympy group. If you look at the documentation, you can see what is available. Am Mo., 31. Jan. 2022 um 17:38 Uhr schrieb Yashvardhan Prasad < yash1...@gmail.com>: > Hello everyone, > I am Yashvardhan Prasad, a 2nd year undergraduate student. I wish to

Re: [sympy] Sympy physics mechanics

2022-01-29 Thread Peter Stahlecker
ode as short as possible to demonstrate the > issues is also helpful. > > Here is a good example: https://github.com/sympy/sympy/discussions/22848 > > Jason > moorepants.info > +01 530-601-9791 > > > On Sat, Jan 29, 2022 at 11:07 AM Peter Stahlecker < > peter.stahle

[sympy] Sympy physics mechanics. Degenerate mass matricx

2022-01-29 Thread Peter Stahlecker
Dear Jason, Attached a Jupiter note book, in case this is better for you. Thanks for any help! Peter -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sympy] Sympy physics mechanics

2022-01-29 Thread Peter Stahlecker
epants.info > +01 530-601-9791 > > > On Sat, Jan 29, 2022 at 9:50 AM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> I try to model a simple one mass point pendulum in 3D, the mass point is >> located on the y - axis, at a distance d. Rotations arou

[sympy] Sympy physics mechanics. Singular mass matrix

2022-01-29 Thread Peter Stahlecker
Dear Jason, Attached, please find my code. Thanks for any help! Peter -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view

[sympy] Sympy physics mechanics

2022-01-29 Thread Peter Stahlecker
I try to model a simple one mass point pendulum in 3D, the mass point is located on the y - axis, at a distance d. Rotations around the y-axis do not make physical sense, hence, I use only qx, qz to describe the angles of rotation of the frame of m. If MM is the mass matrix, I get

Re: [sympy] Feedback requested on new deprecations policy

2022-01-26 Thread Peter Stahlecker
Meurer > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web vis

[sympy] Sympy physics mechanics: Speed constraints / implied forces

2022-01-22 Thread Peter Stahlecker
I was playing around with a simple 2D pedulum consisting of 4 bodies. I included one non-holonomic constraint on one of the rotational speeds. I also wanted to calculate the forces acting on the support of the pendulum, using KM.auxiliary_eqs. Now the ‚virtual speeds‘ needed to calculate the

[sympy] Re: sympy physics mechanics

2022-01-11 Thread Peter Stahlecker
Forget my question above: I DID make a stupid mistake! All works fine! Peter Stahlecker schrieb am Dienstag, 11. Januar 2022 um 16:11:04 UTC+1: > I calculated a very simple pendulum system, using one non - holonomic > constraint. All worked as per expectation. Then I tried to cal

Re: [sympy] Re: Why is matrix inversion so slow?

2022-01-11 Thread Peter Stahlecker
> various routines but it makes me wonder if you showed the right > matrix. > > -- > Oscar > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it,

[sympy] sympy physics mechanics

2022-01-11 Thread Peter Stahlecker
I calculated a very simple pendulum system, using one non - holonomic constraint. All worked as per expectation. Then I tried to calculate the reactive forces at the point of attachment, using KM.auxiliary_eqs. (KM being the Kanes object). I replaced the accelerations of the generalised

Re: [sympy] IexFinder and SymPy Gamma

2021-11-19 Thread Peter Stahlecker
Hi, I cannot see any use for me personally, but I think it is a great strength of python / sympy that such packages are available. Am Do., 18. Nov. 2021 um 22:28 Uhr schrieb Zoufiné Lauer-Baré < zoufine.b...@gmail.com>: > > Dear SymPy Community, > > the IexFinder: Interactive Symbolic

Re: [sympy] Doit method in concrete

2021-11-07 Thread Peter Stahlecker
Your explanation makes eminent sense! I did not think of this at all: surely a term 1^oo does not drop out of the sky, it has a ‚history‘. Thanks! On Sun 7. Nov 2021 at 02:44 Oscar Benjamin wrote: > On Sat, 6 Nov 2021 at 16:55, Peter Stahlecker > wrote: > > > > I am just a h

Re: [sympy] Doit method in concrete

2021-11-06 Thread Peter Stahlecker
, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAHVvXxTS%2BA32brrRS7xZ7Rr7kJ%2BLG%2BxJ6Jre1sys8_iHVzZ7tg%40mail.gmail.com > . > -- Best regards, Peter Stahlecker -- You received this

Re: [sympy] Supporting older Python versions

2021-08-18 Thread Peter Stahlecker
There is a Python App for iPad, called JUNO. To the best of my knowledge, it uses Python 3.6. This might be a small reason to extend compatibility to this version. Am Di., 17. Aug. 2021 um 12:12 Uhr schrieb Oscar Benjamin < oscar.j.benja...@gmail.com>: > Hi all, > > This issue discusses SymPy's

Re: [sympy] Rotating a body in 3D

2021-06-30 Thread Peter Stahlecker
instructions on reproducing this and we can look into it. > > Jason > moorepants.info > +01 530-601-9791 > > > On Tue, Jun 29, 2021 at 2:45 PM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> Dear Jason, >> >> Maybe it is not 'Body' vs. 'Ax

Re: [sympy] Rotating a body in 3D

2021-06-29 Thread Peter Stahlecker
not sure why the body > fixed rotations are so much worse. > > Jason > moorepants.info > +01 530-601-9791 > > > On Tue, Jun 29, 2021 at 1:00 PM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> Dear Jason, >> >> Thanks! >> I

Re: [sympy] Rotating a body in 3D

2021-06-29 Thread Peter Stahlecker
rix numerically > etc. A 3D rotation can be computed very cheaply in floating point with > quaternions. > > -- > Oscar > > On Tue, 29 Jun 2021 at 12:00, Peter Stahlecker > wrote: > > > > Dear Jason, > > > > Thanks! > > I tested it right away, and I

Re: [sympy] Rotating a body in 3D

2021-06-29 Thread Peter Stahlecker
moorepants.info > +01 530-601-9791 > > > On Tue, Jun 29, 2021 at 5:09 AM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> When I want to do this, it seems to me there are these possibilities: >> >> 1. >> A = N.orientnew(‚A‘, ‚Body‘, [q1, q2

[sympy] Rotating a body in 3D

2021-06-28 Thread Peter Stahlecker
When I want to do this, it seems to me there are these possibilities: 1. A = N.orientnew(‚A‘, ‚Body‘, [q1, q2, q3], ‚123‘) This does it in one step 2. I use two intermediate frames and use the word ‚Axis‘ instead of ‚Body‘ Geometrically, this should be the same, but it seems to me, that with

Re: [sympy] KM.auxiliary_eqs

2021-06-19 Thread Peter Stahlecker
the same result. > > Jason > moorepants.info > +01 530-601-9791 > > > On Sat, Jun 19, 2021 at 9:33 AM Peter Stahlecker < > peter.stahlec...@gmail.com> wrote: > >> I am playing around with this feature to get the forces acting on some >> point. >>

[sympy] KM.auxiliary_eqs

2021-06-19 Thread Peter Stahlecker
I am playing around with this feature to get the forces acting on some point. The result of KM.auxiliary_eqs contains (also) generalized accelerations. I replace them with the relevant entries of KM.rhs(). This seems to work, but it gives BIG equations for even small problems. Is this the correct

Re: [sympy] Using the mechanics API

2021-06-16 Thread Peter Stahlecker
t; then you can solve for the complete motion. The coordinates associated with > those equations are ignorable (from the dynamics perspective). > > Jason > moorepants.info > +01 530-601-9791 > > > On Wed, Jun 16, 2021 at 11:52 AM Peter Stahlecker < > peter.stahle

  1   2   >