Solve for an implicitly defined variable

13 visualizaciones (últimos 30 días)
Thomas Ward
Thomas Ward el 20 de Abr. de 2018
Respondida: Walter Roberson el 20 de Abr. de 2018
How do I use matlab to solve for an implicitly defined variable? For example
x=0.6953*ln(115/(215-x))-100

Respuesta aceptada

Walter Roberson
Walter Roberson el 20 de Abr. de 2018
syms x
vpasolve(x==0.6953*log(115/(215-x))-100)

There is a second solution, which is approximately 215 - -2.02E-195 . However, you cannot round that to 215: if you do round it then you would get a division by 0.

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by