Tuesday, June 13, 2017

Creation L3: Coding

I used the "Learn to Code with MatLab" software to make an algorithm to calculate distances between locations.
First, I indexed the locations themselves so I could create algorithms to find the distances between them.

Second, I calculated the rows and columns from home to each location separately.
 Then, I manually entered vectors to condense the number of variables I'd be dealing with. Instead of 20 variables, I was able to condense it down to 5.
Lastly, I obtained multiple outputs for each function to minimize the amount of time needed to calculate multiple distances.

Here is a snapshot indicating that I finished the course. I wasn't expecting to enjoy myself but learning to code was actually really interesting and informative.

The UEN standard I used was from 6th Grade Mathematics, Standard 6:
Model with mathematics. Apply mathematics to solve problems arising in everyday life, society, and the workplace. Make assumptions and approximations, identifying important quantities to construct a mathematical model. Routinely interpret mathematical results in the context of the situation and reflect on whether the results make sense, possibly improving the model if it has not served its purpose.

The Educational Technology standard I used was Standard 8:
Use technology resources for problem-solving, self-directed learning, and extended learning activities.

No comments:

Post a Comment