- #1
IanfromBristol
- 2
- 0
I am writing a computer program to solve a physical problem which at some part involves the following two equations and two unknowns;
(1) \[ C_1(x^4-y^4) + C_2x = Q_1 \]
(2) \[ C_1(y^4-x^4) + C_3y = Q_2 \]
C1, C2 & C3 are coefficients which can readily be calculated and do not rely on knowing the values of X or Y. Q1 and Q2 are known values (effectively boundary conditions). I've tried substitution and elimination but end up with a much more complicated expression which looks to be a quartic equation. I know I can solve this iteratively and it does converge quickly and is stable. However, is there any method that can solve it directly and thus avoid the iterative approach?
(1) \[ C_1(x^4-y^4) + C_2x = Q_1 \]
(2) \[ C_1(y^4-x^4) + C_3y = Q_2 \]
C1, C2 & C3 are coefficients which can readily be calculated and do not rely on knowing the values of X or Y. Q1 and Q2 are known values (effectively boundary conditions). I've tried substitution and elimination but end up with a much more complicated expression which looks to be a quartic equation. I know I can solve this iteratively and it does converge quickly and is stable. However, is there any method that can solve it directly and thus avoid the iterative approach?