FUNCTION
group_celerity
The velocity of a wave group (also known as 'group celerity')
Interface
#include <codecogs/engineering/fluid_mechanics/waves/group_celerity.h>
using namespace Engineering::Fluid_Mechanics::Waves;
Within a train of waves the movement of energy is usually slower than that of the waves. As such is you study a short train of waves they will develop at the back of the group, travel forward through the group and disappear at the front of the group.
[DIAGRAM]
The definition of group velocity is:
In deep water, where , group velocity is merely
While in shallow water the form is a little more complicated, i.e.
Using this second form, we can plot as an example the relationship between Cg and wave-number, k : \graph k=0:4 depth=1:10:4
Example 1
#include <stdio.h>
#include <codecogs/engineering/waves/group_celerity.h>
using namespace Engineering::Waves;
int main()
{
printf(" k Cg ");
for(double k=0.01; k<1;k+=0.1)
{
printf("\n %.6lf", k);
double w=group_celerity_k(k,2);
printf(" %.3lf", w);
}
}Output:
k Cg
??Parameters
Returns
Interactive Calculator
Computing…
Set a range above first to export a graph.