|
From: | Doug Stewart |
Subject: | Re: fsolve returns a complex solution instead of a real one |
Date: | Sun, 9 Jun 2019 09:45:23 -0400 |
Dear All,
Maybe I am doing something wrong. In this case, please let me know
I develop a simple code to calculate the chemical equilibrium from a
composition at some temperature and on the uploaded file you can find the
equations.
As I run CC_Micro_Turbina_Gas_Trabalho_BE on the Command Window on Debian 9
(Octave version 4.0.3) I get a complex solution with info = 3 instead of a
real solution as it should be. What am I doing wrong?
All the properties were tested and are Ok
All the best
CC_Micro_Turbina_Gas_Trabalho_BE.m
<http://octave.1599824.n4.nabble.com/file/t373382/CC_Micro_Turbina_Gas_Trabalho_BE.m>
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] | Current Thread | [Next in Thread] |