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)

Answers (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 Comment

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)

Sign in to comment.

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)

Products

Release

R2018b

Tags

Asked:

on 8 Jan 2023

Edited:

on 8 Jan 2023

Community Treasure Hunt

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

Start Hunting!