Finding values of implicit function of three dimension

If t and x are independent variables and u(t,x) dependent variable. how can I calculate u(t,x) at different positions of t and x for implicit function
b^{u(t,x)}*[ux/e*u(t,x)]^{vt/2}=b^{x/2}
where
b=10
v=70
ux=90
e=exp(1)

Respuestas (2)

Using fminbnd():
b=10;
v=70;
ux=90;
e=exp(1);
EQN = @(u)(b^u*(ux/e*u)^(v/2)-b^(ux/2));
Sol = fminbnd(EQN, 2, 10) % t=2; x=10;
Sol = 2.0000

1 comentario

Thank You but
It t and x both are vectors as
nx=2; nt=3;
a=0; b=10; T=3;
x=linspace(a,b,nx+1)
t=linspace(0,T,nt+1)
u=zeros(nt+1,nx+1)

Iniciar sesión para comentar.

Matt J
Matt J el 8 de En. de 2023
Editada: Matt J el 8 de En. de 2023
b=10;
v=70;
ux=90;
e=exp(1);
EQN = @(t,x,u)(b.^u.*(ux./e.*u).^(v*t/2)-b.^(x/2));
fimplicit3(EQN); xlabel t; ylabel x; zlabel u(t,x)

Categorías

Productos

Versión

R2018b

Etiquetas

Preguntada:

el 8 de En. de 2023

Editada:

el 8 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by