s-news
[Top] [All Lists]

Re: solve a non-linear equation

To: Tim Hesterberg <timh@insightful.com>
Subject: Re: solve a non-linear equation
From: yiwu ye <yiwu21111958@yahoo.com>
Date: Wed, 1 Feb 2006 16:22:11 -0800 (PST)
Cc: s-news@lists.biostat.wustl.edu
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WCUo5APpR3IJI/6Ns1MeqXTaTkcZP0Sr2bDYXIXxC5eadyi6mf3/oSVnsg1f7B4ZNCV9rGOQwdrrK1fMWLR53Aqdy97rTncSTpUV+dVUOfokhBu8iw+gA8gDdIPqqSQSOoxN9KEW0XQuzCtNK6lMnfT2hBjmEn19FdWFF9xQ0N4= ;
In-reply-to: <SE2KEXCH01bLAX3cf3e0000085b@se2kexch01.insightful.com>
Many thanks to Tim for hist prompt reply to my query. His suggestion solved my problem perfectly.  Thanks the S+ list. Yiwu


Tim Hesterberg <timh@insightful.com> wrote:
Use uniroot; you need to write it as 0 = f(x)
Or, use inverseFunction, part of the resample library.

> Dear list,
>
> Does any one know any simple command/function that can be used to sovle a non-linear equation? For example, x=a+bx*exp(-cx).Given a, b and c, to calculate x value. Thanks for help.
>
> Yiwu

========================================================
| Tim Hesterberg Research Scientist |
| timh@insightful.com Insightful Corp. |
| (206)802-2319 1700 Westlake Ave. N, Suite 500 |
| (206)283-8691 (fax) Seattle, WA 98109-3012, U .S.A. |
| www.insightful.com/Hesterberg |
========================================================
Download the S+Resample library from www.insightful.com/downloads/libraries

Two Research Scientist positions:
data mining
frailty/mixed effects
http://www.insightful.com/company/jobs.asp



Do you Yahoo!?
With a free 1 GB, there's more in store with Yahoo! Mail.
<Prev in Thread] Current Thread [Next in Thread>