       Re: Formula simplify for Solve

• To: mathgroup at smc.vnet.net
• Subject: [mg81005] Re: Formula simplify for Solve
• From: dh <dh at metrohm.ch>
• Date: Fri, 7 Sep 2007 02:13:16 -0400 (EDT)
• References: <fblig0\$opg\$1@smc.vnet.net>

```
Hi Lea,

Equality is written by two equal (==) and assignments by one (=).

Therefore , you can assign an equality to a variable like:

equ=PB2==(A[]*D)+(A[]*B[]+A[]*D)+(A[]*B[]+A[]*B[]+A[]*

D)+(A[]*B[]+A[]*B[]+A[]*B[]+A[]*D)+(A[]*B[]+A[

]*B[]+A[]*B[]+A[]*B[]+A[]*D)

you can then use Solve or Reduce like:

Solve[equ,D]

Note that this only works if A and B are vectors whose elements have

values (e.g. numeric). Otherwise the statement A[]] failes because

there is no such element. If you want to work symbliocally, you would

hope this helps, Daniel

Lea Rebanks wrote:

> Formula simplify for Solve

>

> PB2=(A[]*D)+(A[]*B[]+A[]*D)+(A[]*B[]+A[]*B[]+A[]*

> D)+(A[]*B[]+A[]*B[]+A[]*B[]+A[]*D)+(A[]*B[]+A[

> ]*B[]+A[]*B[]+A[]*B[]+A[]*D)

>

>

> Hi there,

>

> Please look at the above math statement. I want to incorporate very long

> statements into long formulas & then solve for  D  - is there anyway of

> abbreviating the above statement to a simple letter(s) like PB2 & then be

> able to still solve for  D? I am sure you can - please show me how with

> Mathematia example.

>

> BTW - I am using version 5.1.0.0 on a PC

>

> Many thanks for your attention.

> Mr.Lea Rebanks.

>

>

```

• Prev by Date: Re: Bug with 3D graphics lines
• Next by Date: Why I got inumr??
• Previous by thread: Formula simplify for Solve
• Next by thread: How to compile this module?