Re: 5 variables Guass isnt working, matrix solution
- To: mathgroup at smc.vnet.net
- Subject: [mg50467] Re: 5 variables Guass isnt working, matrix solution
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Sun, 5 Sep 2004 03:53:42 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 9/4/04 at 1:43 AM, roger at banditorange.com (roger) wrote:
>5a-c-d-e =0.5
>4b-c-e =1
>6c-a-b-d-e=1
>4d-a-c =1
>5e-a-b-c =1.5
>Solve for a,b,c,d, and e. Guass inversion isnt working.
Solve[{5*a - c - d - e == 0.5,
4*b - c - e == 1,
6*c - a - b - d - e == 1,
4*d - a - c == 1,
5*e - a - b - c == 1.5},
{a, b, c, d, e}]
{{a -> 0.4130434782608696,
b -> 0.5217391304347826,
c -> 0.5000000000000001,
d -> 0.4782608695652175,
e -> 0.5869565217391305}}
Works fine here. But note the use of Equal, "==" rather than Set, "="
--
To reply via email subtract one hundred and four