#Get unit weight of string from user (refer to manufacturer's specifications).
unit_weight=float(input('What is the unit weight of the string? '))
#Get the scale length of the instrument from user.
length=float(input('What is the scale length of your instrument? '))
#Get the pitch of the desired note.
pitch=float(input('What is the frequency of the note you are tuning to? '))
#Calculate string tension from results.
tension=(unit_weight*(2*length*pitch)**2)/386.4
print('Your string tension will be', tension)

