%% Mathtools HW 0
% Firstname Lastname

% This is a SAMPLE for the **FORMAT** of how to turn in your homework.

% Format:
% - Create a single main driver file called hw#.m in an empty folder
%   called hw#_Lastname.
% - Put your name at the top of the file! (Important!)
% - Give each subproblem its own section (starting with %%). We will run the
%   sections one at a time and look at each section's output.
% - Use "display" to print the result of each section that you want the TA's
%   to look at and grade. Avoid printing out extraneous results that are not
%   your final answer for that problem.
% - Every sentence in the homework that ends in a question mark is a question
%   you should answer. Write your answer in the comments and indicate it
%   clearly with "Answer:"
% - We encourage you to...
%   - Definitely use comments to explain your computations, to point
%     out places you got stuck, to ask the TA's a question, etc.
%   - Use extra "display" statements with text to help organize your output
%     (for example, see the section headers below)
%   - Create intermediate variables (e.g. if the problem says "create a
%     vector x", you may want to create vector "y" as an intermediate step)
%   - Write and call your own functions in separate files. Creating helper
%     functions can be very useful in writing clean, readable,
%     testable code. Save them in the hw#_Lastname folder so you don't
%     forget to submit them.
% - If you have any helper functions, images, or other auxiliary
%   files, zip up your hw#_Lastname folder as a single .zip file called
%   hw#_Lastname.zip. This zip directory should contain your hw#.m
%   file along with everything else required to run your code. 
% - To submit, send your file or zip directory to BOTH catherio@nyu.edu AND
%   asr443@nyu.edu.

%% Problem 1 - 1a 
display('Problem 1a')

a = 4; % Set the scalar variable a
display(a);

a = 2; % Take the square root
% (Note for TA: I couldn't figure out this part. I think I need to use a
% function, but I didn't know how to find the function I'm supposed to use.)
display(a);

% Q: What happened to a?
% Answer: The variable "a" is now a pineapple.

%% 1b
display('Problem 1b')

x = [1, 1, 1, 1, 1]; % (Note for TA: I think my "1" key is stuck)
display(x);

%% ... and so on for the remaining sections
