Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35899

Re: got stuck in equation

References <2043e377-00d8-49d7-a35a-0c52c869f70f@googlegroups.com> <CAPTjJmrJP_TfXDMC85Tr_kM0xtyGgkAcs9fhOzpj-XZ6SuCbxg@mail.gmail.com> <50E311F4.2080501@davea.name>
Date 2013-01-02 04:44 +1100
Subject Re: got stuck in equation
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1523.1357062295.29569.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Jan 2, 2013 at 3:42 AM, Dave Angel <d@davea.name> wrote:
> On 01/01/2013 11:03 AM, Chris Angelico wrote:
>> This isn't a Python question, it's an algebra one. I don't know what
>> Z, S, and so on are, but for the most part, the basic rule of solving
>> equations applies: Do the same thing to both sides and it's still
>> true. Work on it until you can isolate SN on one side.
>
> Such a rule may not be able to solve an equation when there SN appears
> more than once on the RHS, and where it's inside a transcental
> function.  I don't consider this an algebra problem, but a programming
> problem.

It's a tad more complicated than your average equation, and I haven't
the time now to prove the point by actually solving it, but every
operation that I can see in that formula can be reversed. The hairy
bit is that there are two references to SN, so it's going to be a bit
messy to untangle, and might end up as a higher-order equation.

But you're likely right that other forms of solver may be more useful
here. Algebra definitely _could_ be the solution, but it isn't
necessarily the best.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

got stuck in equation usamazohad@gmail.com - 2013-01-01 07:40 -0800
  Re: got stuck in equation Chris Angelico <rosuav@gmail.com> - 2013-01-02 03:03 +1100
  Re: got stuck in equation Dave Angel <d@davea.name> - 2013-01-01 11:39 -0500
  Re: got stuck in equation Dave Angel <d@davea.name> - 2013-01-01 11:42 -0500
    Re: got stuck in equation Usama Khan <usamazohad@gmail.com> - 2013-01-01 09:25 -0800
      Re: got stuck in equation Chris Angelico <rosuav@gmail.com> - 2013-01-02 04:51 +1100
      Re: got stuck in equation Ramchandra Apte <maniandram01@gmail.com> - 2013-01-01 21:20 -0800
        Re: got stuck in equation alex23 <wuwei23@gmail.com> - 2013-01-02 01:53 -0800
      Re: got stuck in equation Ramchandra Apte <maniandram01@gmail.com> - 2013-01-01 21:20 -0800
        Re: got stuck in equation DJC <djc@news.invalid> - 2013-01-02 14:44 +0000
    Re: got stuck in equation Usama Khan <usamazohad@gmail.com> - 2013-01-01 09:25 -0800
      Re: got stuck in equation Usama Khan <usamazohad@gmail.com> - 2013-01-01 09:30 -0800
      Re: got stuck in equation Usama Khan <usamazohad@gmail.com> - 2013-01-01 09:30 -0800
      Re: got stuck in equation Roy Smith <roy@panix.com> - 2013-01-01 12:47 -0500
  Re: got stuck in equation Chris Angelico <rosuav@gmail.com> - 2013-01-02 04:44 +1100
    Re: got stuck in equation Usama Khan <usamazohad@gmail.com> - 2013-01-01 10:00 -0800
      Re: got stuck in equation Usama Khan <usamazohad@gmail.com> - 2013-01-01 10:12 -0800
      Re: got stuck in equation Usama Khan <usamazohad@gmail.com> - 2013-01-01 10:12 -0800
    Re: got stuck in equation Usama Khan <usamazohad@gmail.com> - 2013-01-01 10:00 -0800
  Re: got stuck in equation Tim Roberts <timr@probo.com> - 2013-01-01 13:09 -0800

csiph-web