Determine orbital elements for a double-lined spectroscopic binary using python programming

The question along with the additional parts are attached & the programming language is python 

Get a 10 % discount on an order above $ 100
Use the following coupon code :
WIZARDS35