Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Exam Questions in Mathematics and Computing for Mechanical Engineering Students, Exams of Mathematics for Computing

Exam questions from a mathematics and computing exam for students in the bachelor of engineering in mechanical engineering (design) and bachelor of engineering in manufacturing engineering programs at cork institute of technology. The questions cover topics such as arithmetic operators, programming, vector calculations, matrix operations, simultaneous equations, and differential equations.

Typology: Exams

2012/2013

Uploaded on 03/28/2013

poja
poja 🇮🇳

4.8

(5)

63 documents

1 / 7

Toggle sidebar

Related documents


Partial preview of the text

Download Exam Questions in Mathematics and Computing for Mechanical Engineering Students and more Exams Mathematics for Computing in PDF only on Docsity! Cork Institute of Technology Bachelor of Engineering in Mechanical Engineering (Design) – Award Bachelor of Engineering in Manufacturing Engineering – Award (National Diploma in Engineering in Mechanical Engineering – Award) (National Diploma in Engineering in Manufacturing Engineering – Award) (NFQ – Level 7) Autumn 2005 Mathematics and Computing (Time: 3 Hours) Instructions Answer FIVE questions, at least ONE question from each Section. Use separate answer books for each Section. All questions carry equal marks. Examiners: Mr. R. Simpson Mr. J. Connolly Dr. T. Creedon Ms. M. Brennan Ms. J. English Mr. J. Kelleher Section A Q1. (a) List the order of precedence of the arithmetic operators. (2 marks) (b) What is the purpose of the following program? Test it with the values 12, 15, 19, 37 and others if necessary. Find what IT is in each case. Deduce what the code does from your findings. NOTE 1: The result of mod(a,b) is the integer remainder having divided a by b. Example: The result of mod(13 , 5) is 3 NOTE 2: Trace your working so that partial credit may be given for incomplete or incorrect work. 2 PROGRAM q1b implicit none integer::h, j logical::gotIT = .false. write(*,'(A)',advance='no')'gimmee an integer h --->' read *, h j = h / 2 do if(j <= 1)exit if(mod(h, j) == 0)then gotIT = .true. exit end if j = j - 1 end do print* if(gotIT)then print*, 'so there it is --->', j, ' is IT' else print*, 'so there is NO IT at all' end if print* stop'q1b.f90 ends ...' END PROGRAM q1b (8 marks) A formula that can be used to find the angle between two vectors a = (a1, a2, a3) and b = (b1, b2, b3) is |||| .cos ba ba =θ Write a program that will read in two vectors a and b into two one dimensional arrays and then calculate the angle between them according to the equation above. a.b = 332211 *** bababa ++ AND =|| a 23 2 2 2 1 aaa ++ (10 marks) 5 Q6. (a) Find the Laplace transform of each of the following functions. (i) )6()( 43 tttf −= (ii) tetttf 325cos7)( −−= . (5 marks) (b) Find the inverse Laplace transform of (i) 14 4)( 2 + = s ssF (ii) ss sF 3 1)( 2 + = (5 marks) (c) Use Laplace transforms to solve the differential equation 2)0( ,0)0( ,10)(2)(3)( '''' ===++ xxtxtxtx (10 marks) Q7. (a) The average number of vehicles arriving at a particular junction is 18 per hour. Assuming the vehicle arrivals form a Poisson distribution, calculate the probability that (i) two or more vehicles arrive in any 10 minute period; (ii) one or more vehicles arrive in any single minute. (5 marks) (b) A sugar refinery has a processing plant. The amount of raw sugar that can be processed each day has an exponential distribution with a mean of 4.5 tonnes. Find the probability that the plant can process more than 4.5 tonnes in a day. How much raw sugar should be stocked each day so that the chance of the processing plant running out of product is only 0.09? (5 marks) (c) In the manufacture of a certain chemical product, three measurements are made each week of the percentage acid content. Data for 8 weeks are available as shown below: Week 1 2 3 4 5 6 7 8 Readings 5.74 6.21 5.28 5.51 5.19 5.91 5.27 5.40 5.54 5.18 5.68 5.81 6.21 6.21 6.22 5.42 5.97 5.50 5.00 5.75 4.71 4.71 5.85 5.68 Set up a control chart for the sample means. Plot the chart and comment on the process. (10 marks) 6 Short table of Laplace Transforms )0()0()()}({ )0()()}({ )()}({ )()()({ '2'' ' 0 fsfsFstfL fssFtfL asFtfeL dttfesFtfL at st −−= −= −= == ∫ ∞ − f(t) F(s) 1 s 1 nt 1 ! +ns n te α− α+s 1 tωsin 22 ω ω +s tωcos 22 ω+s s tte α− 2)( 1 α+s tt ee βα −− − ))(( βα αβ ++ − ss te t ωα sin− 22)( ωα ω ++s te t ωα cos− 22)( ωα α ++ + s s Control Chart Coefficients 7 Sample size n ' 025.0A ' 001.0A 2 1.229 1.937 3 0.668 1.054 4 0.476 0.750 5 0.377 0.594 6 0.316 0.498 7 0.274 0.432 8 0.244 0.384 9 0.220 0.347 10 0.202 0.317 11 0.186 0.294 12 0.174 0.274
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved