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++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter18: Stacks And Queues
Section: Chapter Questions
Problem 9SA
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++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning