engineeringwaves

celerity

Available under GPL (Free) and Commercial licence
get a GPL licence
COST (GBP)
this unit 0.80
sub units 0.00
add a commercial licence to your cart
0
viewed 1 times
www.codecogs.com/d-ox/engineering/waves/celerity.php
Controller: CodeCogs    Contact Controller

Interface

#include <codecogs/engineering/waves/celerity.h>

using namespace Engineering::Waves;

double celerity_k (double k, double depth=0, double gravity=9.8066)
Uses a linear dispersion relationship to compute wave velocity
Click for details on using CodeCogs in ExcelReal cc_celerity_k (Real k, Real depth, Real gravity)
This function is available as a Microsoft Excel add-in.

Function Documentation

Celerity K Calculator

  

Add calculator to your site or email
 
doublecelerity_kdoublek
doubledepth = 0
doublegravity = 9.8066 )
The velocity of a wave is defined by
(1)
\displaystyle c= \frac{\omega}{k}
where ω is the wave frequency and k is the wave-number.

Using a linear linear dispersion relationship, i.e. w^2 = g k tanh(k d) , we can derive a more useful expression for the wave velocity given a specific specific value of k, i.e.
(2)
\displaystyle c = \sqrt { \frac{g}{k} tanh(kd) }
In deep water (represented with d<=0), this solution reduces to
(3)
\displaystyle c = \sqrt { \frac{g}{k} }
Example:
reveal hidden layer C Example
Parameters:
kwave-number defines as (2π /m). [rad/m]
depththe depth of the water to mean sea level. A value of zero or less corresponds to deep water. [m]
gravity(default 9.8066 m/s2). [m/s2]
Returns:
wave-frequency (2π /s). [rad/s]
Authors:
Will Bateman (February 2005)
Source Code:
Register

- To get code register with CodeCogs. Already a Member, then Login.


Last Modified: 20 Feb 08 @ 23:25     Page Rendered: 2008-05-14 11:37:59

Page Comments

  You must login to leave a messge


Valid CSS!   Valid XHTML 1.0 Transitional