10 LET a=10: REM a is the number of apples 1000 DEF FN s(q)=q*q: REM s is a function that takes a single numeric parameter and returns its square