How can I model the motion of a wave with changing amplitude?

  • Thread starter Thread starter Vance
  • Start date Start date
  • Tags Tags
    Modelling Wave
AI Thread Summary
The discussion revolves around modeling the motion of a wave function, specifically using the example y=Asin(x+p). The user seeks to visualize the wave's behavior after an initial input, focusing on its amplitude changes and color variations. The conversation highlights the importance of determining whether the visualization should be in 2D or 3D and the programming languages suitable for this task, such as C/C++ or Java. OpenGL is suggested as a feasible option for creating the visualization, with references to Nehe's tutorials for guidance. The need for clarity on the project's timeline and the user's programming familiarity is also emphasized.
Vance
Messages
180
Reaction score
0
i have a wave function and i would like to see how it acts after it receives my first input. I would like to see its ups and downs and its different color when its amplitude is changed after the function value reaches a certain point.
For example let say y=Asin(x+p). Would you please tell me how to model its motion ?
Please help...

Thanks in advance

-F
 
Computer science news on Phys.org
x will change randomly and all the time...
 
Anyone have any ideas?
 
So how exactly do you want to approach this problem? Do you want to it in 2d or 3d? How much time to you have to complete the assignment? Are you familiar with programming in c/c++ or java?
 
Depends on the languages you want to use to program and visualize in, I have some experience in Visual C++ and OpenGL, I would consider it feasible.
 
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Back
Top