Question: Q1. Given a set of matrix arithmetic below, kindly develop a complete C codes to show ALL outputs (combination of integer + character). Input of

 Q1. Given a set of matrix arithmetic below, kindly develop a

Q1. Given a set of matrix arithmetic below, kindly develop a complete C codes to show ALL outputs (combination of integer + character). Input of the C program requires user to insert any INTEGER and CHARACTER into the "?" space. The use of loop (e.g. for loop) and subscript in array is a MUST (e.g. x[i][]). (10 marks) ? 2 3 [A B CI ? +A 2+B 3+C) ? 5 6 + ? ? ? = ? +? 5+? 6+? ? 8 91 TG H I| I ? +G 8+ 9+1 Q2. Write a program to calculate the value of f(x), the values of x and n are determined by user and u is the average of x. For example, 2132 x; = x [O] + x[1] + x[2], where x7 is series of value in data set (x[i]). (10 marks) n f(x) = {2x[i] - x[i] I=0 Q3. A fuzzy-logic based air-conditioner is designed to work according to the required temperature and stop when it reached the required temperature.Given a table below, kindly develop a complete C codes to estimate total time needed to achieve a given temperature. Input of the program is targetted temperature in degree celcius (C), output is the estimated time in minute. Assuming current room temperature is 28 degree celcius (C). (10 marks) Required time to decrease the temperature (minute) Temperature drop range (C) 2824 2420 2016 Every 1 degree celsius decresement required 1.5 minutes Every 1 degree celsius decresement required 2.5 minutes Every 0.5 degree celsius decresement required 3.5 minutes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!