MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to make the same two expressions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119591] Re: How to make the same two expressions
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Sat, 11 Jun 2011 03:59:46 -0400 (EDT)

On 6/10/11 at 6:39 AM, mariano.pierantozzi at gmail.com (Mariano
Pierantozzi) wrote:

>i've got 2 expression depending on a and b:

>expr1= -1.0019 - 1. Log[0.00190438 - 0.0249519 b] + (0.000040093 a
>Log[0.152644/(0.152644 + 2 b)])/b

>expr2=-1.00004 - 1. Log[0.0000378969 - 0.0249519 b] + (0.000040093 a
>Log[0.0030376/(0.0030376 + 2 b)])/b

>I want to make the same this two expressions.

Here is one way to find values for a and b to make both
expressions equal

In[5]:= NMinimize[(expr2 - expr1)^2, {a, b}] // Chop

Out[5]= {0,{a->-160.507,b->26.733}}



  • Prev by Date: Re: How to make the same two expressions
  • Next by Date: Show results live
  • Previous by thread: Re: How to make the same two expressions
  • Next by thread: Re: How to make the same two expressions