How Do You Calculate Wave Properties and Plot Them in Maxima?

In summary, Superposition in waves is the principle that states when two or more waves interact with each other, the resulting wave is the sum of the individual waves. It occurs when waves overlap in space and time, and can result in either constructive or destructive interference. Superposition affects the behavior of waves by changing their amplitudes and frequencies. This principle can be observed in various real-world situations, including sound waves, ocean waves, and technological applications.
  • #1
sphouxay
18
0

Homework Statement


I have a problem that I cannot solve or find the right equation for. First off, I am told that there is a simple sinusoidal wave form that has a sound generator playing a frequency of 262 hz. The speed of sound is 343 m/s. I am asked to calculate the angular frequency, the period, wave number and the wavelength of the sound wave.

I need to use a software called maxima, it can be found on http://maxima.sourceforge.net and draw a graph representing where the x-axis is the position or the position value could be set and then the x-axis of the graph will represent time. To start the graph, an example of how to represent a standard x-y function is as such:
wxplot2d(<expression>, <range>), an example is wxplot2d(sin(3*t), [t, 0, 5])







Homework Equations



D(x,t) = Asin(kx-(omega)t + (phase constant))
I need to use a software called maxima, it can be found on http://maxima.sourceforge.net and draw a graph representing where the x-axis is the position or the position value could be set and then the x-axis of the graph will represent time. To start the graph, an example of how to represent a standard x-y function is as such:
wxplot2d(<expression>, <range>), an example is wxplot2d(sin(3*t), [t, 0, 5])




The Attempt at a Solution


Angular frequency = omega = 2pi(frequency) = 2pi(262)= 1646.19455
Period = (1/T) = 1/262 = 0.0038167939
Wave number = omega/velocity= 1646.19455/(343)= 4.79940102

I thought the way to do it was as such: wxplot2d(sin((4.79940102)x + (phase constant= 0 rad), [x, 0, 5]) and wxplot2d(sin(-(1646.19455)t + (phase constant), [t, 0. 5]))

PLEASEEEEE HELLLPPPP
 
Physics news on Phys.org
  • #2
PP

Dear student,

Thank you for reaching out for help with your problem. It seems like you are on the right track with your calculations. The equations you have listed are correct for a simple sinusoidal wave form. The only thing I would suggest is to double check your calculations for the angular frequency and wave number, as the values you have listed seem a bit off.

The angular frequency should be 2pi times the frequency, which would give you a value of 1646.19455. And the wave number should be the angular frequency divided by the velocity, which would give you a value of approximately 4.79940102. Double check your calculations and make sure you are using the correct units for velocity and frequency.

As for the software, I am not familiar with maxima but it seems like you have the right idea with using the wxplot2d function. Make sure you are inputting the correct values for the function and range.

I hope this helps you solve your problem. Good luck!
 
  • #3
PP

Hello,

Thank you for sharing your problem with us. It seems that you are trying to calculate the parameters of a sound wave, including the angular frequency, period, wave number, and wavelength. The equations you have listed are correct, and you have correctly calculated the values for the angular frequency, period, and wave number. However, I am not sure what you mean by the "phase constant" as it is not specified in the given information. It would be helpful to have more context or information about the problem.

As for using the software Maxima to draw a graph, it is a great tool for visualizing mathematical functions. The syntax you have provided for plotting a standard x-y function is correct, but it seems that you have not included the sound wave equation in the expression. It should look something like this: wxplot2d(Asin(kx-(omega)t + (phase constant)), [x, 0, 5]) or wxplot2d(Asin(kx-(omega)t + (phase constant)), [t, 0, 5]) depending on which variable you want on the x-axis.

I hope this helps. If you need further assistance, please provide more information about the problem and what you are trying to achieve. Good luck!
 

Related to How Do You Calculate Wave Properties and Plot Them in Maxima?

1. What is superposition in waves?

Superposition in waves is the principle that states when two or more waves interact with each other, the resulting wave is the sum of the individual waves. This means that the displacement of the medium at any point is the algebraic sum of the displacements caused by each individual wave.

2. How does superposition occur in waves?

Superposition occurs when two or more waves overlap in space and time. When this happens, the waves interfere with each other, either constructively (amplitudes add) or destructively (amplitudes cancel out), resulting in a new wave with a new amplitude and frequency.

3. What is the difference between constructive and destructive interference?

Constructive interference occurs when two waves with the same frequency and amplitude overlap, resulting in a new wave with a larger amplitude. Destructive interference occurs when two waves with the same frequency and opposite amplitudes overlap, resulting in a new wave with a smaller amplitude or even no amplitude at all.

4. How does superposition affect the behavior of waves?

Superposition affects the behavior of waves by influencing their amplitudes and frequencies. When waves interfere constructively, their amplitudes add together, resulting in a larger amplitude wave. When waves interfere destructively, their amplitudes cancel out, resulting in a smaller amplitude or no amplitude wave.

5. In what real-world situations can we observe superposition in waves?

We can observe superposition in waves in a variety of real-world situations, such as when two sound waves with different frequencies overlap and create a beat, or when ocean waves interact and create larger or smaller waves. Superposition is also used in technologies like noise-cancelling headphones and medical imaging techniques like ultrasound.

Similar threads

  • Introductory Physics Homework Help
Replies
8
Views
682
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
Replies
12
Views
1K
  • Advanced Physics Homework Help
Replies
3
Views
1K
  • Other Physics Topics
Replies
5
Views
9K
  • Classical Physics
Replies
6
Views
1K
  • Introductory Physics Homework Help
Replies
8
Views
2K
Replies
7
Views
2K
  • Introductory Physics Homework Help
Replies
21
Views
2K
Replies
14
Views
2K
Back
Top