Finding values of implicit function of three dimension

조회 수: 12 (최근 30일)
shathy Khan
shathy Khan 2023년 1월 8일
편집: Matt J 2023년 1월 8일
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)

답변 (2개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 1월 8일
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
shathy Khan
shathy Khan 2023년 1월 8일
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)

댓글을 달려면 로그인하십시오.


Matt J
Matt J 2023년 1월 8일
편집: Matt J 2023년 1월 8일
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)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by