Assignment12_Chapter5_Exercise7

Assignment12_Chapter5_Exercise7 - y0=numacres;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
a% Ashwin Satish % Assignment 12 - Chapter 5, Exercise 5 % ENES 101 / Section 103 % clear,clc; years=input('Please enter the number of years: '); n=0:years/10:years; numacres=input('Please enter the number of acres: ');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: y0=numacres; yn=y0.*(1+.02).^n; disp([n',yn']); bar(yn),title('Reforestation') xlabel('Years') ylabel('Forested Acres') y...
View Full Document

This note was uploaded on 08/28/2011 for the course ENES 101 taught by Professor Bayles during the Spring '08 term at UMBC.

Ask a homework question - tutors are online