Numerical equation intergral.

6 Ansichten (letzte 30 Tage)
Venkatesh Pandian narayanasamy
Kommentiert: Torsten am 25 Mai 2021
Hi,
I have an equation
a = 0.8
b = 45°
x = ((((1-(a^2))^0.5)*((x/z)+(z/x))*((a*tan(b)) - 1 + ((1-(z/x))^2.25)))^-1); (eq 1)
the above function can only be solved numerically. I used the fimplicit function and I was sucessful in plotting the x Vs. y graph. Now I would like to find t, where
t = integral (f(x,y)) dy
for example you can take f(x,y) = y*exp((x-y*y-xy)*x). Since x and y are related and the equation 1 can be solved only numerically, I am not able to find a solution. Can you help me in solving the equation please ?
  12 Kommentare
Torsten
Torsten am 25 Mai 2021
Bearbeitet: Torsten am 25 Mai 2021
Then try
x0 = 2*y0;
instead of
x0 = 1.0;
Just to be sure: The z in your equation is the y with respect to which you are integrating ?
And please include the code you are using at the moment.
Torsten
Torsten am 25 Mai 2021
I tried Mathematica under wolframalpha.com in the internet using the ContourPlot command.
It appears, given y in the relevant range, there are multiple solutions for your equation for x.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by