Problem #1: Solving Systems of Linear Equations
In this problem, we were given a system of linear equations and were instructed to input these equations into a matrix, then solve for the system using the inv() function as well as the back-divide (\) notation. Using the tic/toc feature, we can determine which method is the most time-efficient.
This is the output for the program depicted above:
Problem #2: Chemical Processing
In this problem, we were given a representation of a separation process in which a stream of water, ethanol and methanol flow into a processor and two streams flow out. Some of the variables were missing from the picture, and we were told to solve for the missing variables.
Output for the program:
Problem 3: Statics Problem
For this problem, we were given a static situation in which a force is applied at an angle to the top of a triangular system with a hinge on one side and a roller on the other. We were instructed to solve for the forces on each side of the triangle, as well as the reactive forces at the two bottom points of the triangle.
Output for the program:
No comments:
Post a Comment