---- START NEW MESSAGE --- Received: from cherry.ease.lsoft.com [209.119.0.109] by dpmail10.doteasy.com with ESMTP (SMTPD32-8.05) id A6C894901C8; Tue, 27 Jan 2004 19:04:40 -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 <10.00CC0178@cherry.ease.lsoft.com>; Tue, 27 Jan 2004 22:04:28 -0500 Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV-TCP/IP release 1.8e) with spool id 8934 for PICLIST@MITVMA.MIT.EDU; Tue, 27 Jan 2004 22:04:20 -0500 Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2d/1.8d) with BSMTP id 5050; Tue, 27 Jan 2004 22:02:29 -0500 Received: from rs25s9.datacenter.cha.cantv.net [200.44.33.10] by mitvma.mit.edu (IBM VM SMTP Level 430) via TCP with ESMTP ; Tue, 27 Jan 2004 22:02:28 EST X-Comment: mitvma.mit.edu: Mail was sent by rs25s9.datacenter.cha.cantv.net Received: from carlos98 (puertoordaz-ras4-112.ras.poz.cantv.net [161.196.166.113]) by rs25s9.datacenter.cha.cantv.net (8.12.9/8.12.6/3.0) with SMTP id i0S32Shx001367 for ; Tue, 27 Jan 2004 23:02:29 -0400 X-Matched-Lists: [] References: <001301c3e53f$ad6ce0c0$0100a8c0@carlos98> <200401281455.17651.royward@physics.otago.ac.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <008401c3e54b$10ebc2a0$0100a8c0@carlos98> Date: Tue, 27 Jan 2004 23:01:39 -0400 Reply-To: pic microcontroller discussion list Sender: pic microcontroller discussion list From: Carlos Marcano Subject: Re: [OT:] Curves intersection To: PICLIST@MITVMA.MIT.EDU Precedence: list X-RCPT-TO: Status: U X-UIDL: 371856015 > Roy said: > I assume that you mean y=sin(x) You are right! sen(x) comes from spanish (my first language).... > > I'm pretty sure there isn't an analytical (btw, analytical != numerical) > solution to this, not of the form > x=(some combination of basic functions). > y=(some combination of basic functions). > I'd suggest a numerical approach, such as bisection (or something that > converges a little faster) to get a number with whatever accuracy you want. Now I realize the difference between analytical and numerical solutions... > Try to find the zero crossing point of 1-x*x-sin(x) in whatever region you > want (there will be more than one solution, one positive, one negative I > think). I think I will try first with bisection. Thanks for the help Roy, Regards, *Carlos* --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.572 / Virus Database: 362 - Release Date: 27/01/04 -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads .