Unable to Solve the symbolic Equation below: Warning: Unable to find explicit solution. For options, see help.

2 vues (au cours des 30 derniers jours)
Hello All,
I'm trying to solve Unable to Solve the Equation blow (pressure model). However, I keep getting the the following messege: Warning: Unable to find explicit solution. For options, see help. My code is shown below:
syms p P
nm = 3e15;
s0=1;
v=4.82e20;
tao0=1e-13;
p0=3;
q0=26;
q1=10.6;
R=8.31;
T=295;
V=16.7;
K=3.27e19;
t=1:400;
eq = ((t./taop)==(log(p0./p))+((a.*W).*(Z-(1./(1+a.*p))+log(((1+a.*p)./p).*Y))));
Unrecognized function or variable 'taop'.
P = solve(eq,p,'IgnoreAnalyticConstraints',1)
Thanks in advance..
  2 commentaires
Torsten
Torsten le 9 Jan 2023
Modifié(e) : Torsten le 9 Jan 2023
Question has already been answered here:
As you can see from the message, "solve" is not able to give an analytical solution of your ODE. Thus you have to use a numerical method - and that's what I provided.

Connectez-vous pour commenter.

Réponse acceptée

N/A
N/A le 6 Fév 2023
Modifié(e) : Torsten le 6 Fév 2023

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by