cancel
Showing results for
Search instead for
Did you mean:
cancel
Showing results for
Search instead for
Did you mean:

## Using SOLVE function with 4 equations  Newbie

## Using SOLVE function with 4 equations

Hi,

I would like to determine 4 variables with equations but it's returning (0, 0, 0, 0) which is not correct.

I think the way I placed the equations is not right.

Can anyone help me with this? Thanks!!

Tags (4)
14 REPLIES 14  Newbie
(in response to MaxGomes)

## Re: Using SOLVE function with 4 equations

Attaching...  Ruby IV
(in response to MaxGomes)

## Re: Using SOLVE function with 4 equations

For the symbolic "solve", the equations must be put in a vector, not a program structure.

As it seems you are just searching for a numeric answer, you may also consider using a Given-Find() solve block instead.  Moonstone
(in response to MaxGomes)

## Re: Using SOLVE function with 4 equations

You are trying to solve for eight unknowns (the real and imaginary parts of B1, C1 etc) with only four equations.

Plus, what Werner said.

Alan  Newbie
(in response to AlanStevens)

## Re: Using SOLVE function with 4 equations

Seems like there are no solutions for this system. Is it correct?  Ruby IV
(in response to MaxGomes)

## Re: Using SOLVE function with 4 equations

 Max Gomes wrote:Seems like there are no solutions for this system.Is it correct?

Yes, unless you assume that the variables are real numbers 😉

See below.  Ruby IV
(in response to AlanStevens)

## Re: Using SOLVE function with 4 equations

From the way the equations are set up I guess we have to assume that the solved for variables should be real valued    Moonstone
(in response to Werner_E)

## Re: Using SOLVE function with 4 equations

Another possibility is to set all the imaginary parts to zero to give four more equations, but this depends on what the system of equations represents.

Alan  Newbie
(in response to Werner_E)

## Re: Using SOLVE function with 4 equations

Werner, I just opened your file.

Why did I receive this error?   Ruby IV
(in response to MaxGomes)

## Re: Using SOLVE function with 4 equations

Not sure what happens here. I just loaded my file from my post and it works OK and shows what my screenshot shows.

One thing I noticed when i worked on your file was that the B's in your file are not "normal" B's but the style of those variables is still "normal"!?. They look bold (you can see it on my first screenshot) and I have no idea how you created them. maybe retyping all variable names cures the problem.

Which version of Mathcad are you using?  Newbie
(in response to Werner_E)

## Re: Using SOLVE function with 4 equations

Version 14.0.0.163

It's the capital BETA.

It can be found at the Greek Symbol Toolbar.  Peridot
(in response to MaxGomes)

## Re: Using SOLVE function with 4 equations

 Max Gomes wrote:Version 14.0.0.163It's the capital BETA.It can be found at the Greek Symbol Toolbar.

I've just run Werner's worksheet in M14.0.0.286 and it works as shown in Werner's message.

Stuart  Ruby IV
(in response to MaxGomes)

## Re: Using SOLVE function with 4 equations

 It's the capital BETA.

Ah! Tricky!  Newbie
(in response to Werner_E)

## Re: Using SOLVE function with 4 equations

Werner,

I've added one more equation to the system, could you please open in your Mathcad to check if it still has solution?

Thanks  Ruby IV
(in response to MaxGomes)

## Re: Using SOLVE function with 4 equations

 I've added one more equation to the system, could you please open in your Mathcad to check if it still has solution?

No, it hasn't. Five equations but just 4 variables to solve for - you must have great luck for an overdetermined system to get solved. Mathcads symbolic solver is especially sensitive wrt over- but also underdetermined systems.

What are you trying to do here?

Would a "best fit" (least sq.error) be an option? So you might try a numeric solve block with minerr or minimize.

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."