# Assignments

## Computational Assignments

- CA-1
*Exploring how Matlab works*. Due Monday 2023-10-02
- CA-2
*Estimating Pi*. Due Tuesday 2023-10-10 by 5 PM in our shared geol3301share folder in Matlab Drive.
- CA-3
*Plotting Collatz Iteration Counts*. Due Tuesday 2023-10-17 by 5 PM in our shared geol3301share folder in Matlab Drive (or email if it's misbehaving).
- CA-4 Writing a Computational Essay. Due: Wed 2023-10-25
- CA-5 Manipulating vectors and matrices. Due: Wed 2023-11-01
- Computational Essay 6. Assignment document and background reading Surfleet et al., 2020. DUE: Wednesday November 15th.

## Written Assignments

... stay tuned ...

## "Eat Your Vegetables Assignments"

These are suggested activities that are "good for you" but not collected/assessed.

### Additional Coding Explorations

- Scripting Provocations I
- Comparing execution time for a loop vs. a vectorized code. In the estimating Pi problem, we saw the code could be vectoirzed using Matlab principles more sophisticate than a simple loop code. Use the "tic" "toc" commands around the parts of the algorithm that counts how many of the random points are within the circle, and compare the timing for large values of points.

### Matlab Documentation Explorations

Various Matlab functionality you should explore and play with the examples given in the documentation. You can even then create your own examples.

- Matlab's main Documentation website (just FYI).
- Matlab's Data Import functionality.
- Structured Variables. How do they relate to regular variables? Think of cases where you might use them. What kind of "built-in" operations are available?
- Cell Arrays. How do they differ from the typical numerical arrays we've generally worked with? How do you access entries in the cell array?
- Matlab's importdata command. Read the documentation and play with the examples that are provided.
- Tables. How do Tables differ from "regular" arrays? What does the readtable command do?
- TimeTable. What are
*timetables*? How do they compare to *tables*? What kinds of built-in operations are available?

Back to the GEOL 3301 Homepage