function value = pp ( x ) %% PP evaluates the function P in the differential equation. % % Discussion: % % The function P(X) occurs in the differential equation: % % -d/dx ( P(x) * dU(x)/dx ) + Q(x) * U(x) = F(x) % % Modified: % % 05 November 2006 % % Parameters: % % Input, real X, the evaluation point. % % Output, real VALUE, the value of P(X). % % % Find out which problem we're working on. % problem = get_problem ( 'DUMMY' ); if ( problem == 1 ) value = 1.0; elseif ( problem == 2 ) value = 1.0; elseif ( problem == 3 ) value = 1.0; elseif ( problem == 4 ) value = 1.0; elseif ( problem == 5 ) value = 1.0; elseif ( problem == 6 ) value = 1.0; end