From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cc4f25d878383cc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-12 06:37:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Dimensionality Checking (Ada 20XX) Date: 12 Dec 2001 09:26:02 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <11bf7180.0112070815.2625851b@posting.google.com> <9v0crt$bo2bi$1@ID-25716.news.dfncis.de> <9v37rs$cdmva$1@ID-25716.news.dfncis.de> <3c17210a.3970375@News.CIS.DFN.DE> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1008167350 28954 128.183.220.71 (12 Dec 2001 14:29:10 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 12 Dec 2001 14:29:10 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:17834 Date: 2001-12-12T14:29:10+00:00 List-Id: dmitry@elros.cbb-automation.de (Dmitry A. Kazakov) writes: > On 11 Dec 2001 11:39:30 -0500, Stephen Leake > wrote: > > >It is simply wrong to try to define units for trig and exponential > >functions. Remember the Taylor expansion for Sin: > > > >Sin (x) = x - 1/6 x**3 ... > > > >If x has dimensions of meters (shudder :), then what are the > >dimensions of Sin (x)? This is why angles must be dimensionless, as > >radians are. > > It is true, but the proof is wrong. Consider sqrt (x). It also has a > Taylor expansion in 1, which is also endless, yet sqrt (m**2) exists > and is m. Hmm. Good point. I guess infinite series are trickier than I remember; it has been a long time :). -- -- Stephe