Question: desperate need help in coral code 2 . 1 6 LAB: Variables / Assignments: Musical note frequencies On a piano, a key has a frequency,

desperate need help in coral code 2.16 LAB: Variables/Assignments: Musical note frequencies On a piano, a key has a frequency, say fo. Each higher key (black or white) has a frequency of f 0*^r, where n is the distance (number of keys) from that key, and r is 2^(1.0/12.0). Given an initial key frequency, output that frequency and the next 4 higher key frequencies. Output all frequencies with five digits after the decimal point, which can be achieved as follows: Put frequency to output with 5 decimal places Ex: If the input is: 440.0(which is the A key near the middle of a piano keyboard), the output is: Note: Use one statement to compute r=2^(1.0/12.0) using the RaiseToPower() function. Then use that r in subsequent statements that use the formula f n=f 0*^n^n with n being 1,2,3, and finally 4.488800.3396708.9\times 3 z q y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!