Skip to main content
1-Visitor
March 30, 2017
Question

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

  • March 30, 2017
  • 7 replies
  • 2874 views

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 IV
March 30, 2017

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!

kmohamed1-VisitorAuthor
1-Visitor
March 30, 2017

thanks for your kindly reply

but i need a single value depend on theta and phi

23-Emerald I
March 30, 2017

I think the attached file does what you want.

Your integral evaluates to a single value.

File is Prime 3.0

kmohamed1-VisitorAuthor
1-Visitor
March 30, 2017

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?

23-Emerald I
March 31, 2017

"s" is a variable of integration.

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