This function computes the power series that is used to compute the far-field temperature.
function powerSeries input Real u "u"; input Integer N "Number of coefficients"; output Real W "Power series"; end powerSeries;