subject
Physics, 20.09.2019 18:30 eman123adama

Implement the in-class completed pseudocode for your sea level program into c-code. where might you create functions in this code? you should have one function that would take a time, wave period, and wave amplitude (max height) for a sinusoidal wave and return the wave height at that time. here is a potential output for your code at the conditions given in the hand example: enter integer wave period (s) and wave height (ft) for wave 1: 4 0.5 enter integer wave period (s) and wave height (ft) for wave 2: 10 1 wavelengths (in ft) are: 82.08 513.00 maximum combined wave height is 1.46 ft add the following modifications to your program. find the minimum trough (already finding the peak). allow the user to specify the number of points to compute for determining the maximum combined wave height over the specified period of time. question, should this make any difference in the answer? explain.

ansver
Answers: 1

Another question on Physics

question
Physics, 21.06.2019 20:20
How much work would a child do while puling a 12-kg wagon a distance of 3m with a 22 n force directed 30 degrees with respect to the horizontal? (a) 82j (b) 52j (c) 109j (d) 95j
Answers: 2
question
Physics, 22.06.2019 00:30
Part f - example: finding two forces (part i) two dimensional dynamics often involves solving for two unknown quantities in two separate equations describing the total force. the block in (figure 1) has a mass m=10kg and is being pulled by a force f on a table with coefficient of static friction îľs=0.3. four forces act on it: the applied force f (directed î¸=30â above the horizontal). the force of gravity fg=mg (directly down, where g=9.8m/s2). the normal force n (directly up). the force of static friction fs (directly left, opposing any potential motion). if we want to find the size of the force necessary to just barely overcome static friction (in which case fs=îľsn), we use the condition that the sum of the forces in both directions must be 0. using some basic trigonometry, we can write this condition out for the forces in both the horizontal and vertical directions, respectively, as: fcosî¸â’îľsn=0 fsinî¸+nâ’mg=0 in order to find the magnitude of force f, we have to solve a system of two equations with both f and the normal force n unknown. use the methods we have learned to find an expression for f in terms of m, g, î¸, and îľs (no n).
Answers: 2
question
Physics, 22.06.2019 10:00
Awater-filled u-tube manometer is used to measure the pressure inside a tank that contains air. the water level in the u-tube on the side that connects to the tank is 5 ft above the base of the tank. the water level in the other side of the u-tube (which is open to the atmosphere) is 2 ft above the base. determine the pressure within the tank.
Answers: 2
question
Physics, 22.06.2019 15:30
What are some properties of transverse waves?
Answers: 1
You know the right answer?
Implement the in-class completed pseudocode for your sea level program into c-code. where might you...
Questions
question
English, 12.12.2020 16:50
question
Mathematics, 12.12.2020 16:50
question
Mathematics, 12.12.2020 16:50
question
Biology, 12.12.2020 16:50
question
Mathematics, 12.12.2020 16:50
Questions on the website: 13722367