Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'static': 0.04; 'subject:query': 0.07; 'here?': 0.09; 'cc:addr:python-list': 0.11; 'assume': 0.14; '>>': 0.16; 'acted': 0.16; 'equations': 0.16; 'initially,': 0.16; 'itself,': 0.16; 'opposite': 0.16; 'relevant.': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'subject:Code': 0.24; 'initial': 0.24; 'environment': 0.24; 'cc:2**0': 0.24; '>': 0.26; 'train': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'am,': 0.29; 'properties': 0.29; 'needed.': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'assumes': 0.31; 'url:python': 0.33; '(2)': 0.35; 'case,': 0.35; 'equal': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'object,': 0.36; 'url:listinfo': 0.36; 'similar': 0.36; 'url:org': 0.36; 'starting': 0.37; 'skip:& 10': 0.38; '(3)': 0.38; 'stopped': 0.38; 'environment.': 0.39; 'moving': 0.39; 'either': 0.39; 'url:mail': 0.40; 'how': 0.40; 'ian': 0.60; 'simply': 0.61; 'maximum': 0.63; 'reached': 0.63; 'skip:n 10': 0.64; 'our': 0.64; 'to:addr:gmail.com': 0.65; 'between': 0.67; 'other.': 0.75; 'heh.': 0.84; 'travels': 0.84; '<>*': 0.95; 'traveling': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MhPGGS2+jq9+xOiZLU39BdgmX6+fb2SCKH+hYvB6z5I=; b=IbjRe0dpTllZq976BHid51N6uEDfg/DPYzqLeC3ceVP7KeDdk9oVVUAmi3/07Nx+Ph bKcRVtV19Cu0QkLw/Su6sdUfv6bDzT5WB5x7bRjHJwMPe4M4OTPvgEi/zWI8E6K2wprS W30xIgVk50RhVs1L5ybs1R0w71rvXgkjWS/mWtFVvHB0wHXogocV/rwfGTl4WR8d+3MG Fzbul/h53pJD7TTzthgkZ7MdRhmEs0gv3iqblAyRInN1/nTMUJWga+1buTexbxxqiQyk Efk/yIgh4FdDsFaPEU70NdzPvAbYiuFngA21XoemgljLxJ8kXLvxqZ3EZlG8nIwZLCBR sTEA== MIME-Version: 1.0 X-Received: by 10.140.38.37 with SMTP id s34mr8008581qgs.88.1396336870825; Tue, 01 Apr 2014 00:21:10 -0700 (PDT) In-Reply-To: References: <533a3fd8$0$2909$c3e8da3$76491128@news.astraweb.com> Date: Tue, 1 Apr 2014 03:21:10 -0400 Subject: Re: Code style query: multiple assignments in if/elif tree From: David Hutto To: Ian Kelly Content-Type: multipart/alternative; boundary=001a11c11c742c233904f5f6037d Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 139 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396336874 news.xs4all.nl 2843 [2001:888:2000:d::a6]:52700 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69479 --001a11c11c742c233904f5f6037d Content-Type: text/plain; charset=ISO-8859-1 u is the initial velocity from a starting/resting point, not a static speed at that point, and begins to accelerate, over a particular timeframe, in which it's momentum is not stopped by friction on which the rails/environment it travels upon has, or the similar properties the object might have during acceleration in relation to the environment it travels within. So the object has a starting point at which there is no equal, or opposing force, as it begins to accelerate from a resting position(Newton: an object will remain in motion, until acted upon by an equal or opposite force, and in this case the motion is propulsion of the object, or the newtons of propulsion, until it is moving at the exact speed of the propulsion applied to the object->Vo-V1, with 0 friction/viscosity during this timeframe). The difference in our opinions, seems to be that there is an initial resting state, and not at an already accelerated motion that has reached it's maximum capacity. So there is a dynamic in my mind's eye, where the object is at a "resting" point initially, and either the environment, or the object can maneuver their own viscosity in relation to the other. On Tue, Apr 1, 2014 at 2:39 AM, Ian Kelly wrote: > On Tue, Apr 1, 2014 at 12:24 AM, David Hutto > wrote: > >> > >> >> (1) v = u + at > >> >> (2) s = 1/2(u + v)t > >> >> (3) s = ut + 1/2(at^2) > >> >> (4) v^2 = u^2 + 2as > >> >> > >> >> Only (1) and (3) are needed. > >> > > >> > Okay, what's u here? Heh. > >> > >> u is the initial velocity; v is the velocity after accelerating at a for > >> time t. > > > > > > This assumes that the viscosity is in a state of superfluidity, and in a > > perfect state between itself, and it's traveling environment. > > I fail to see how this is relevant. I would assume that the amount of > friction is already modeled in the acceleration constants; if it were > zero then the brakes would be nonfunctional and the train would not be > able to accelerate or decelerate at all. In any case, a change in > friction simply works out to a change in acceleration. The equations > above still hold true. > -- > https://mail.python.org/mailman/listinfo/python-list > -- Best Regards, David Hutto *CEO:* *http://www.hitwebdevelopment.com * --001a11c11c742c233904f5f6037d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
u is the initial velocity from a starting/resting poi= nt, not a static speed at that point, and begins to accelerate,
o= ver a particular timeframe, in which it's momentum is not stopped by fr= iction on which the rails/environment it travels upon has, or the similar p= roperties the object might have during acceleration in relation to the envi= ronment it travels within.

So the object has a starting point at which there is no= equal, or opposing force, as it begins to accelerate from a resting positi= on(Newton: an object will remain in motion, until acted upon=A0 by an equal= or opposite force, and in this case the motion is propulsion of the object= , or the newtons of propulsion, until it is moving at the exact speed of th= e propulsion applied to the object->Vo-V1, with 0 friction/viscosity dur= ing this timeframe).

The differe= nce in our opinions, seems to be that there is an initial resting state, an= d not at an already accelerated motion that has reached it's maximum ca= pacity.


<= div class=3D"gmail_extra">So there is a dynamic in my mind's eye, where= the object is at a "resting" point initially, and either the env= ironment, or the object can maneuver their own viscosity in relation to the= other.


On Tue, Apr 1= , 2014 at 2:39 AM, Ian Kelly <ian.g.kelly@gmail.com> wro= te:
On Tue, Apr 1, 2014 at 12:24 AM, David Hutto <dwightdhutto@gmail.com> wrote:=
>>
>> >> (1) v =3D u + at
>> >> (2) s =3D 1/2(u + v)t
>> >> (3) s =3D ut + 1/2(at^2)
>> >> (4) v^2 =3D u^2 + 2as
>> >>
>> >> Only (1) and (3) are needed.
>> >
>> > Okay, what's u here? Heh.
>>
>> u is the initial velocity; v is the velocity after accelerating at= a for
>> time t.
>
>
> This assumes that the viscosity is in a state of superfluidity, and in= a
> perfect state between itself, and it's traveling environment.

I fail to see how this is relevant. =A0I would assume that the amount= of
friction is already modeled in the acceleration constants; if it were
zero then the brakes would be nonfunctional and the train would not be
able to accelerate or decelerate at all. =A0In any case, a change in
friction simply works out to a change in acceleration. =A0The equations
above still hold true.
--
https://mail.python.org/mailman/listinfo/python-list



--
Best Rega= rds,
David Hutto<= /span>
CEO: http://www.hitwebdevelopment.com
--001a11c11c742c233904f5f6037d--