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


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

Re: How to make the same two expressions

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to make the same two expressions
Date 2011-06-11 07:59 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <isv79c$8h$1@smc.vnet.net> (permalink)

Show all headers | View raw


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}}

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web