Finding values of implicit function of three dimension

1 view (last 30 days)
This question was flagged by Star Strider
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)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 8 Jan 2023
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
shathy Khan
shathy Khan on 8 Jan 2023
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.


Matt J
Matt J on 8 Jan 2023
Edited: Matt J on 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)

Categories

Find more on Function Creation in Help Center and File Exchange

Tags

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!