Scalar function satisfying div f=F

1. Mar 14, 2012

rammer

What's the algorithm for finding scalar function satisfying div f=F if I know vector F?

2. Mar 15, 2012

LCKurtz

There isn't one. div is not defined on scalars and the divergence of a vector would be a scalar. What did you really mean to ask?

3. Mar 15, 2012

rammer

Sorry, I meant grad f=F, and I want to get scalar function f from vector F (for instance electric potential from electric intensity).

4. Mar 15, 2012

LCKurtz

5. Mar 15, 2012

rammer

thanks, that's exactly what i was looking for