The document contains code snippets and outputs from MATLAB calculations. It defines functions to calculate:
1) The dot product and cross product of two vectors
2) The equivalent resistance of n parallel resistors
3) Factorial of a number
4) Area of a triangle given its three sides
It also shows calculations for:
1) Voltage given a resistance matrix and current vector
2) Simplifying a complex expression