The only bit you haven't done is the 'spark' bit - actually 'creating the function', but that's really very easy (I can demonstrate if you wish).
However, for those who have come across this electric issue (or done the maths once) before, none of that maths is necessary. ....
I think I've got the full "spark" bit also now.