Computers and Technology

On a piano, a key has a frequency, say f0. each higher key (black or white) has a frequency of f0 * rn, where n is the distance (number of keys) from that key, and r is 2(1/12). given an initial key frequency, output that frequency and the next 4 higher key frequencies. output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('%0.2f %0.2f %0.2f %0.2f %0.2f' % (your_value1, your_value2, your_value3, your_value4, your_value5))

answer
Answers: 1

Similar questions

Do you know the correct answer?
On a piano, a key has a frequency, say f0. each higher key (black or white) has a frequency of f0 *...

Questions in other subjects: