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-13 13:52:52 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!not-for-mail Message-ID: <3C18DF39.9BB2F868@mail.chem.sc.edu> Date: Thu, 13 Dec 2001 12:02:49 -0500 From: daniele andreatta X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Dimensionality Checking (Ada 20XX) 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: 129.252.151.109 X-Original-Trace: 13 Dec 2001 10:06:01 -0700, 129.252.151.109 X-COMPLAINTS: Report abuse to abuse@mhogaming.com Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com NNTP-Posting-Host: 64b46376.news.newshosting.com X-Trace: DXC=@^L2Nn=lUm4WTdTXiX7gk5cWAoU0VUld2S3bM27mQ[Q=8U]:P Stephen Leake wrote: > 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 Taylor series keeps the unit of the function. Basically the series is (as you recall) f(x) = f(x_0) + f'(x_0) (x-x_0) +f''(x_0) (x-x_0)**2 + ... and the unit of the derivatives are (indicating with [] the unit of the quantity) [f'(x)] = [f]/[x]; [f''] = [f]/[x]**2; .... In the end [f(x)] = [Taylor expansion] HTH, Daniel