0% found this document useful (0 votes)
110 views19 pages

General All Courses 200L General Past Questions

The document outlines the examination structure for various engineering courses at the Federal University Oye-Ekiti for the 2018/2019 academic session, detailing sections and questions for subjects such as Engineering Mathematics, Workshop Technology, Engineering Mechanics, and Thermodynamics. Each section specifies the number of questions to be answered and includes a variety of mathematical, theoretical, and practical problems relevant to engineering disciplines. The exam format emphasizes problem-solving and application of engineering principles across multiple topics.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
110 views19 pages

General All Courses 200L General Past Questions

The document outlines the examination structure for various engineering courses at the Federal University Oye-Ekiti for the 2018/2019 academic session, detailing sections and questions for subjects such as Engineering Mathematics, Workshop Technology, Engineering Mechanics, and Thermodynamics. Each section specifies the number of questions to be answered and includes a variety of mathematical, theoretical, and practical problems relevant to engineering disciplines. The exam format emphasizes problem-solving and application of engineering principles across multiple topics.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 19
DEPARTMENT OF ELECTRICAL & ELECTRONIC ENGINEERING ENGINEERING MATHEMATICS 1, ENG 201 FIRST SEMESTER EXAMINATION G *y FEDERAL UNIVERSITY OYE-EKITI ‘Academic Session: 2018/2019 Course Unit: 3 ime Allowed: 3 Hours Exam Date: 154 June, 2019. Instruction: Answer Five Questions in al 11, 2 questions from section A & 3 questions from section B. [SECTION A] Answer All the Questions in this Section. QUESTION ONE (a) Solve the equations: x(y+z) = a, 244) = (b) Ifa, b, ¢ form the sides of a triangle ABC, show xcot(’4)A = yeot(¥4)B = zcot(4)C =V5, where $ (c) If denotes the area of triangle ABC in (b) above, that x=2.5em, y=3.2em and z=4em, —[6mks} and 2(xty) =c. [10mks} | that the solution in (a) above can be expressed in the form: is the semi-perimeter of the triangle. [Smks] ; calculate the value of A to the nearest ‘whole number, given QUESTION TWO (a) Solve the equetion: (b) Show that the solution of the y(1) = 3 [8mks} (c) Evaluate f cos“4xdx [6mks} y tag; x= gz tne and xy=m-+py. [10mks] differential equation: x? — 3y? + 2xyy’ = Ois y = xV8x-7 given that [SECTION B] Answer Only Two (2) Questions from this Section. QUESTION THREE (2) Solve the equation: x° +x¢—3x3-9x2—14x—8=0 [Smks] (b) Ife = alxy) b(xy) —d(%,9) represents the solution to an inexact differentis! equation given as: y(ltxy)dx +x(i+xy +32)2)dy = 0, obtain the values of a, b and d, and hence an expression for c. [Sms] (c) Use Cauchy's integral test to determine the convergence or divergence of the series: rst ste [Smks} QUESTION FOUR (a) Prove that if x+2=y +1, then Fare Hence, solve the equation: x0 (x2 x +1) - 4x(x 1)? = 0 [8s] (b) Investigate the Convergence or Divergence of the series: D7" (c) Given that y(0) = 1, obtain the solution of the differentia! equation: [8mks} (x? + Udy = (y? + 1)dx [8mks} QUESTION FIVE (a) Given that y(0) (b) Determine the range of values x for which the serie divergent. [8mks] (c) Investigate the differential equation for exactness: xy" — y(0) = 1. [8mks} ‘osx [8mks} an 2? + S22 + is convergent or . obtain the solution of the differential equation: y'cosx + ysinx Gey eB Sy, Hence, find its solution given that } FEDERAL UNIVERSITY OYE-PKITI Ns FACULTY OF ENGENNERING DEPARTMENT OF MATERIALS AND METALLURGIC AL EI! 19 Session 1.0 ‘Time Allowed: | Hour Course Title: ENGINEERS IN SOCIETY Course Code:ENG Instruction: Answer one question from each seetion Section A Se ofae science according to Pytlik etal, (1985), hence enumerate the division of selehe b. "Technology refers to machines: (hardware) and management practices (software) needed 10 achi production target whether goods or services", henee list the Technology that is involved in typical soap ‘manufacturing company. 2a. As an Engineering student, give a compre! >. Classify Engineering family according to COREN ¢. Draw a typical chain of command in an engineering out family are at work. hensive description of Engineering profession. {it where different members of the engineering Section B 3. Complete the following terms used in elements of a safety program «Safe i) - protective equipment maintenance + Training and « Emergency 4. Complete the following missing terms in financial benefits: «Time loss of - + Loss of ---~(ii) * Economic loss to Lost time by fellow «Loss of ----(v)- «Time damaged tool out of - © Spoiled -—-~ (vii) «© Spoilage - fire, water, and + Failure to fill -----(ix) + Overhead costs during factors of indirect and hidden costs in the iceberg analogy of worker crew break-up (vi) (viii) “(x)= Section C 5a, What are the aims and objectives of engineering ethics? b. Enumerate the areas of specialisation of one of the following: i, Agricultural & Bio-Resources Engineering ii, Mechanical Engineering 6a. List five responsibilities of an engineer to the profession b. Mention three career opportunities in each of these engineering professions: 2 Civil Engineering i, Materials & Metallurgical Engineering iii. Electrical & Electronics Engineering FEDERAL UNIVERSITY OYE-EKITE Y 2 PACULTY OF ENGINEERING tox”, 2018/2019 SES ION FIRST SEMESTER [EXAMINATION WORKSHOP TECHNOLOGY MEE 201 “Answer any Three Questions ‘Time: 2hours mechanical workshop (4marks) QUESTION ONE (marks) adustrial safety is very important in rig hand tools with sketch diagram (a) Explain with five reasons why in Bench vice {b) Describe any three of the followi Hacksaw ii File sii. describe any three of the following ™m: iv. Hammer easuring tools? (marks) ram, (e) With a sketeh di i Vernier caliper ii, Inside caliper iii, Outside caliper iv, Engineer's protractor vy." Outside micrometer tal cutting fluids (Aniarks) (4) State four uses of met QUESTION TWO What is workshop Technology (marks) {Vinte short notes on the following production processes: Job production ii, Bateh production and iii. Mass : production (6marks) Briefly explain three methods of joining metal, stating one ofits advantages and disadvantages (9marks) jachines are installed (marks) ch FUOYE University main workshop, and identify how various mm QUESTION THREE believed to be the mother of all machines. Discuss (Smarks) ‘and label five principal parts. (7marks) hine (Smarks) Lathe machine is b. Sketch a lathe machine, <_Write short notes on four components of a lathe mach the signifieant of sheet metal inthe workshop (Smarks) dd. What i QUESTION FOUR AC. Describe three advantages of a good workshop layout (6marks) F workshop layout (marks) Cis, Write short notes on two types o| «: Differentiate between a lathe machine and a milling machine (Smarks) 4, Ina tabular form, enumerate five differences between hard wood and soft wood (10mks) RAL UNIVERSITY, OVE-EKITL DEPARTMENT 01 HANICAL ENGINEERING B. Eng DEGREE EXAMINATION FIRST SEMESTER 2018/2019 ACADEMIC SESSION COURSE TITLE: ENGINEERING MECHANICS (MEE203) SITS 23 u {IME ALLOWED: 3Hours Instruction: Answer Five Questions (AT LEAST TWO QUESTIONS FROM EACH SECTION). SECTION A: STATICS particle is in tude and orientation of the Force F shown in Fig. so that the 10 marks Ia) Determine the mag Equilibrium, figure 2 (Pig.2). Determine the magnitude of T (b) The mast head fitting supports the two forces as shown which will cause no bending of the mast at point O. 10 marks Fig Fig.2 2a). A uniform lamina shown in Fig. 3 consists of a rectangle, a semi-circle and a triangle. Determine the centre of gravity of the lamina with respect to the given axis. 12 marks, (h) Determine the centroid of the sector ofa circle, Take x-axis as the axis of symmetry and the angle subtended is 2a. 8 marks poate 2am XY igure 4 am loaded as shown in " 8 marks 3a. Deters mine the horizontal and vertical components of reaction for the bea (Fig), Negleat the weight of the beam inthe calelations b. Determine i ne the moment of inertia ofthe channel seston shown in figure 5(Fig.S) about horizontal a through its centroid "ssction sh " " 12 marks Pa a +— oe za | | Figs i | | | Fig 6) with Mange as 160mm x 60mm and web as 150mm x of the section. 12 marks 4a, Find the moment of inertia of a T-section (Fii 60mm about X-X axis through the center of gr: |Determine the mass moment of inertia of cone about z-axis (Fig.7). Assuming the cone is made of a 8 marks uniform material of density p. SECTION 5(a) The velocity of a particle which moves along the s-axis is given by and vis in meter per second. Evaluate the position S, velocity V, and acceleration a when t=3s, The particle is at Smarks, y 2-41 +51”? , where t is in seconds the position $,=3m when €=0. b. A particle moves along the x-axis with an initial velocity V,= SOm/s at the origin when t=0. For the first 4 seconds it has no acceleration thereafter itis acted on by a retarding force which gives it a constant accelerat 4.= mis? Caleulate the velocity andthe 3- ordinate ofthe particle forthe conditions of t=8s and t=12s and find the maximum positive x-coordinate reached by the particle, Represent the path taken by the particle ee m diagram, V2marks F casing its speed 6a. Ata given instant, a car travels along « circular curved road with a speed of 2am/s while decreasing Its sP 2 vature, Smarks {atthe rate of 3m/%. the magnitude ofthe car's acceleration is Sms, Determine the radius of curval b. The motor (Fi distance 5) winds in the cable with a constant aeceleration, such that the 20kg erate moves & star S=6in in 3s, starting from rest. Determine the tension developed in the cable. The coefficient of Kinetic friction between the crate and the plane is pi 3 Lamarks 7. A flywheel rotating freely at 1080revimin clockwise is subjected to @ variable counterclockwise torque which is first applied at time t=0. The torque produces a counterclockwise angular acceleration @ Wrad/s*, where t is the time in seconds during which the torque is applied. Determine (i) the time required for the flywheel to reduce its clockwise angular speed to 800rev/min (ii) the time required for the flywheel to reverse its direction of rotation and (iii) the total number of revolution, clockwise plus counterclockwise, turned by the flywheel during the first 12 seconds of torque application. 20marks aE FEDERAL unty FACULTY Or ERSITY OYE. " ENGINEER / ENGINEERING STER EXAMINATION COURSE Tf ITLE: Thermodynamics I ci TIME ALLOWED: 2 Hous oN eos . 200 Level (ALL. Engineering & FST Students) . RUCTIONS: Answer SECTION A and any three (3) questions in section B SECTION 4 Answer all questions 1 Jaw of thermod, lynamics states that the change in its internal en ergy plus the work done process occurs when the properties of a s is all the matier enclosed within heat supplied to a system is equal to by the system ‘stem are varied at constant heat, 4 specified space whose characteristics can be varied and measured, “3s a substance that is capable of absorbing heat from @ source and rejecting it to a heat sink, 5 ee rrrr—r — “hermal contact and heat transfer ean take place between the two beds § 1s a body having a large heat eapacity, part of which exe be wansferred to another body to keep it at a constant temperature, Saat Tne Which may be real or imaginary that defines the limit or outline of a system 8 = 8 any observable characteristies of a system that can be identified, measured and varied in any requited manner. 9 is @ body that is eapable of receiving heat from another body that has a higher capacity and with which itis in thermal contact 10 Hs « system that absorbs heat from an external low temperature souree and rejects it completely without converting any part of it to work 11. _is all matter that lies immediately outside the boundary and interacts with it 12 Property is directly proportional to the quantity of matter in the system, 13,___Pro perty is independent of the quantity of matter in the system ; 14, The of a system at any given instant is ils condition, which is fullydefined by specifyin its properties 15. Allow o open system allows ___and_to flow in and out of the syster 16 is a process or sequence of processes in which the initial and final states of the system are the same, Page 1 of 3 defined as the total heat absorbed by a system at constant pressure. It is the V7. s Sum of the internal energy and flow work. 18. The efficiency of an Otto cycle depends on___ 19. isa measure of the degree of disorderliness or : seta 20. The eycle also called the constant pressure cycle because the heat addition is undertaken randomness of a system. at constant pressure. SECTION B Answer any three (3) questions QUESTION ONE (a). Explain clearly the differences between the following pairs of terms 3 Adiabatic process and isothermal process ii, Turbine and compressor iii, Compressor and pump jy Nozzle and diffuser (b). Calculate the polytropic exponent, the final volume, the work of compression and heat interaction if 6 kg of air at an absolute pressure of 200 kpa and temperature of 400K. compresses polvuropically until the pressure and temperature rises to 2500 kPa and 1000K respectively. Take gas constant R = 287 WkgK. QUESTION TWO (a). Define the following terms: (j) Stored energy, (ii) Transitional energy, (iii) flow process and (iv) Flow work, (b). A mass of an ideal gas is enclosed in a piston-cylinder arrangement. The gas is compressed reversibly in such a manner that the pressure and volume are related to one another by the expression pV" — constant, where n has a constant value of 1.4. If the initial pressure and volume of the gas are 200 kN/m? and Im? respectively and the final volume is 0.125m’, Determine: i. The final pressure of the gas ii, The work done during the process iii, Sketch the process on a p-V ESTION THREE ‘@).What do you understand by each of the following concept as applied to the study of whesnodynamics? } The first law of thermodynamics Page 2 of 3 = The principle of conservation of energy ii iii, The perpetual motion machine of the first order (b). Complete the perfect gas process ~ relation Process Volume Pressure | Constant | Polytropic temperature cersible | atic | R Adi | or Isentropic Law [P.V,T. relation ‘Change in internal energy au | Work transfer W =[pdv Heat transfer | Q | | Change in | entropy \_as= -s, | | QUESTION FOUR (a). Define the following terms: (i) Stored energy. (ii) Transitional energy, ({ii) flow process and (iv) Flow work (b). Consider a system takeri from state 11 to state 2 along the path 1-9-2: flows into the system and the system does 40 kJ and of work. ; LOOKT of heat if is accompanies b Evaluate the heat that flows into the system along the path 1-b-2 20kJ of work transfers from the system. ii, Calculate the work done and heat exchange if the system returns to the initial state 1 Page 3 of 3 PEDE i PARAL UNIVERStry OVE-EKITT DEPART MERELY OF ENGINEERING OF MECHANICAL ENGINEERING 2018/2019 FIRST SEMESTER EXAMINATION COURSE TITLE TIME ALLOWE, Thermodynamics | CODE: MEEI05 D: 2 Hours CLASS: 2001 UNITS: 2.0 a cevel (ALL Engineering & FST Stude en ce. gineering & FST Students) RUCTIONs: Answer SECTION A and any three (3) questions in section B SECTION A 1 ~. Sthe energy transferred between a system 2 0 a system changes its state and passes through a continuous series of thermodynamic equilibrium states such that both the sy: ‘stem and its surroundings can be restored to cheir original state such a process is called _ 3, refers to any form of energy which is wansferred between a system and its surrounding. 4. The flow ofa mass of fluid through an open system is called Free Flew 5. Ina steady flow process, the rate of mass flow at any section is____at any other section. § __is process im which the temperature of the system remains consent throughout the process process, 7. ____is a body having a higher heat capacity than another bodywith whieh itis in thermal contact and heat transfer can take place between the two bodies 8. _____is a body that is capable of receiving heat from another body that has a higher capacity and with which it is in thermal contact 9 ——i8 @ system that absorbs heat from an external low temperature source and rejects it completely without converting any part of it to work. 10. Js all matter that lies immediately outside the boundary and interacts with it 11. A flow or open system allows Mls and @xecy') to flow in and out of the system 12, is @ processor sequence of processes in which the initial and final states of the system are the same 1B is defined as the total heat absorbed by a system at constant pressure. It is the sum of the internal energy and flow work. 14 __property is direetly proportional to the quantity of matter in the system 15 property is independent of the quantity of matter in the system, 16. The of a system at any given instant is its condition, which is fully defined by sp. its properties, __is a body having a large heat capacity. part of which ean be transferred to another body to keep it at a constant temperature. “isa line, which may be real or imaginary that defines the limit or outline of a system, 19, is any observable characte sistivs of « system that can be identified, measured and Varied in any required manner ¢-a substance that is capable of absorbing heat from a source and rejecting it toa heat sink, SECTION B TION OD a)" Ina steady’ low process, the fluid flows through @ machine at the rate of 15 Kglmin. ve, the relevant data regarding the work Between the entrance and exit of the machi fluid is Parameter Inlet Outlet Velocity Sms 8m/s Pressure 100 kPa 700 kPa Specific volume 0.45 mike 0.125 m/ke kifkg greater than that st The working fluid Ieaves the machine with internal energy 160 lost to the surroundit entrance and during the process 7200 ki/min of heat is I it pipes to be at the same level. calculate the st ft work 21 Assuming entrance and exi the ratio of inlet pipe diameter to outlet pipe diameter Air Powing steadily at the rate of 0.65kg/s enters an air compressor at a pressure 100kpa and specific volume of 0.90 m'/kg with a velocity of 7.5 mis and leaves at a pre of690kpa fic volume of 0.20 m°kg with a velocity of4.5 m/s. The initial and final intemat pectively. The cooling water around by and speci energy values for the air are 224 and 346 KIM the eslinders removes 70KJkg of heat the air. Neglecting the change in potential enerey ute, (i) the inlet pipe eross sectional area. (i) the power required to drive the compressor QUESTION TWO, a) Briefly di i) internal energy (ii) reversible process (ii) flow work fine the following terms (iv) stored energy transitional energy (s) not-flow process b) Air initially at 60 kPa pressure, 800 K temperatur compressed isothermally until the volume is halved and subsequently it goes further ni ga volume of 0.1 m3 is ain, Sketch the process on p teraction for the compression at constant pressure till the volume is halved « V plot and make calculations for the total work done and total heat avo processes. Assume ide: = 1.005 kivke K. s behaviour for air and take ey “QUESTION THREE (i) Why is heat nota property of a system? (ii) Explain the sign convention for work and heat transfers me of 0.3 m3 at 10 bar pressure and 500 K. When this a) 2 kg of an ideal gas occupies a volun = C) the internal energy decreases by Presuming gas expands polytropically (pv' adiabatic exponent y = 1.4, determine : specific gas constant, final temperature, pressure and volume of gas. and heat and work interactions across the system boundary. pn : From characteristic gas equation. PV = mRT QUESTION FOUR a) What do you understand by each of the following concepts as applied to the study thermodynamics (i) The principle of conservation of energy (ii) The first law of thermodynamics (iii) The perpetual motion machine of the first order b) 2 kg of an ideal gas occupies a volume of 0.3 m* at 10 bar pressure and 500 K temperature. When this gas expands polytropically (pV'? = C) the internal energy decreases by 300 kl. Presuming adiabatic exponent y = 1.4, determine : (3) specific pas constant, Gi) final temperature, pressure and volume oi yas. and (iii)heat and work interactions across the system boundary QUESTION FIVE 0.2 of air at a pressure of 400 kPa and 430K is contained inside a thermally insulated cylinder. A movable piston fitted inside the cylinder is pushed outwards to a position where the pressure is 100 KPa, During this operation, the piston assembly does not exchange any heat withthe surroundings. The air then supplied heat at constant pressure til its enthalpy increases by 60 kJ. L'valuate the net work done by the gaseous system. What should be the index of expansion of a single reversible polyttopic process if it is to produce the same work while operating between the same initial and final states, FEDERAL UNIVERSITY OYE EKITE FACULTY OF ENGINEERING MECHANICAL ENGINEERING DEPARTMENT FIRST SEMESTER 2018/2019 ACADEMIC SECTION COURSE TITTLE: ENGINEERING DRAWING I COURSE CODE: MEE207 UNIT: | TIME ALLOWED: 2HRS INSTRUCTION: answer questions one and any other three questions Question 1 4. i. Define Computer Aided Design (CAD). ii, List five (5) CAD software packages. ili, State the meaning of the following: CNC, CAM, CATD, CADD and CAP. iv. State five (5) merit of CAD over traditional engineering drawing \. Explain the following, indicating the symbol to be used in each case: |. First angle projection 2. Third angle projection. 20mks . Obiain the interpenetration curve of the elevation shown in Fig. and develop both cylinders full size asing the seams shown, 20mks Question 2, Draw the block in Fig. 2 in isometric projection as shown. 20 mks Question 3. Draw (i) the view from the front and (ii) the view from right of the object shown in Fig. 3 in onuogiapine pruyecuvn sunny Question4, a. Draw the given view in Fig. 4 full size and project a first auxiliary view X'Y! b. Develop the right lateral surface of a right circular cylinder, truncated at both ends by two parallel planes and resting un ground plane on the lower cut end face, which is an ellipse, as shown in Fig. 5 20mks Fig. 6 shows a garden hoe. Draw this given view, full size, and show any construction lines used in making the drawing. 20mks Question 6. Fig.7 isthe frustum of aright cone. Draw this elevation and a pian, Draw the true shape of face AB. 20mks 7m ‘a FEDERAL UNIVERSITY OYE EKITt FACULTY OF ENGINEERING DEPARTMENT OF MATERIALS AND METALLURGICAL ENGINEERING 201- Materials Science (2 Units) Time allowed: 2hrs sstet Examination (2018/2019) ‘Answer four questions Instruction: 1. Eutectoid steel is slowly cooled from a temperature of 780°C 10 8 temperature just below TTC as shown in figure below. Fe-C Phase diagram Determine: a. The percentage of ferrite b. The percentage of cementite c. Wi%ofC 2, Determine the number of atoms in a: a. Simple cubic (SC) unit cell b. Face-centered cubic cell c. Body-centered cubic unit cell 3. Mention two: a. types of point defects b. types of nucleation ¢. phase transformation phenomena 4. List two a. types of solid solutions b. iypes of strengthening mechanisms c. factors affecting diffirsion Outline two non-ferrous alloys », List two types of advanced materials ¢. List one example each of a p-type and n-type semiconductor dopant -numerate the type of chemical bonding in Bronze and Polyethylene b. List two types of hulk defect c. List wo types of tnagnetism FEDERAL UNIVERSITY, OYE-EKITI DEPARTMENT OF MECHATRONICS ENGINEERING B.Eng. Degree Examination First Semester 2018/2019 Session. COURSE CODE: MTE201 COURSE TITLE: COMPUTER AIDED ENGINEERING 1 UNIT: 1. Time. Instructions: Answer all questions in Section 1 that contains 2 parts, then answer Two question each from section 2 and 3 respectively. Section 1{compulsory) answer all questions inthe 2 parts Part 1. Programming in C Ie i. De the fun: 2 List Two 3. Stete Two Pro; 4. White the Tro ways toinser 5. Write TwoC language ke: 6 ‘ord te Two steps invalv State Two data type in C 8. Write thede ci: 9. Describe the advantage of 10, Distinguish Program looping een the print andt Part 2. Introduction to MATLAB 11, State TWO plotting step in MATLAB, 12. Write TWO MATLAB file exten: 13. Waite the MATLAB command fi son evaluating matrix inverse and determinant 14. Differentiate between who and whos co: 15. Write the MATLAB command for 2D and 3D plot 36, Distinguish between the formar short e and format rate te the function of the command window-and workspace window in MATLAB and length command svatax in MATL nmand eve (3) and eye (3,4) type in MATLAB, 18, Write the inspace command 19. What is the output of 20. State TWO asas the com in this secti Worh term in a sequence with initial for readability and message at the {5 marks} code to evaluate the 100 te the source comment (a) Using the for statement wai t contain appropriate value of 1. Note your program mus output terminal, ii, Explain every statement you have used in (a) above \ & rac) " at prints the text I love Federal University iti! (b) Using the puts function waite a program that prints the ell lee, [2 marks}, (© State the function of the modulus operator uum that tells the user to input temperature value from the 2) Using the scan£ function write 2 progra © Foe mated value to degrees Celsius (C) using the following, keyboard in degrees Fahrenheit (F) and convert this formula. lity and message at the output 5 marks}. [5 marks}. [5 marks} Note your progam must contain apprepriate comment for reada terminal ji, Explain every statement you have used in (a) above. (b) Waite the output of the following program #include nt main(void) { print£("MTE201 Exam\nOngoing at the SLT\nToday Monday 1) 2019"); printf ("\n"); return 07 } (c) Write the while loop syntax 2 marks) Question Three (@) Waite 2 program tbat tells the user to input the radius of a sphere fom the keyboard and evaluate the volume (V) using the following formala: 4 / Vege Note your program must contain appropriate comment for readability and message at the ontput terminal {8 marks} ii, Explain every statement you have used in (a) above. [5 matks} (b) Write 2 program to evaluate the equation shown here 3x + 6 for x = 2.55 [3 marks} (c) Write the expected output of the following program 2 marks} de int answer, result; answer = 100; result = answer -10; print£("The result is #i\n", result +5); return 0; } Section Instruction: ron tion from this se fion Four (@) The table below presents the production output of WBF Company. Write the MATLAB code to present this information as shown in the figure (10 marks} ‘Machine Hours [20.00] 24.22 ] 28.44 | 32.67 | 36.89] 41-11 | 45.33[ 49.56 | 53.78 | 58.00 Production Output | 4s | a5 | 55 | oo | 75 | 70 | 62 | 40 | 68 | 3° (tons) «0 WBF Company Production 70 60 ——-4 2 50 = S40 2 30 E 20) 10 0 15 35 Machine Hour {1 mark}. (b) White the code to transpose vectors A = [9; 4: 8]; (c) White the code to pass in the augmented matriy of the linear system of equation below in MATLAB 2x + xy 2xy t 2x, = 3 5x, — 3x, +X3—%4 = 6 3x, + 4x, — 3x, +x, = 6 3x, — x, + 2x,-x,= 3 [4 marks} Question Five () Using axis square command, write the cadet plot the function below within time interval of -2 to2 with an increment of 0.01 ro) foe cos(t) i. The code should include the gtid commandand legend command [4 marks} () Given the mattix >> A =(1, 2, 532, 8, 9; 5, 9, 4]+ Write the command to obtain the rank of matrix A and delete the third rowof A respectively. [4 marks} © Consider the row vector (8, 3, 9, 10, 5, 4, 12, 20}. Write the MATLAB code to obtain the minimum element of this row vector and as components of a rowvector [1 matk] Question Six (@) The table below presents the MTE201 result fortwo successive session, Write the MATLAB code to Present this information as shown in the figure [10 marks} No. of Student -~1]72y73)74]5)]e]7]8]9 MTE201_Result_2017/2018 Session | 48 | 45 | 55| 60 | 75] 70 | 62 | 40 | 6S MTE201_Result_2018/2019_Session| 18 | 22 | 34] 28 [19 [16 | 38 | 12 | 42 | 50 MTE201 Result 90 | | [© are201 Resut 201772018 Session | 0] ——MTE201 Result 2018/2019 Session | No.of Student (b) Given the base and height ofa tangle to be 8 mm and 3 mm respectively, write the MATLAB code to calculate it Area [4 mass}. (6) Wiite the MATLAB code to evaluate the sare root of 256 nd retums the value for Hf [1 soar]

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy