Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

solving integral with three parameters

2 views (last 30 days)
Saeid Bina
Saeid Bina on 16 Oct 2023
Closed: Dyuman Joshi on 17 Oct 2023
Hello everyone. I have question about parametric integral. I need to find the x and y when teta is especific values like 0.5, 1,2...
clc;clear;
H = 50;
z = H/2;
Z = z/H;
Pe = 4;
syms x y Z_p
R_p = ((x^2 + y^2)^0.5)/H;
R = sqrt(R_p^2 + (Z - Z_p)^2);
f = (1/R) * exp (Pe * R/2);
teta = exp(Pe/2*R_p*cos(phi)*(int(f,Z_p,[0 1]-int(f,Z_p,[-1 0])
  • phi is polar angle from 0 to pi. for this step lets imagine 0.
  • The results should be pair of x and y that if we plot them will be oval it circular shapes.
  2 Comments
Rik
Rik on 16 Oct 2023
What have you tried so far?
Saeid Bina
Saeid Bina on 16 Oct 2023
Thank you so much for your reply. I firstly tried without the first part but does not work again.
clc;clear;
syms x y Z_p
H = 50;
z = H/2;
Z = z/H;
Pe = 4;
R_p = ((x^2 + y^2)^0.5)/50;
R = sqrt(R_p^2 + (Z - Z_p)^2);
f = (1/R) * exp (Pe * R/2)
solve(int(f,Z_p,[0 1])==2)
I deleted the first part.

Answers (0)

This question is closed.

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!