Problem 2441. Bernoulli's Equation
Bernoulli's equation states that for an incompressible fluid the following summation is constant across the flow: v^2/2 + g*z + P/rho, where v = fluid velocity, g = gravitational constant, z = elevation, P = pressure, and rho = density (constant throughout the fluid due to incompressible nature). The values of v, z, and P change at points along the flow whereas values for g and rho are assumed constant.
Assuming all units are congruent, fill in the holes (zero values) in the given matrix of v, z, and P values, in three respective rows for n measured points (3 x n matrix). Use g = 9.81. Rho will be given for each test case. The input matrix will contain one complete set of values to calculate the constant. The completed matrix will not contain any zeros (or very small numbers).
Solution Stats
Problem Comments
-
1 Comment
Bernoulli's law is one of the most charming equations in Physics.
Solution Comments
Show commentsProblem Recent Solvers55
Suggested Problems
-
Test if a Number is a Palindrome without using any String Operations
251 Solvers
-
Program an exclusive OR operation with logical operators
745 Solvers
-
Find last zero for each column
675 Solvers
-
Combined Ages 1 - Symmetric, n = 3
313 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2123 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!