Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3071 > unrolled thread
| Started by | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| First post | 2011-06-11 07:59 +0000 |
| Last post | 2011-06-11 07:59 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: How to make the same two expressions Bill Rowe <readnews@sbcglobal.net> - 2011-06-11 07:59 +0000
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Date | 2011-06-11 07:59 +0000 |
| Subject | Re: 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}}
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web