ESA 102/2 Pengkomputeran Kejuruteraan Aeroangkasa Computing In Aerospace Engineering

Similar documents
ESA 102/2 Pengkomputeran Kejuruteraan Aeroangkasa Computing In Aerospace Engineering

ESA 367/2 Flight Stability & Control I Kestabilan & Kawalan Penerbangan I

ESA 380/3 Orbital Mechanics Mekanik Orbit

EAS151 Statics and Dynamics [Statik dan Dinamik]

MAA 101 Calculus for Science Students I [Kalkulus untuk Pelajar Sains I]

ESA 380/3 Orbital Mechanics [Mekanik Orbit]

MAT111 Linear Algebra [Aljabar Linear]

ESA 368/3 High Speed Aerodynamics Aerodinamik Berkelajuan Tinggi

EME 411 Numerical Methods For Engineers [Kaedah Berangka Untuk Jurutera]

Answer all questions Jawab semua soalan [80 marks] [80 markah] f(x)

ESA 362/3 Kawalan Penerbangan Pesawat

EMH 451 Numerical Methods For Engineers [Kaedah Berangka Untuk Jurutera]

UNIVERSITI SAINS MALAYSIA

MAT 223 DIFFERENTIAL EQUATIONS I [Persamaan Pembezaan I]

ESA 343/2 Aircraft Aerodynamics [Aerodinamik Pesawat]

CPT115 Mathematical Methods for Computer Sciences [Kaedah Matematik bagi Sains Komputer]

MAT Calculus [Kalkulus]

MAT 518 Numerical Methods for Differential Equations [Kaedah Berangka untuk Persamaan Pembezaan]

MAA 111 Algebra for Science Students [Aljabar untuk Pelajar Sains]

EEM 423 KEJURUTERAAN KEBOLEHPERCAYAAN

-1- UNIVERSITI SAINS MALAYSIA. Second Semester Examination Academic Session 2009/2010. April/May 2010

Jawab soalan mengikut arahan yang diberikan dalam setiap bahagian. Questions should be answered according to the instructions given in each section.

ESA 322/3 Dinamik Struktur

EEE 208 TEORI LITAR II

MAA Calculus for Science Students I [Kalkulus untuk Pelajar Sains I]

This paper consists of SIX (6) structured questions. Answer any FOUR (4) questions.

MAT 263 Probability Theory [Teori Kebarangkalian]

SULIT 3472/1 MAJLIS PENGETUA SEKOLAH-SEKOLAH MALAYSIA (MPSM) CAWANGAN KELANTAN PEPERIKSAAN PERCUBAAN SPM TINGKATAN LIMA

MSS 317 Coding Theory [Teori Pengekodan]

INSTRUCTION: This paper consists of SIX (6) essay questions. Answer any FOUR (4) questions only.


ESA 382/3 Spacecraft Subsystem Design Rekabentuk Subsistem Kapal Angkasa

UNIVERSITI SAINS MALAYSIA. CPT115 Mathematical Methods for Computer Science [Kaedah Matematik bagi Sains Komputer]

IEK 304E - Noise and Sound Control Technology [Peralatan Pengolahan Hingar din Bunyi]

EAH 221/3 Fluid Mechanics For Civil Engineers [Mekanik Bendalir Untuk Jurutera Awam]

MAT 111 Linear Algebra [Aljabar Linear]

MAT Linear Algebra [Aljabar Linear]

MAT 222 Differential Equations II [Persamaan Pembezaan II]

REG 363 Site Investigation (Kajian Tapak)

EAS 254E/3 Structural Analysis (Analisis Struktur)

UNIVERSITI SAINS MALAYSIA EEE 354 SISTEM KAWALAN DIGIT

MAT 111 Linear Algebra [Aljabar Linear]

-1- UNIVERSITI SAINS MALAYSIA. Second Semester Examination 2008/2009 Academic Session Peperiksaan Semester Kedua Sidang Akademik 2008/2009

MST 565 Linear Model [Model Linear]

IWK 302 WOOD ENGINEERING [KEJURUTERAAN KAYU]


MAT 101 Calculus [ Kalkulus] Duration : 3 hours [Masa : 3 jam]

INSTRUCTION: This section consists of FOUR (4) structured questions. Answer TWO (2) questions. only.

EEE REKABENTUK SISTEM KAWALAN

SULIT 3472/1. Nama:.. Tingkatan: 3472/1 NO. KAD PENGENALAN Matematik Tambahan PROGRAM PENINGKATAN PRESTASI SAINS DAN MATEMATIK 2009

MAT 101 Calculus [ Kalkulus]

SULIT 3472/1. Answer all questions. Jawab semua soalan.

EAS 253E/3 Theory of Structures EAS 253E/3 Teori Struktur

UNIVERSITI SAINS MALAYSIA EEM 352 REKABENTUK MEKATRONIK II

EMM 101/3 Engineering Mechanics [Mekanik Kejuruteraan]

IUK 191E - Mathematic I [Matematik I]

(Kertas soalan ini mengandungi 5 soalan dalam 8 halaman yang bercetak) (This question paper consists of 5 questions on 8 printed pages)

Jawab soalan mengikut arahan yang diberikan dalam setiap bahagian. Questions should be answered according to the instructions given in each section.

SULIT 3472/1. DENGAN KERJASAMA Ogos/September PERSIDANGAN KEBANGSAAN PENGETUA-PENGETUA SEKOLAH MENENGAH MALAYSIA CAWANGAN KELANTAN

MSG 389 Engineering Computation II [Pengiraan Kejuruteraan II]

UNIVERSITI SAINS MALAYSIA. CCS513 Computer Vision and Image Analysis [Penglihatan Komputer dan Analisis Imej]

SULIT /1. Answer all questions. Jawab semua soalan.

... [1 mark] pembolehubah bergerakbalas the responding variable. ... [1 mark] pembolehubah yang dimalarkan constant variable. ...

ESA 254/3 Isyarat dan Sistem Elektronik Berdigit Signal and Electronics Digital System

INSTRUCTION: This section consists of TEN (10) structure questions. Answer ALL questions.

EME 451/3 Computational Fluid Dynamics Pengkomputeran Dinamik Bendalir

IWK 302 Wood Engineering [Kejuruteraan Kayu]

EAA211 Engineering Mathematics for Civil Engineers [Matematik Kejuruteraan untuk Jurutera Awam]

(Kertas soalan ini mengandungi 6 soalan dalam 9 halaman yang dicetak) (This question paper consists of 6 questions on 9 printed pages)

MST 565 Linear Models [Model Linear]

MSG 389 Engineering Computation II [Pengiraan Kejuruteraan II]

ZCT 104E/3 - Fizik IV (Fizik Moden)

EMH 451/3 Numerical Methods For Engineers Kaedah Berangka Untuk Jurutera

KOT 222 Organic Chemistry II [Kimia Organik II]

(Kertas soalan ini mengandungi 11 soalan dalam 6 halaman yang dicetak) (This question paper consists of 11 questions on 6 printed pages)

MSG 356 Mathematical Programming [Pengaturcaraan Matematik]

SCES2242/ SCES2434/SIC2005 : KIMIA POLIMER/ KIMIA POLIMER I POLYMER CHEMISTRY/ POLYMER CHEMISTRY I

EMH 211 Thermodynamics [Termodinamik]

Arahan : Jawab semua soalan. Instructions: Answer all questions.

DJJ5113: MECHANICS OF MACHINES

(Kertas soalan ini mengandungi 4 soalan dalam 6 halaman yang dicetak) (This question paper consists of 4 questions on 6 printed pages)

SCES2250 : SPEKTROSKOPI MOLEKUL & INTERPRETASI MOLECULAR SPECTROSCOPY INTERPRETATION

EMH 211 Thermodynamics [Termodinamik]

DCC5143: FLUID MECHANICS

INSTRUCTION: This section consists of SIX (6) structured questions. Answer FOUR (4) questions only.

MSG 389 Engineering Computation II [Pengiraan Kejuruteraan II]

SCES1200 : PRINSIP-PRINSIP KIMIA PRINCIPLES OF CHEMISTRY

ESA461/2 Flight Stability and Control II [Kawalan dan Kestabilan Pesawat II]

(Kertas soalan ini mengandungi 9 soalan dalam 6 halaman yang dicetak) (This question paper consists of 9 questions on 6 printed pages)

SIJIL PELAJARAN MALAYSIA /3 KIMIA Kertas 3 1 ½ jam Satu jam tiga puluh minit

SCES2242/ SCES2434 : KIMIA POLIMER/ KIMIA POLIMER I POLYMER CHEMISTRY/ POLYMER CHEMISTRY I

UNIVERSITI SAINS MALAYSIA. CCS511 Evolutionary Computing [Perkomputeran Berevolusi]

PANITIA BIOLOGI DAERAH SEPANG PEPERIKSAAN PERCUBAAN SIJIL PELAJARAN MALAYSIA BIOLOGI KERTAS 3 Satu jam tiga puluh minit

(Kertas ini mengandungi 6 soalan dalam 9 halaman yang dicetak) (This question paper consists of 6 questions on 9 printed pages)

(Kertas soalan ini mengandungi 7 soalan dalam 8 halaman yang bercetak) (This question paper consists of 7 questions on 8 printed pages)

MAT 100 Foundation Mathematics [Asas Matematik]

UNIVERSITI SAINS MALAYSIA EEE 354 SISTEM KAWALAN DIGIT

SCES2260 : KAEDAH SPEKTROSKOPI DALAM KIMIA ORGANIK SPECTROSCOPIC METHODS IN ORGANIC CHEMISTRY

EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE WITH EDUCATION PEPERIKSAAN IJAZAH SARJANA MUDA SAINS DENGAN PENDIDIKAN

IWK 302 WOOD ENGINEERING [KEJURUTERAAN KAYU]

Transcription:

-1- UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Kedua Sidang Akademik 2005/2006 Second Semester Examination 2005/2006 Academic Session April/Mei 2006 April/Mei 2006 ESA 102/2 Pengkomputeran Kejuruteraan Aeroangkasa Computing In Aerospace Engineering Masa : 2 jam Duration : 2 hours ARAHAN KEPADA CALON : INSTRUCTION TO CANDIDATES Sila pastikan bahawa kertas peperiksaan ini mengandungi SEMBILAN (9) mukasurat dan TUJUH (7) soalan sebelum anda memulakan peperiksaan ini. Please ensure that this paper contains NINE (9) printed pages and SEVEN (7) questions before you begin examination. Bahagian A : Jawab DUA (2) soalan. Bahagian B : Jawab DUA (2) soalan. Semua soalan membawa jumlah markah yang sama. Part A : Answer TWO (2) questions. Part B : Answer TWO (2) questions. All questions carry the same marks. Jawab semua soalan dalam Bahasa Malaysia. Answer all questions in Bahasa Malaysia. Setiap soalan mestilah dimulakan pada mukasurat yang baru. Each questions must begin from a new page. 2/-

-2- Bahagian A/ Part A JAWAB DUA (2) SOALAN SAHAJA ANSWER TWO (2) QUESTIONS ONLY 1. Dua projektil A dan B, dilancarkan pada masa yang sama dari lokasi yang sama. Projektil A dilancarkan pada halaju 680 m/s pada sudut 65 o, dan projektil B dilancarkan pada halaju 780 m/s, pada sudut 42 o. Tentukan projektil yang manakah yang akan sampai ke tanah dahulu. Sekiranya masa penerbangan bagi projektil yang sampai ke tanah dahulu dibahagikan kepada sepuluh bahagian, iaitu 11 elemen yang sama perbezaannya, daripada 0 hingga t hit, yang menghasilkan vektor t, kira perbezaan altitud dan perbezaan jarak melintang di antara kedua-dua projektil tersebut pada setiap sebelas masa dalam vektor t itu. Paparkan perbezaan jarak-jarak tersebut. h( t) vtsin A x( t) vtcos A t hit 1 2 gt 2*( v / g) *sin( ) 2 h(t): altitude of projectile at time t x(t): horizontal distance of projectile at time t t hit : time of the projectile hits the ground Two projectiles, A and B, are shot at the same instant from the same spot. Projectile A is shot at a speed of 680 m/s at an angle of 65 o, and projectile B is shot at a speed of 780 m/s at an angle of 42 o. Determine which projectile will hit the ground first. Supposed that the flying time of this projectile is divided into ten increments, with 11 equally spaced elements, from 0 till t hit as vector t, calculate the difference of altitude and horizontal distance between the two projectiles at the eleven times in the vector. Display the values of the distance differences. (25 markah/marks) 3/-

-3-2. Halaju, sebagai fungsi kepada masa bagi suatu zarah yang bergerak pada garisan lurus ditunjukkan dalam graf di bawah dan persamaannya diberi seperti berikut: The velocity, as a function of time of a particle that moves along the straight line, is shown below and given in the equation below. 1.4t 14 5sin ( t 10) 10 v( x) 9 9 9 ( t 35) 5 for 0 t 10 s for 10 t 25s for 25 t 35s for 35 t 40s Tulis dua fungsi pengguna: Satu fungsi untuk mengira halaju zarah tersebut pada masa t (untuk nama fungsi dan argumen, gunakan: v=velocity(t)), dan satu fungsi lagi mengira pecutan zarah tersebut pada masa t (untuk nama fungsi dan argumen, gunakan: a=acceleration(t)). Tuliskan juga arahanarahan MATLAB seperti dalam sebuah fail skrip untuk memplot halaju dan pecutan melawan masa (dua plot dalam satu graf yang sama). Dalam aturcara tersebut, hasilkan dahulu vektor t, 0 t 40s, dan kemudiannya, gunakan fungsi velocity dan acceleration untuk menghasilkan vektor halaju dan pecutan yang akan digunakan untuk plot tersebut. Write two user-defined functions: One that calculates the velocity of the particle at time t (for the function name and arguments use v=velocity(t)), and the other that calculates the acceleration of the particle at time t (for the function name and arguments use a=acceleration(t)). In a script file, write a MATLAB program that creates plots of the velocity and acceleration as functions of time (two plots on the same graph). In the program, first create a vector t, 0 t 40s, and then use the functions velocity and acceleration to create vectors of velocity and acceleration that are used for the plots. Hint: d dx sin u cos u du dx (25 markah/marks) 4/-

-4-3. Jadual berikut memberi data suhu dalam o C sebagai fungsi kepada masa dan hari pada satu lokasi tertentu. The following table gives temperature data in o C as a function of time of day and day of the week at a specific location. Jam/ Hour 1 2 3 4 5 Isnin/ Monday 17 13 14 17 23 Selasa/ Tuesday 15? 14 15 18 Hari/ Day Rabu/ Wednesday 12 8 9 14 17 Jadual 1 Table 1 Khamis/ Thursday 16 11? 15 20 Jumaat/ Friday 16 12 15 19 24 (a) Terdapat data yang hilang dalam jadual tersebut yang ditandakan dengan tanda soal (?). Berikan arahan MATLAB untuk menganggarkan suhu-suhu yang hilang itu. Data is missing for the entries marked with a question mark (?). MATLAB commands to estimate the temperature at the missing points. Give Dengan menggunakan nilai-nilai yang diperolehi daripada (a), hasilkan satu jadual suhu yang lengkap seperti dalam Jadual 1 (tanpa lajur jam). Tulis arahan MATLAB untuk mencari nilai purata, nilai maksimum, dan nilai minimum suhu bagi setiap hari, dan juga bagi keseluruhan minggu tersebut. Using the values obtained in (a), generate a complete temperature as in Table 1 (without the hour column). Write MATLAB commands to find the mean value, maximum and minimum value for each day, as well as for the whole week. (c) Berdasarkan jadual yang dihasilkan di, tulis arahan MATLAB untuk mencari jumlah jam yang mana suhu pada hari Selasa adalah lebih tinggi daripada hari Rabu tetapi lebih rendah daripada hari Khamis dan paparkan suhu pada hari Selasa tersebut. Based on the table generated in, write MATLAB commands to find the number of hours that temperature in Tuesday is higher than Wednesday but lower than Thursday, and then display the temperature concerned. (d) Berdasarkan jadual yang dihasilkan di, tulis arahan MATLAB untuk mencari jumlah jam yang mana suhu pada hari Isnin adalah lebih tinggi daripada hari Khamis atau Jumaat tetapi tidak kedua-duanya dan paparkan suhu pada hari Isnin tersebut. Based on the table generated in, write MATLAB commands to find the number of hours that temperature in Monday is higher than Thursday or Friday but not both days, and then display the temperature concerned. (25 markah/marks) 5/-

-5-4. Sebuah kotak dengan jisim m=20kg adalah ditarik dengan seutas tali. Daya yang diperlukan untuk menggerakkan kotak tersebut ialah seperti berikut: A box of mass m=20kg is being pulled by a rope. The force that is required to move the box is given by: F mg F m cos sin iaitu =0.45 ialah pekali geseran dan g=9.81 m/s 2. where =0.45 is the friction coefficient and g=9.81m/s 2. (a) Plot bagi fungsi tersebut untuk nilai-nilai x, 0 x 1, adalah seperti di gambarajah. Tulis arahan MATLAB untuk menghasilkan plot tersebut. The plot of the force function for values of x, 0 x 1, is as displayed in the following figure. Write the MATLAB command to obtain this plot: Figure 2 Tulis arahan MATLAB untuk menentukan sudut, sekiranya daya tarikan ialah 92N. Write MATLAB commands to determine the angle, if the pulling force is 92N. (c) Tulis arahan MATLAB untuk menentukan sudut yang mana daya yang diperlukan untuk menarik kotak tersebut adalah yang paling kecil, dan beri arahan untuk menentukan magnitud daya tersebut. Write MATLAB commands to determine the angle at which the force that is required to pull the box is the smallest and also give MATLAB commands to obtain the magnitude of this force. (25 markah/marks) 6/-

-6- Bahagian B/Part B JAWAB DUA (2) SOALAN SAHAJA ANSWER TWO (2) QUESTIONS ONLY 5. (a) Bagi setiap pembolehubah yang berikut, nyatakan sama ada ianya satu pembolehubah FORTRAN yang sah atau pun tidak. Jika sah, nyatakan jenis data tersebut berdasarkan nama pembolehubah itu. For each variable name, indicate whether the FORTRAN variable is valid or invalid. If valid, indicate the implicit data type based on the variable name. (a) payload Weight (c) UAV 2000 (d) $aero (e) NUMBER (5 markah/marks) Kelajuan orbit (dalam km per jam) bagi sebuah satelit komunikasi yang mengelilingi bumi boleh dikira menggunakan persamaan, Orbital speed (in km per hour) of a communication satellite that orbits the earth can be calculated by using the equation, v M Dengan, r ialah jejari orbit dari pusat bumi, M ialah jisim bumi, dan ialah pemalar graviti. Where, r is the radius of the orbit from the centre of the earth, M is the mass of the earth, and is the gravitational constant. r. Jika hasildarab If the product 6380km. M M = 1.44 X 10 12 km 3 /jam 2 dan jejari bumi ialah 6380km. = 1.44 X 10 12 km 3 / hr 2 and the radius of the earth is 7/-

-7- i. Buat satu carta alir ; dan Write a flowchart; and ii. Pengaturcaraan FORTRAN untuk mengira kelajuan orbit bagi orbit yang mempunyai altitud 1000km hingga 20000km di atas permukaan bumi dengan penambahan 500km. Hitung bilangan hari satelit itu mengorbit bumi (dengan satelit orbit satelit ialah 2r dan r adalah altitud satelit). Berikan jadual keluaran program ini dalam bentuk jadual altitud, kelajuan dan bilangan hari bagi satelit itu mengorbit bumi. A FORTRAN program to calculate the orbital speed for orbits with altitude of 1000km to 20000km above the earth s surface, in increments of 500km. Calculate also the number of days for the satellite to orbit the earth (where the orbit is 2r for a satellite of altitude r). Tabulate the results of altitude, speed and the number of days for the satellite to orbit the earth as a output of the program. (20 markah/marks) 8/-

-8-6. (a) Dengan menjejak segmen pengaturcaraan yang berikut, berikan ramalan output bagi program tersebut. Anggapkan nilai tegangan permukaan ialah t = 10N/m dan panjang gelombang ialah y=5m. Trace through the following program segments and predict the output. Assume an input of surface stress is t = 10N/m and wave length is y=5m program wave velocity real t, y d = 1000 g = 9.8 read *, t, y v = sqrt ((2*t/2) + (g*y/y*d)) print *, The wave velocity is =, v, m/s stop end (5 markah/marks) Terdapat tiga jenis pesawat penumpang kepunyaan MAS yang mendarat di lapangan terbang, KLIA. Pesawat tersebut ialah Boeing 747 yang membawa penumpang seramai 250 orang, Airbus A380 dengan bilangan penumpang seramai 350 orang dan Boeing 777-Turbo dengan 450 orang penumpang. Three types of MAS commercial aircraft arrives at KLIA terminal. They are Boeing 747 carries 250 passengers, Airbus A380 carries 350 passengers and Boeing 777 Turbo carries 450 passengers. i. Tulis pengaturcaraan subroutine FORTRAN dengan satu argumen input iaitu jenis pesawat. Subroutine itu hendaklah mengandungi pengiraan bilangan pesawat dan bilangan penumpang bagi setiap jenis pesawat tersebut dan mencetaknya setiap kali subroutine tersebut dipanggil. Write a FORTRAN subroutine with one input argument which is the type of aircraft. The subroutine must count the number of planes and the number of passengers for each type of aircraft and print these out each time the subroutine is called. ii. Seterusnya, tulis program utama yang membaca jenis pesawat dan memanggil program subroutine pada bahagian (i), sehingga nombor jenis pesawat yang diberikan adalah di luar julat. Pada tahap ini, berikan arahan mencetak jumlah bilangan pesawat bagi semua jenis pesawat dan jumlah bilangan penumpangnya. Write a main program which reads in an aircraft type and calls the subroutine (i) until an aircraft type number which not in the range is read. At this point write a command to display the total number of aircraft of all types and total number of passengers. (20 markah/marks) 9/-

-9-7. (a) Kod program Fortran di bawah telah ditulis dalam bentuk yang tidak betul. Tulis semula program tersebut mengikut sintaks bahasa Fortran yang betul dan ramalkan output yang dikeluarkan. The following Fortran program code is poorly written. Please rewrite the program in a proper Fortran Language syntax and then predict the output of the program. Program testing i = 1 sum = 0 10 do 20 I = 1, 50 if (i.gt.10) go to 21 sum = sum + i 20 continue 21 if (i.le. 20) then sum = sum i go to 20 else sum = 2*sum end if print *, sum =, sum stop end (5 markah/marks) Tulis pengaturcaraan Fortran untuk membaca senarai nombor nyata positif, N dan seterusnya kira dan cetak nombor yang terbesar, terkecil, purata dan sisihan piawai dengan menggunakan rumus, Write a Fortran program to read a list of N positive real numbers and then calculate and print the largest and number the smallest number, the mean and standard deviation using the formula, standard deviation ( number mean) N 2 (20 markah/marks) - ooooooo - 10/-