---- START NEW MESSAGE --- Received: from cherry.ease.lsoft.com [209.119.0.109] by dpmail10.doteasy.com with ESMTP (SMTPD32-8.05) id A96DC28003C; Tue, 27 Jan 2004 19:15:57 -0800 Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <21.00CC00DE@cherry.ease.lsoft.com>; Tue, 27 Jan 2004 22:15:50 -0500 Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV-TCP/IP release 1.8e) with spool id 9026 for PICLIST@MITVMA.MIT.EDU; Tue, 27 Jan 2004 22:08:27 -0500 Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2d/1.8d) with BSMTP id 5242; Tue, 27 Jan 2004 22:06:29 -0500 Received: from fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73] by mitvma.mit.edu (IBM VM SMTP Level 430) via TCP with SMTP ; Tue, 27 Jan 2004 22:06:29 EST X-Comment: mitvma.mit.edu: Mail was sent by fep03-mail.bloor.is.net.cable.rogers.com Received: from trex1.interlog.com ([24.42.27.249]) by fep03-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040128030540.MCL95343.fep03-mail.bloor.is.net.cable.rogers.com@trex1.interlog.com> for ; Tue, 27 Jan 2004 22:05:40 -0500 X-Sender: speff@mail.interlog.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.42.27.249] using ID at Tue, 27 Jan 2004 22:05:39 -0500 Message-ID: <5.1.1.5.2.20040127220240.01c25958@mail.interlog.com> Date: Tue, 27 Jan 2004 22:13:32 -0500 Reply-To: pic microcontroller discussion list Sender: pic microcontroller discussion list From: Spehro Pefhany Subject: Re: [OT:] Curves intersection To: PICLIST@MITVMA.MIT.EDU In-Reply-To: <001301c3e53f$ad6ce0c0$0100a8c0@carlos98> Precedence: list X-RCPT-TO: Status: U X-UIDL: 371856016 At 09:34 PM 1/27/2004 -0400, you wrote: >Hi all: > > I got to admit that I am struggling with something that I should know= as >an engineer. I need to find analitically the points of intersection of two >curves, that is: > >I) y=3D 1-(x*x) > >II) y=3D sen(x) > > >Normally that would be as simple as doing I=3DII and resolving but in this >case the fact that II is a trigonometrical ecuation brings some issues to >the resolution. Having 1 - (x*x) =3D sen(x) I can=B4t find a way to get= the >posible values for x. I could try a graphical solution but I want the >analitical (i.e. numerical) solution. Any ideas? Solving numerically, assuming that sen(x) is sin(x), and that x is in radians, then x ~=3D -1.409624004 Analytically, there may or may not be a solution. As an Engineer, I don't really care as I just want the answer to sufficient accuracy for my purposes. Best regards, Spehro Pefhany --"it's the network..." "The Journey is the= reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads .