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
............ ..........<br>​
sukhopar [10]

Answer:

...................

Explanation:

6 0
3 years ago
What is the smallest variable type I can use to represent the number 27?
oksano4ka [1.4K]

Answer:3

Explanation:

Cuz

3 0
3 years ago
Select the creative imaging fields that require knowledge of programming.
denis23 [38]
Video game designer for sure
8 0
3 years ago
Refrigerant-134a at 700 kPa, 70°C, and 7.2 kg/min is cooled by water in a condenser until it exists as a saturated liquid at the
alex41 [277]

Answer:

The mass flow rate of cooling water required to cool the refrigerant is 123.788\,\frac{kg}{min}.

Explanation:

A condenser is a heat exchanger used to cool working fluid (Refrigerant 134a) at the expense of cooling fluid (water), which works usually at steady state. Let suppose that there is no heat interactions between condenser and surroundings.The condenser is modelled after the First Law of Thermodynamics, which states:

\dot Q_{ref} - \dot Q_{w} = 0

\dot Q_{ref} = \dot Q_{w}

\dot m_{ref}\cdot (h_{ref, in} - h_{ref,out}) = \dot m_{w}\cdot (h_{w, out} - h_{w,in})

The mass flow rate of the cooling water is now cleared:

\dot m_{w} = \dot m_{ref }\cdot \frac{h_{ref,in}-h_{ref,out}}{h_{w,out}-h_{w,in}}

Given that h_{ref,in} = 808.34\,\frac{kJ}{kg}, h_{ref, out} = 88.82\,\frac{kJ}{kg}, h_{w,out} = 104.83\,\frac{kJ}{kg} and h_{w,in} = 62.98\,\frac{kJ}{kg}, the mass flow of the cooling water is:

\dot m_{w} = \left(7.2\,\frac{kg}{min} \right)\cdot \left(\frac{808.34\,\frac{kJ}{kg}-88.82\,\frac{kJ}{kg} }{104.83\,\frac{kJ}{kg}-62.98\,\frac{kJ}{kg} } \right)

\dot m_{w} = 123.788\,\frac{kg}{min}

The mass flow rate of cooling water required to cool the refrigerant is 123.788\,\frac{kg}{min}.

4 0
3 years ago
Imagine yourself as an Engineer. How would you design your own Wind Turbine to generate electricity (at least 40 watts) at your
topjm [15]

Answer: You need metal and other stuff

Explanation:

6 0
2 years ago
Other questions:
  • Consider a plane composite wall that is composed of two materials of thermal conductivities kA = 0.1 W/m*K and kB = 0.04 W/m*K a
    13·1 answer
  • Are engineers needed in today’s society ? Why or why not ? I need a short three paragraph essay !!! Please help me !!!
    13·1 answer
  • For this question, you will be provided with data related to the count of website sessions by day for the past one hundred days.
    6·1 answer
  • B1) 20 pts. The thickness of each of the two sheets to be resistance spot welded is 3.5 mm. It is desired to form a weld nugget
    12·1 answer
  • The dam cross section is an equilateral triangle, with a side length, L, of 50 m. Its width into the paper, b, is 100 m. The dam
    9·1 answer
  • How do i open a door<br> please i've been trapped in this room for ages
    9·1 answer
  • Which of the following is an example of a social need?
    5·1 answer
  • A(n)<br> is a safety device commonly<br> used with a slotted nut.
    14·1 answer
  • Which of following are coding languages used in controlling a robot? *
    15·1 answer
  • Which of the following does the electrical technician typically use?​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!