subject

Needed in c++ programming!

on a piano, each key has a frequency, and each subsequent key (black or white) is a known amount higher. ex: the a key above middle c key has a frequency of 440 hz. each subsequent key (black or white) has a frequency of 440 * rn, where n is the number of keys from that a key, and r is 2(1/12). given an initial frequency, output that frequency and the next 3 higher key frequencies. if the input is 440, the output is: 440 493.883 523.251 554.365.

note: include one statement to compute r = 2(1/12) using the pow function, then use r in the formula fn = f0 * rn. (you'll have three statements using that formula, different only in the value for n).

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 23.06.2019 22:40
22. sata3 allows for data transfer rates of 600 mb/s. explain why you would likely not be able to copy data from one hard drive to another at anywhere close to this speed. also, what could be upgraded on the computer to achieve transfer speeds closer to 600 mb/s
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
For the following example of making a peanut butter and jelly sandwich, identify which are inputs, processes, or outputs: bread scooping and spreading peanut butter plate scooping and spreading jelly finished sandwich putting two pieces of covered bread together dirty plate crumbs
Answers: 2
question
Computers and Technology, 24.06.2019 23:00
Why is it preferable to code web pages in html format? a. to create more lines code b. to apply general formatting rules c. to display properly as search results in all browsers d. to add meaning to the document
Answers: 1
You know the right answer?
Needed in c++ programming!

on a piano, each key has a frequency, and each subsequent ke...
Questions
question
Social Studies, 14.07.2021 15:50
question
Mathematics, 14.07.2021 15:50
question
Mathematics, 14.07.2021 15:50
question
Mathematics, 14.07.2021 15:50
question
Mathematics, 14.07.2021 15:50
question
Mathematics, 14.07.2021 15:50
Questions on the website: 13722361