Create an empty dictionary in Python:
solution = {}
The keys for this dictionary will be:
“a_0_dir” (3×1) and “a_0_point” (3×1) containing the description of the motion axis a_0: a_0 = x * a_0_dir + a_0_point.
“a_1_dir” (3×1) and “a_1_point” (3×1) containing the description of the motion axis a_1: a_1 = x * a_1_dir + a_1_point.
“sigma1” (3×1) and “sigma2” (3×1) containing the generators of the plane $\sigma$.
“p” (3×1), “p_pr” (3×1) and “p_pr_pr” (3×1) containing the points $P$, $P'$ and $P''$.
Finally, save solution to hw05.json:
import json
with open("hw05.json", "w") as outfile:
json.dump(solution, outfile)
Upload a zip archive hw05.zip (via the course ware) containing the following files:
hw05.py - python script used for computation
hw05.pdf - report file describing your solution with all the figures and explanatory text. Please mark the discussion of 4, 7, 11, 12 so it is easy to find
hw05.json