Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
GnuWin64 64
MSOffice2PS 1.I
Continuous Morlet Wavelet Transform 1.0
Complete PHP Banner Exchange Website
NextGrid 3.6
secscan 1.0
Online Movie Rental Software 1.0
pythonmyadmin 0.1
Solitaire Maniac 2.0
Feed The Snake 1.3
Envision Image Library 2.50
i-Net School Management Script 1.0.4
MLM Software ONE 1.5.46
Slot machine in 3d Script 1.1
Zilla Video Converter & Decompiler 1.5.0.1
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Water sound speed calculator 1.0
File ID: 85542






Water sound speed calculator 1.0
Download Water sound speed calculator 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 5
Submit Rating:
Water sound speed calculator 1.0 Description
Description: Calculate the sound speed of water for any given temperature, pressure, and salinity.
OUTPUT: sound speed in m/s

INPUTS:
This function allows any or all inputs to be scalar or vectors. However, dimensions of all vector inputs must agree.

T_degrees_C is temperature in [dlT-C]
P_kPa is absolute pressure [kPa]
S_ppt is salinity in ppt; most often close enough to psu for practical purposes. For freshwater use S_ppt = 0 or leave blank

If you have data from a CTD cast, you might have values for temperature, pressure, and salinity in the following format. (These example values are entirely hypothetical):
T_profile = [22 22 21 19 18];
P_profile = [101 150 199 240 300];
S_profile = [35.5 35 34.5 34 34.5];

Or you might have constant values for one or all of the input parameters:
T_const = 22;
P_const = 110;
S_const = 33;

ANY OF THE INPUTS FOLLOWING WILL WORK:
c_water(T_const,P_const,S_const)
c_water(T_const,P_const)
c_water(T_const)
c_water()
c_water
c_water(T_profile)
c_water(T_profile,P_profile)
c_water(T_profile,P_profile,S_profile)
c_water(T_profile,P_profile,S_const)
c_water(T_profile,P_const,S_profile)
c_water(T_profile,P_const,S_const)
c_water(T_const,P_profile,S_profile)
c_water(T_const,P_const,S_profile)
c_water(T_const,P_profile,S_const)
c_water(T_const,P_profile)
c_water(T_profile,P_const)

GRAPHICAL EXAMPLE
d = 0:5000; % for depth of 0 to 5 kilometers
p = 101.325+1025*9.81*d/1000; % pressure equivalent in kPa
t = [20:-10/500:10 10*ones(1,4500)]; % a very simplified thermocline model
c = c_water(t,p,32);
plot(c,-d)
ylabel('depth (m)')
xlabel('sound speed (m/s)')

License: Shareware

Related: watert constp consts const, const, watert constp const, watert const, watert profilep profile, watert profile, Water

O/S:Solaris, MAC 68k, WinXP, iPhone

File Size: 10.0 KB

Downloads: 5



More Similar Code

Calculates sound speed in fresh (distilled) water as function of temperature (Celsius) using six-term Marczak equation. See "salt_water_c.m" for sea water speed calculations



Sound speed in sea water as function of depth, temperature and salinity using nine-term Mackenzie equation



Atomic WebPage Size Calculator is a Webpage size and download speed calculator. Use it to ensure that visitors to your website are not waiting too long to download your pages. If they are, then they are most likely leaving before they read...



Finding the speed of sound using RK for N2O



In ocean acoustics a common task is to model the propagation of sound through the water column. The speed of sound varies with temperature, salinity and pressure (depth). To a first approximation, the ocean is horizontally stratified and these...



Only replace the image and Ripple Water Effect ready to use. Change Ripple Water Effect speed in the action script. For more help plz. leave a message.



Have you ever seen the world famous Talking Tom app? This kit will help you in creating a Voice Replay Application:

Record your Voice
Alter the Audio with a cool and funny FX like Talking Tom App.
Share the edited audio with...



Using the 1976 US standard atmosphere model, this function returns pressure, denisity, temperature, and speed of sound at a given altitude. Works for both English and metric units.



this model show the water surface
You can change the amplitude and speed of waves
H: height of wave
b: depth



www.x-eng.com, Steam and water properties for Matlab based on the "International Association for Properties of Water and Steam Industrial Formulation 1997 (IAPWS IF-97). A full implementation of the IF-97 standard that provides very accurate...

User Review for Water sound speed calculator
- required fields
     

Please enter text on the image