MATLAB Answers

Can we solve this on MATLAB?

1 ビュー (過去 30 日間)
Rashmin Rayani
Rashmin Rayani 2019 年 10 月 10 日
回答済み: Prabhan Purwar 2019 年 10 月 14 日
∇∙k(x,y)∇T+Q=0 on OMEGA
T=x on y=0
T=3+x^2 on y=3
T=y on x=0
∂T/∂x=1-T/5 on x=3

  3 件のコメント

Rashmin Rayani
Rashmin Rayani 2019 年 10 月 10 日
k=1
Daniel M
Daniel M 2019 年 10 月 10 日
Yes. What have you tried?
Rashmin Rayani
Rashmin Rayani 2019 年 10 月 10 日
have done it theoretically but don't actually know how put that in code or how to start with this kind of problems

Sign in to comment.

回答 (1 件)

Prabhan Purwar
Prabhan Purwar 2019 年 10 月 14 日
Following equation can be solved by making use of curl() and vpasolve() functions, as shown in the below example code:
syms x y z
V = [x^3*y^2*z, y^3*z^2*x, z^3*x^2*y];
X = [x y z];
curl(V,X)
S = vpasolve(curl(V,X)+X == 0, x,y,z);
double(S.x)
ans =
0.0000 + 0.0000i
-1.0000 + 0.0000i
1.0000 + 0.0000i
0.0000 - 1.0000i
0.0000 + 1.0000i
Please have a look at the following code representing the working of solve and assume functions to solve equations with conditions.
Please refer to the following link for further information
Hope this helps.

  0 件のコメント

Sign in to comment.


Translated by