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)

Antworten (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 Kommentar

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)

Melden Sie sich an, um zu kommentieren.

Matt J
Matt J am 8 Jan. 2023
Bearbeitet: Matt J am 8 Jan. 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)

Produkte

Version

R2018b

Tags

Gefragt:

am 8 Jan. 2023

Bearbeitet:

am 8 Jan. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by