Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you help me figure out what's wrong with my matlab code. I am solving a set of differential equations and algebraic equations using matlab.
Can you help me figure out what's wrong with my matlab code. I am solving a set of differential equations and algebraic equations using matlab. It's running and not ending and telling me there is an issue with fsolve. function HFcountercurrentflowODE
CROSSFLOW cross flow model
global c c z ph pl permN d do Nf Uf mu R T di pi
;
;
;
;
;
permN;
;
;
;
;
mu;
;
;
;
;
permHO ph :;
pizpermNph;
mul RUfd pipermNphdodidiNf;
selectivityHO permHOpermN;
fun selectivityH selectivityHx;
;
selectivityHy;
;;;
fsolve fun yo;
selectivityHx;
;
;
A;
endThanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started