Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #3071 > unrolled thread

Re: How to make the same two expressions

Started byBill Rowe <readnews@sbcglobal.net>
First post2011-06-11 07:59 +0000
Last post2011-06-11 07:59 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: How to make the same two expressions Bill Rowe <readnews@sbcglobal.net> - 2011-06-11 07:59 +0000

#3071 — Re: How to make the same two expressions

FromBill Rowe <readnews@sbcglobal.net>
Date2011-06-11 07:59 +0000
SubjectRe: How to make the same two expressions
Message-ID<isv79c$8h$1@smc.vnet.net>
On 6/10/11 at 6:39 AM, mariano.pierantozzi@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}}

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web