1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
aleksley [76]
3 years ago
6

A blizzard is a massive snowstorm. Definitions vary, but for our purposes, we will assume that a blizzard is characterized by bo

th winds of 30 mph or higher and blowing snow that leads to visibility of 0.5 miles or less, sustained for at least 4 hours. Data from a storm one day has been stored in a file stormtrack.dat. There are 24 lines in the file, one for each hour of the day. Each line in the file has the wind speed and visibility at a location. Create a sample data file. Read this data from the file and determine whether blizzard conditions were met during this day or not.
Engineering
1 answer:
natali 33 [55]3 years ago
6 0

Answer:

The weather conditions do not suggest a blizzard. It is explained below.

Explanation:

wind_speed=randi([12 56],24,1);

visibility=randi([1 10],24,1)/10;

storm_data=[wind_speed,visibility];

save stormtrack.dat storm_data -ascii

clear

load stormtrack.dat

fprintf('Below is the storm data from the file stormtrack.dat \n');

disp(stormtrack)

wind_speed=stormtrack(:,1);

visibility=stormtrack(:,2);

L=length(wind_speed);

count=0;

i=0;

while count<4 && i<L

i=i+1;

if wind_speed(i)>=30 && visibility(i)<=0.5

count=count+1;

else

count=0;

end

end

if count==4

fprintf('The weather conditions suggest a blizzard.\n')

else

fprintf('The weather conditions do not suggest a blizzard.\n')

end

Results:

Below is the storm data from the file stormtrack.dat  

49.0000 0.1000

56.0000 0.4000

44.0000 0.6000

27.0000 0.7000

38.0000 0.5000

16.0000 0.9000

52.0000 0.8000

1 51.0000 1.0000

48.0000 0.6000

23.0000 0.4000

38.0000 0.2000

13.0000 0.7000

31.0000 0.8000

26.0000 0.5000

19.0000 0.1000

20.0000 0.3000

31.0000 0.2000

16.0000 0.3000

38.0000 0.5000

33.0000 0.6000

43.0000 0.5000

43.0000 0.9000

40.0000 0.6000

13.0000 1.0000

The weather conditions do not suggest a blizzard.

You might be interested in
A 0.01 m3 piston and cylinder contains an ideal gas at 5.92154 atm, 290 K . A constant pressure process produces 54 kJ of work o
Debora [2.8K]

Answer:

Final Volume of the gas = 0.1 m^3

Explanation:

Check the attached file for the calculations involved in this solution

4 0
3 years ago
The worst case signal-to-noise ratio at the output of an FM detector occurs when: ________
AlexFokin [52]

Answer:

a. the desired signal is 90 degrees out of phase with the intelligence signal.

Explanation:

The signal to noise ratio of FM detector is defined as function of modulation index for SSB FM signal plus narrow band Gaussian noise at input. The ratio is usually higher than 1:1 which indicates more signals than noise.

6 0
3 years ago
pump delivers 11000 lb/hr of water from an elevation 30 ft below the pump to an elevation 50 ft above the pump through various d
mojhsa [17]

Answer:

good luck

Explanation:

4 0
3 years ago
Other examples of joption​
Evgen [1.6K]

Answer:

Profit from stock price gains with limited risk and lower cost than buying the stock outright.

Profit from stock price drops with limited risk and lower cost than shorting the stock.

Profit from sideways markets by selling options and generating income.

Get paid to buy stock.

Explanation:

I don’t know if you meant option but I hope this helps.

7 0
3 years ago
Write the heat equation for each of the following cases:
jok3333 [9.3K]

Answer:

Explanation:

a) the steady-state, 1-D incompressible and no energy generation equation can be expressed as follows:

\dfrac{\partial^2T}{\partial x^2}=  \ 0  \  ;  \ if \  T = f(x)  \\ \\ \dfrac{\partial^2T}{\partial y^2}=  \ 0  \  ;  \ if \  T = f(y)  \\ \\ \dfrac{\partial^2T}{\partial z^2}=  \ 0  \  ;  \ if \  T = f(z)

b) For a transient, 1-D, constant with energy generation

suppose T = f(x)

Then; the equation can be expressed as:

\dfrac{\partial^2T}{\partial x^2} + \dfrac{Q_g}{k} = \dfrac{1}{\alpha} \dfrac{dT}{dC}

where;

Q_g = heat generated per unit volume

\alpha = Thermal diffusivity

c) The heat equation for a cylinder steady-state with 2-D constant and no compressible energy generation is:

\dfrac{1}{r}\times \dfrac{\partial}{\partial r }( r* \dfrac{\partial \ T }{\partial \ r}) + \dfrac{\partial^2 T}{\partial z^2 }= 0

where;

The radial directional term = \dfrac{1}{r}\times \dfrac{\partial}{\partial r }( r* \dfrac{\partial \ T }{\partial \ r}) and the axial directional term is \dfrac{\partial^2 T}{\partial z^2 }

d) The heat equation for a wire going through a furnace is:

\dfrac{\partial ^2 T}{\partial z^2} = \dfrac{1}{\alpha}\Big [\dfrac{\partial ^2 T}{\partial ^2 t}+ V_z \dfrac{\partial ^2T}{\partial ^2z} \Big ]

since;

the steady-state is zero, Then:

\dfrac{\partial ^2 T}{\partial z^2} = \dfrac{1}{\alpha}\Big [ V_z \dfrac{\partial ^2T}{\partial ^2z} \Big ]'

e) The heat equation for a sphere that is transient, 1-D, and incompressible with energy generation is:

\dfrac{1}{r} \times \dfrac{\partial}{\partial r} \Big ( r^2 \times \dfrac{\partial T}{\partial r} \Big ) + \dfrac{Q_q}{K} = \dfrac{1}{\alpha}\times \dfrac{\partial T}{\partial t}

4 0
3 years ago
Other questions:
  • After having done the hand calculation and pseudocode for a program that models inflating a spherical balloon, now implement the
    15·1 answer
  • What are the three basic types of positive displacement pumps.
    5·1 answer
  • A 2.5 m-high, 4-m-wide, and 80-cm-thick wall of a house has a thermal resistance of 0.0125°c/W. The thermal conductivity of the
    8·1 answer
  • An undeformed specimen of some alloy has an average grain diameter of 0.050 mm. You are asked to reduce its average grain diamet
    11·1 answer
  • Determine FBC , the magnitude of the force in member BC, using the method of sections. Assume for your calculations that each me
    7·1 answer
  • Inversion is similar to what other concept discussed in the unit
    15·2 answers
  • Rosita is planning an investigation to determine how a lifeboat's shape affects its
    8·1 answer
  • two students were talking student a was examining the lettuce leaves in a salad he was eating . he said, did you know im eating
    12·1 answer
  • The demand for Manufacturing jobs is O decreasing O increasing O slowly changing. O remaining constant.​
    6·2 answers
  • Help plsss fast!!!!!!
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!