How can i solve these equations in Matlab?

  • Context: MATLAB 
  • Thread starter Thread starter koii123
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary

Discussion Overview

The discussion revolves around solving a system of equations in Matlab, specifically focusing on five equations with ten unknowns. Participants explore the implications of the underdetermined nature of the system and propose methods for finding solutions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses a desire to solve a system of equations but notes difficulties in doing so, seeking step-by-step assistance.
  • Another participant points out that there are ten unknowns and only five equations, indicating that the system is underdetermined and suggesting that more equations or fixed values are needed.
  • A later reply clarifies that specific values for some variables (p, η0, ηr, θ0, θr) have been provided, which may allow for further simplification.
  • One participant proposes a method to solve the equations by manipulating equations 4 and 5 to find a relationship for Z and subsequently for α.
  • Another participant analyzes the implications of the derived equations, concluding that the specific values lead to Z being zero and consequently α also being zero, questioning the correctness of the initial setup.

Areas of Agreement / Disagreement

Participants express differing views on the solvability of the equations given the underdetermined nature of the system. There is no consensus on the correctness of the initial equations or the implications of the derived results.

Contextual Notes

The discussion highlights the limitations of the current system of equations, particularly the mismatch between the number of equations and unknowns, which affects the ability to find unique solutions.

koii123
Messages
8
Reaction score
0
Equation 1:
upload_2015-5-17_22-8-7.png

Equation 2:
upload_2015-5-17_22-8-24.png

Equation 3:
upload_2015-5-17_22-8-36.png

Equation 4:
upload_2015-5-17_22-8-47.png

Equation 5:
upload_2015-5-17_22-8-59.png


I would like to solve
upload_2015-5-17_22-9-25.png
, (not the one with a star)
and i want to define values for p, η0, ηr, θ0, θr.
i have tried to solve them, but didn't work,
can someone please help and show me step by step?
 
Last edited:
Physics news on Phys.org
What exactly are you trying to do? I count 10 unknowns (α, α*, p, η0, ηR, θ, θ0, S0, Z, β), and only 5 equations. So the system is underdetermined and there are an infinite number of possible solutions. You either need to fix some of the values or find more equations until the number of equations equals the number of unknowns. What exactly have you tried so far?
 
phyzguy said:
What exactly are you trying to do? I count 10 unknowns (α, α*, p, η0, ηR, θ, θ0, S0, Z, β), and only 5 equations. So the system is underdetermined and there are an infinite number of possible solutions. You either need to fix some of the values or find more equations until the number of equations equals the number of unknowns. What exactly have you tried so far?
Actually, i have values for p, η0, ηr, θ0, θr,
for example:
p=101325,
η0=4.43,
ηr=0.181,
θ0=313.15,
θr=373.15,
also, as you can see, it is possible to solve α , because these 5 equations can be combined into 1
 
OK, that makes more sense. So can you do the following?

(1) Solve equation 4 for the ratio β/S0.
(2) Divide equation 5 by S0 to get β/S0 on the LHS. Then plug the result from step 1 into this and solve this equation for Z.
(3) Take the result from step 2 and plug it into equation 3, then solve this equation for α.

Edit:

Actually, I see now that it is even simpler than that. You can combine equations 4 and 5 to give:

(1+5.1E-9*p)^Z = 1

Solve this for Z and plug it into equation 3 to give α.
 
Last edited:
Looking more at your equations. Equations 4 and 5 together imply that:

(1+5.1E-9*p)^Z = 1

Since p = 101325, (1+5.1E-9*p) = 1.0005, so this equation is only satisfied for Z = 0. Equation 3 then implies that α=0. Are you sure this is all correct, or am I missing something?
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
5
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K