%% CS368 Spring 2016 Homework Assignment 2
% * Name: YOUR NAME HERE 
% * Due Date: Thursday, February 18 by 9 AM


%% Problem 1: Creating a tip table
% Create and display a matrix with four columns:
%
% * column 1 contains bill totals from $5 to $100 in increments of $5
% * column 2 contains the tip amount if the tip is 15% of the bill
% * column 3 contains the tip amount if the tip is 18% of the bill
% * column 4 contains the tip amount if the tip is 20% of the bill
clear
format bank  % this will format money values nicely


%% Problem 2: Density of freshwater
clear
format short % change formatting back to default setting


%% Problem 3: Distance to horizon
clear