Warning: Equation solved, but no element can be extracted from the solution set.
Mostrar comentarios más antiguos
Hi all:
I am new to symbolab and have encountered an error with the solve function:
Warning: Equation solved, but no element can be extracted from the solution set.
There is indeed a solution that I have found via optimization. But for future work I'd rather use symbolab.
Below is the code. Not many lines at all! Thanks in advance.
N = 2000000/2.5;
W = 70000;
t = 600;
ra = 45000;
pK = 1;
alp = 0.14;
gam = 0.6;
g = 0.0005;
tht = 3;
gg = alp*(1-gam);
syms x d real
nfun(x,d) = x*(tht*ra/gg) / (W-t*d)^(1/gg) * (W-t*x).^((1-gg)/gg);
n2fun = int(nfun,x,0,d);
d0 = solve(n2fun == N,d,'PrincipalValue',true);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Linear Regression en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

