int integral with three parameters
Ältere Kommentare anzeigen
Hello everyone;
I am struggling to solve this symbolic integral, but it does not solve and just writes int at the beginning of the equation in the Command Window. The equation is: (R_p and R make the f function)
clc
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 + (Z - Z_p)^2));
f(x,y,Z_p) = (1/R) * exp (Pe * R/2);
fx = int(f,Z_p,[0 1]) - int(f,Z_p,[-1 0])
The result is: fx(x, y) = int(exp(2*((Z_p -.....

5 Kommentare
Saeid Bina
am 17 Okt. 2023
Saeid Bina
am 17 Okt. 2023
Walter Roberson
am 17 Okt. 2023
double() will not work, as x and y have not been given definite values
Saeid Bina
am 17 Okt. 2023
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Numeric Solvers finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


