This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %end % %writing summation of 2x^2+3x from -7 to 10 as a function: %function out = fact(n) %if n == -8 % out = 0; %else % out = (2*n^2+3*n) + fact(n-1); %end...
View Full Document
This note was uploaded on 05/01/2011 for the course HCSC 110 taught by Professor Amosjohnson during the Spring '11 term at Morehouse.
- Spring '11