Here's a documentation page I wrote on solving an equation algebraically
using solve() or solveset()
<https://docs.sympy.org/dev/guides/solving/solve-equation-algebraically.html>.
The related page Solve a System of Equations Algebraically
<https://docs.sympy.org/dev/guides/solving/solve-system-of-equations-algebraically.html>
does not mention solveset(), so I believe it is the case that solveset()
can only solve for one variable, but others with more experience might know
for sure.

Jeremy Monat

On Sat, Dec 31, 2022 at 2:29 AM Peter Stahlecker <peter.stahlec...@gmail.com>
wrote:

> No idea.
> Like I said, I never really used solveset, just played around with it a
> bit.
>
> On Sat 31. Dec 2022 at 06:19 Carl K <ca...@msn.com> wrote:
>
>> Peter writes:
>>
>>
>>
>>    - As per the documentation, sympy.solveset.solver should be able to
>>    do this, but I have no experience with 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
>>
>>
>>
>> *From:* sympy@googlegroups.com <sympy@googlegroups.com> *On Behalf Of *Peter
>> Stahlecker
>> *Sent:* Friday, December 30, 2022 9:13 PM
>> *To:* sympy@googlegroups.com
>> *Subject:* Re: [sympy] If a^2+b^2+c^2=1, how do you find all real-valued
>> triplets <a,b,c> that make the equation true?
>>
>>
>>
>> As per the documentation, sympy.solveset.solver should be able to do
>> this, but I have no experience with it.
>>
>>
>>
>> NB:
>>
>> I have scanned your articles, not studied them. Would things like Gödel‘s
>> incompleteness theorem not prevent you from ever reaching your goal, never
>> mind the practical problems?
>>
>>
>>
>>
>>
>> On Sat 31. Dec 2022 at 05:56 Carl K <ca...@msn.com> wrote:
>>
>> Greetings,
>>
>> I'm playing with physics problems. Can SymPy solve problem like this?
>>
>> Question: a**2+b**2+c**2==1 (real valued)
>> Answer: -1<=a<=1,
>>                 -sqrt(1-a**2)<=b<=sqrt(1-a**2),
>>                   c is +- sqrt(1-a**2-b**2)
>>
>> Thanks!
>> Carl
>>
>> p.s. I'm looking to follow up my article "Perfect, Infinite-Precision,
>> Game Physics in Python (Part 3): Use Python SymPy to turn Math and Physics
>> into Programming"
>>
>> https://medium.com/towards-data-science/perfect-infinite-precision-game-physics-in-python-part-3-9ea9043e3969
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Ftowards-data-science%2Fperfect-infinite-precision-game-physics-in-python-part-3-9ea9043e3969&data=05%7C01%7C%7C80f22aa838404f3f42f408daeaedc584%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638080604183201870%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EFt7IJ37bxXRd114cOQrZ%2BENSUi0VEhKl9HvPfk8Jws%3D&reserved=0>
>>
>>
>> --
>> 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 visit
>> https://groups.google.com/d/msgid/sympy/CH0P223MB02196A6B41CDBF75CBECF6EAB2F19%40CH0P223MB0219.NAMP223.PROD.OUTLOOK.COM
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fsympy%2FCH0P223MB02196A6B41CDBF75CBECF6EAB2F19%2540CH0P223MB0219.NAMP223.PROD.OUTLOOK.COM&data=05%7C01%7C%7C80f22aa838404f3f42f408daeaedc584%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638080604183201870%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zFsiRD8ktMOlCfyP3AQLBzYMEnCKEK%2BX%2BcuQZ1lVtic%3D&reserved=0>
>> .
>>
>> --
>>
>> 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 an
>> email to sympy+unsubscr...@googlegroups.com.
>>
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/CABKqA0Y5HoVyHMJ3PXXO9HA1jiQpi8PeQYMgT6_FMXOxJ_ib%2Bw%40mail.gmail.com
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fsympy%2FCABKqA0Y5HoVyHMJ3PXXO9HA1jiQpi8PeQYMgT6_FMXOxJ_ib%252Bw%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=05%7C01%7C%7C80f22aa838404f3f42f408daeaedc584%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638080604183201870%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=73LfL5i1FVT8O4sleknLEcFk646PxZw8fm%2Bg3oKyxU4%3D&reserved=0>
>> .
>>
>> --
>> 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 visit
>> https://groups.google.com/d/msgid/sympy/DM8P223MB02213978BCBF9012E2CD98E5B2F19%40DM8P223MB0221.NAMP223.PROD.OUTLOOK.COM
>> <https://groups.google.com/d/msgid/sympy/DM8P223MB02213978BCBF9012E2CD98E5B2F19%40DM8P223MB0221.NAMP223.PROD.OUTLOOK.COM?utm_medium=email&utm_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 an
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CABKqA0YXp67TXUeGY86VQ5_OhCHF9Kv7zLEPxfRuhBsJJage%3DA%40mail.gmail.com
> <https://groups.google.com/d/msgid/sympy/CABKqA0YXp67TXUeGY86VQ5_OhCHF9Kv7zLEPxfRuhBsJJage%3DA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/sympy/CAO00iLjN1BxTQ-5xQ4cwVL99M6aotgEsKC8hJAYc0ZkC%2BDUnQw%40mail.gmail.com.

Reply via email to