Please solve Quickly Matlab The average monthly rainfall (in.) for Kirkuk city during 2017 are given in the table below: Months 1 2 3 4 5 Rainfall (in) 2.7 2.6 2.3 1.7 0.5 6 7 8 9 10 11 12 0000 0.5 1.5 2.3 Write a MATLAB code to answer the followings: a) What is the highest and lowest rainfall amount? b) What is the total and average value of rainfall amounts? c) Which months, was the rainfall equal to 0 in?

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 7PP: (Numerical) Using the srand() and rand() C++ library functions, fill an array of 1000 floating-point...
icon
Related questions
Question
Please solve Quickly Matlab
The average monthly rainfall (in.) for Kirkuk city during 2017 are given in the table below:
Months 1 2 3 4 5
Rainfall (in) 2.7 2.6 2.3 1.7 0.5
6 7 8 9 10
00 0 0 0.5
Write a MATLAB code to answer the followings:
a) What is the highest and lowest rainfall amount?
b) What is the total and average value of rainfall amounts?
c) Which months, was the rainfall equal to 0 in?
d) How many months was the rainfall above 1.5 in. and below 2.5 in?
11
12
1.5 2.3
Transcribed Image Text:Please solve Quickly Matlab The average monthly rainfall (in.) for Kirkuk city during 2017 are given in the table below: Months 1 2 3 4 5 Rainfall (in) 2.7 2.6 2.3 1.7 0.5 6 7 8 9 10 00 0 0 0.5 Write a MATLAB code to answer the followings: a) What is the highest and lowest rainfall amount? b) What is the total and average value of rainfall amounts? c) Which months, was the rainfall equal to 0 in? d) How many months was the rainfall above 1.5 in. and below 2.5 in? 11 12 1.5 2.3
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning