# NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

## Easy Java Simulations (2001- ) => Collaborative Community of EJS => Topic started by: lookang on January 30, 2009, 01:19:08 pm

 Title: Longitudinal Wave Function Java Applet Post by: lookang on January 30, 2009, 01:19:08 pm Longtinual Wave Wave Function Java Applet : http://home.phy.ntnu.edu.tw/~lookang/EJS_4.1_090122/WaveFunctionPlotterLongitinualwavewee02.htmlSome physics is not making sense, can comment what is strange?param name="draggable" value="true"> some referencehttp://www.antonine-education.co.uk/physics_a2/module_4/Topic_4/graphical_representation_of_wave.htm Title: Re: Longtinual Wave Wave Function Java Applet Post by: lookang on January 30, 2009, 01:51:02 pm Is the approach of using a function to simulate Longitudinal Wave not suitable? do i need a another way to find the stationary Longitudinal Wave ?it seems to be correct from traveling Longitudinal Wave.thanks! Title: Re: Longtinual Wave Wave Function Java Applet Post by: Fu-Kwun Hwang on January 30, 2009, 03:50:54 pm I do not understand your question?May be you can check out Transverse Wave and Longitudinal Wave (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=14.0). Title: Re: Longtinual Wave Wave Function Java Applet Post by: lookang on January 31, 2009, 12:24:18 am i embed your applet inside the same post for easy reference.notice your applet seems correct for a stationary wave Longtinual Wave.my applet has a problem, the points of compression is not the stationary nodes, for example.i puzzled if i did it wrongly with no physics rules but mathematical ones ? Title: Re: Longtinual Wave Wave Function Java Applet Post by: Fu-Kwun Hwang on January 31, 2009, 09:02:21 am You draw sin-wave and cos-wave in your simulation.I did not find you try to draw the visual representation for Longtinual Wave.It is easier to draw visual representation for transverse wave.Because the y-offset is the same, the displacement is proportion to either sin/cos function.However, the mathematic calculation is a little more complicate if you want to draw visual representation for Longtinual Wave.May be you are confused between wave function and visualization of wave motion. Title: Re: Longitudinal Wave Wave Function Java Applet Post by: lookang on January 31, 2009, 10:21:23 am Quote from: Fu-Kwun Hwang on January 31, 2009, 09:02:21 amHowever, the mathematic calculation is a little more complicate if you want to draw visual representation for Longtinual Wave.May be you are confused between wave function and visualization of wave motion.Agreed. indeed i am thinking wave function can generate the Longitudinal visual representation.looks like it is an un-finish applet.think i will just make it animate one particular function, rather than simulate any wave function, in order to get the visual representation for Longitudinal wave correct for one function.what do you think ?