Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

Find and develop your own story

Answered: 1 week ago