Script that will prompt the user for the reynolds number

Assignment Help MATLAB Programming
Reference no: EM13486723

Problem 1

The continuity equation in fluid dynamics for steady fluid flow through a stream tube equates the product of the density, velocity, and area at two points that have varying cross-sectional areas. For incompressible flow, the densities are constant so the equation is ??1??1 = ??2??2. If the areas and V1 are known, V2 can be found. Write a script that will prompt the user for the two areas in square feet, and will print whether the velocity at the second point increases, decreases, or remains the same as the first point.

Problem 2

In fluid dynamics, the Reynolds number Re is a dimensionless number used to determine the nature of a fluid flow. For an internal flow (e.g., water flowing through a pipe), the flow can be categorized as follows:

1980_Fluid dynamics.png

Write a script that will prompt the user for the Reynolds number of a flow and will print the region the flow is in.

Reference no: EM13486723

Questions Cloud

Was the overhead underapplied or overapplied : Prepare an income statement for the year in good form. The company closes any underapplied or overapplied manufacturing overhead to Cost of Goods Sold.
In what ecosystem province is charleston : In what ecosystem province is Charleston, SC?
What would be the impact on the company overall profit : If the special order were accepted, what would be the impact on the company's overall profit?
What is the magnitude of the emf generated in volts : a metal rod is forced to move with constant velocity along two parallel metal rails, if the rails are separated by 35.3 cm and the speed of the rod is 45.7 cm/s, what is the magnitude of the emf generated in volts
Script that will prompt the user for the reynolds number : Write a script that will prompt the user for the Reynolds number of a flow and will print the region the flow is in.
Compute the time required for the electron to circle nucleus : An electron is in the fifth Bohr orbit of hydrogen. Calculate the time required for the electron to circle the nucleus
What is the wavelength of the waves on the string : What is the wavelength of the waves on the string?
Determine angle do the poles make with the vertical : Two identical uniform poles of mass 50 kg and linear mass density 15 kg/m are supported by pivots 2 m apart on level ground. what angle do the poles make with the vertical
The plane pilot weighs : A ?ghter plane ?ying at constant speed 420 m/s and constant altitude 10000 m makes a turn of curvature radius 2800 m. On the ground, the plane's pilot weighs (62 kg)(9.8 m/s2) = 607.6 N. W

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Vb and matlab to calculate the cumulative days

Create a function TotalDaysMonth(intYear, intMonth, strIndOrCum) in both VB and Matlab to calculate the cumulative days or number of days in a given month, depending on inputs, by employing array vector in VB or a vector matrix in Matlab.

  Generate a sphere of diameter 3. create 3 vectors

Generate a sphere of diameter 3. Create 3 vectors representing the translation of this sphere along the x, y, and z axes. Generate the correct vectors given the description below: The sphere should be translated to (-10, -10, -10).

  Develop your own matlab function for the fixed-point method

Develop your own Matlab function for the Fixed-point method. Use the approximate relative error as your stopping criterion. The first line of your function should be function [root,froot,ea,iter] = fixedpoint(func,xr,es,maxit)

  One-dimensional steady-state heat flow

A one-dimensional steady-state heat flow, the mathematical formulation of problem - find out the temperature differences at each locations and calculate the temperatures at each locations

  Compare two strings to determine if they are the same

Write a statement (or statements) that will compare two strings to determine if they are the same, ignoring whether the characters are upper or lower case.

  Compare two sound wave in matlab

Compare two sound wave in matlab as on speech to text processing and open as notepad, calculator,C:,D: and many other on speaking

  Obtain the cross products using matlab cross function

Use MATLAB cross function to obtain the above cross products. Note that the accelerations are known functions of the derivatives of the three coordinates.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Determine the optimal linear predictor

Determine the optimal linear predictor for a given order N and DPCM simulation and write a graphical user interface that has least the following functions

  Design and implement in matlab an algorithm for lcs problem

Find the longest common subsequence of any two sequences of symbols which have no repeated symbol.

  Consider the predator-prey models

Consider the predator-prey models developed early part of the 20 th  century in which the number of predators and preys may be predicted using the pair of ODEs

  Parking in garage using matlab

In matlab: parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd