Given depth(height), in m, find the pressure under a body of water. Need to know the density of water(kg/m^3), and gravity(m/s^2).
The test suite has been updated to test against a tolerance rather than using isequal.
It's good that the Test Suite was fixed, but the Problem Statement is still inadequate. Liquid water's density varies with temperature, e.g. ~965 kg/m³ at 90 °C, and gravity varies with latitude and elevation, e.g. ~9.78 m/s² at the poles. Density and gravity need to be either specified in the problem statement or else provided as inputs. —DIV
Project Euler: Problem 10, Sum of Primes
Set the array elements whose value is 13 to 0
Matlab Basics - Rounding II
Find remainder when x is divided by 3
Joules to Megatons of TnT
Radians to Degrees
Rankine to Celsius Converter
Degrees to Radian
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office