Solving 4 equations and 4 unknowns - help please
Afficher commentaires plus anciens
Hi, I've been looking around for quite some time and I can't seem to find how to answer my problem. I basically have 2 equations which I then separate into relationships for each variable. I have a number of initial conditions, i.e. A=A therefore A1=A2 (in both equations) and similarly X=X therefore X1=X2. I have initial conditions of M=7 and X=1.36. From the initial equation relationships I know that the relationship to B has 6 solutions but I know the actual solution is the equation in row 5, so this is selected. So then, I have 4 equations: A1=A2, X1=X2, B==b1 (f(A)) and B2==b2 (f(A,M2)). Here's where my problem lies, I run a solve for the equations and it says it solves, or as far as I can tell but I can't get the answer. Can anyone please help.
Here is the full code I'm running:
2 commentaires
Andrew Newell
le 23 Fév 2015
I cannot figure out what you are trying to solve. Maybe you need to step back a little - where did these equations come from?
Fergus Conway
le 23 Fév 2015
Modifié(e) : Fergus Conway
le 23 Fév 2015
Réponses (1)
Andrew Newell
le 23 Fév 2015
I think that you are misinterpreting the theta-beta-M equation. It does not involve initial and final conditions because the boundary conditions have already been used to derive this equation (have a look at one of the sources for the Wikipedia article). Instead, you have an equation of the form
f(theta,beta,M) = 0
If you know two of the variables, you can find the other. However, you only seem to know M, so you don't have enough information to solve the equation.
2 commentaires
Andrew Newell
le 23 Fév 2015
An alternative is that you could solve for theta as a function of beta to get a curve.
Fergus Conway
le 24 Fév 2015
Catégories
En savoir plus sur Common Operations dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!