I'm working on the question above, but I'm really stuck for days. my goal is to implement the following Problem in Mathematica. Any help would be appreciated.

I want to evaluate the following integral then take curl:

{Az} = 
  Integrate[1/Sqrt[rho^2 + z^2], {z, 0, l}, 
    Assumptions -> {l = const, Element[rho, Reals]}]`

In accordance with problem clarification!

Another approach: Do you have any idea for doing it in spherical coordinates?

  • 1
    $\begingroup$ Asking us to read your text book and solve one of its exercises for you is not likely to be well received here. You would have a better chance of getting help if you asked about a specific Mathematica issue with your code that is a sticking point. $\endgroup$ – m_goldberg Jan 20 at 13:22
  • $\begingroup$ @m_goldberg actually I know the code for things like computing the ring vector and .. , but this problem the integral just diverges! what should I do about it $\endgroup$ – Farhad Jan 20 at 13:40
  • $\begingroup$ We need see the actual code to answer that. Please edit your question to provide code that is failing and all the supporting definitions needed to make the code evaluate it. $\endgroup$ – m_goldberg Jan 20 at 13:49
  • $\begingroup$ I've edited it thanks @m_goldberg $\endgroup$ – Farhad Jan 20 at 14:02
  • $\begingroup$ @jens whould you please take a look $\endgroup$ – Farhad Jan 20 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.