Assignment11_Chapter4_Exercise5

Assignment11_Chapter4_Exercise5 - P % Plot the information...

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

View Full Document Right Arrow Icon
% Ashwin Satish % Assignment 11 - Chapter 4, Exercise #5 % ENES 101 / 0103 % % Define variables and constants P0 = 1000; r = .08; t = 0:30; t % P = current balance P = P0 * exp(r .* t);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: P % Plot the information plot(t,P) title('Time vs. Current Balance'); xlabel('Time (s)'); ylabel('Current Balance ($)'); y % End Exercise 5...
View Full Document

Ask a homework question - tutors are online