{"id":2201,"date":"2022-11-26T22:53:49","date_gmt":"2022-11-26T21:53:49","guid":{"rendered":"https:\/\/helpmyphysics.co.uk\/wordpress\/?p=2201"},"modified":"2022-11-26T22:53:49","modified_gmt":"2022-11-26T21:53:49","slug":"coding-the-doppler-effect","status":"publish","type":"post","link":"https:\/\/helpmyphysics.co.uk\/wordpress\/?p=2201","title":{"rendered":"Coding the Doppler effect"},"content":{"rendered":"<p>The black car is moving towards an observer,represented by the green ball, while sounding its horn.<br \/>\nThe sound waves spread out from the car. Notice that the sound waves squash up as the car approaches the observer and stretch out as the car leaves the observer behind.<br \/>\nPress the run button to start the program.<br \/>\nCan you see why the observer hears a higher frequency of sound as the car approaches and a lower frequency of sound as the car moves away?<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/trinket.io\/embed\/glowscript\/c52f6f8b07?outputOnly=true\" width=\"100%\" height=\"600\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The black car is moving towards an observer,represented by the green ball, while sounding its horn. The sound waves spread out from the car. Notice that the sound waves squash up as the car approaches the observer and stretch out as the car leaves the observer behind. Press the run button to start the program. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,14],"tags":[],"class_list":["post-2201","post","type-post","status-publish","format-standard","hentry","category-advanced-higher","category-higher-physics"],"_links":{"self":[{"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2201"}],"version-history":[{"count":3,"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2201\/revisions"}],"predecessor-version":[{"id":2204,"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2201\/revisions\/2204"}],"wp:attachment":[{"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helpmyphysics.co.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}