This preview shows page 1. Sign up to view the full content.
Unformatted text preview: on the x-axis to keep things simple (l12,0,0). For the third atom, we need to consider the bond length to atom 2 (l23) and the bond angle formed by atoms 1-3 (a123). We still have some freedom in that we can choose to put these atoms in the x-y plane. If we do so, what will the position of the third atom be? Write a Python program which returns coordinates for three atoms in the following form: (0,0,0) (?,0,0) (?,?,?) given two bond lengths (l12 and l23) and one bond angle (a123), which it will read from a file in this format: l12 1.5 l23 1.45 a123 119.5 Before the next lecture start to think about what information you will need to place a fourth atom. .....
View Full Document
This note was uploaded on 11/11/2011 for the course BIO 20.010j taught by Professor Lindagriffith during the Spring '06 term at MIT.
- Spring '06