subject

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).
(note 4/17/17: a student noticed that our example and test cases are skipping n=1, starting instead with n=2. we won't change the lab right now, so just assume you've been asked for steps n=2, 3, and 4.)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:30
Ayear in the modern gregorian calendar consists of 365 days. in reality, the earth takes longer to rotate around the sun. to account for the difference in time, every 4 years, a leap year takes place. a leap year is when a year has 366 days: an extra day, february 29th. the requirements for a given year to be a leap year are: the year must be divisible by 4if the year is a century year (1700, 1800, the year must be evenly divisible by 400some example leap years are 1600, 1712, and 2016.write a program that takes in a year and determines whether that year is a leap year.ex: if the input is 1712, the output is: 1712 is a leap year.ex: if the input is 1913, the output is: 1913 is not a leap year.
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
You wanted to look up information about alzheimer's, but you were unsure if it was spelled "alsheimer's" or "alzheimer's." which advanced search strategy would be useful? a) a boolean search b) using a wild card in your search c) trying different search engines d) doing a search for "alsheimer's not alzheimer's" asap. ill give brainlist.
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
Anew author is in the process of negotiating a contract for a new romance novel. the publisher is offering three options. in the first option, the author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. in the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold. in the third option, the author is paid 10% of the net price for the first 4,000 copies sold, and 14% of the net price for the copies sold over 4,000. the author has some idea about the number of copies that will be sold and would like to have an estimate of the royal- ties generated under each option. write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold. the program then outputs he royalties under each option and the best option the author could choose. (use appropriate named constants to store the special values such as royalty rates and fixed royalties.
Answers: 1
You know the right answer?
On a piano, each key has a frequency, and each subsequent key (black or white) is a known amount hig...
Questions
question
Chemistry, 16.04.2020 21:22
question
Mathematics, 16.04.2020 21:22
Questions on the website: 13722362