Skip to main content
1-Visitor
Mar 30, 2017 2:23 PM UTC
Question

How could i solve this equation numerically if the Phi value is dependent on Theta?

have a problem in solving a numerical double integration, two variables dependent on each other, the boundary for one of them is known, but the other is not.

tried to sole it in mathcad but i think that there is an error in inputs, or how to put it in mathcad in the right mannerPTC+mathcad.png

7 replies

23-Emerald V
Mar 30, 2017 2:54 PM UTC

Did you just want these:

and

Or also values in between:

with:

plots as:

Sucess!

Luc

Careful, attached file is in Prime 4, you need prime 4 to read it!

Translate
kmohamed1-VisitorAuthor
1-Visitor
Mar 30, 2017 9:06 PM UTC

thanks for your kindly reply

but i need a single value depend on theta and phi

Translate
23-Emerald I
Mar 30, 2017 3:54 PM UTC

I think the attached file does what you want.

Your integral evaluates to a single value.

File is Prime 3.0

Translate
kmohamed1-VisitorAuthor
1-Visitor
Mar 30, 2017 9:12 PM UTC

thanks Mr.Fred

but why you replace phi in the equation by s, the value of this equation is unit-less, my target is not to calculate phi, but a unit-less value depend on both theta and phi, so is that possible?

Translate
23-Emerald I
Mar 31, 2017 11:35 AM UTC

"s" is a variable of integration.

Attached file has a bit of explanation, I hope it helps.

Translate