logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
StatAnalytica ExpertEnglish
(5/5)

698 Answers

Hire Me
expert
Martin ClarkMarketing
(5/5)

624 Answers

Hire Me
expert
Debra StephensonBusiness
(5/5)

667 Answers

Hire Me
expert
Thomas BornholdtEconomics
(5/5)

809 Answers

Hire Me
MATLAB
(5/5)

Find the average daily amount paid for each Scientist during the week

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

SUNYANI TECHNICAL UNIVERSITY. BCPS/BIT 310 COMPUTER SIMULATION

MODELLING USING MATLAB. ANSWER ALL QUESTIONS. TIME: 3 HOURS

Answer Questions 1 and 2 in your answer booklet after issuing the commands.

1. a. Generate the following numbers in MATLAB Command Window and write the command and result in your answer booklet:

i. real number in the range (0,1)

ii. real number in the range (0, 100)

iii. real number in the range (20, 35)

iv. integer in the inclusive range from 1 to 100.

b. What would happen if you reversed the order by mistake and typed the following? rem(5,13).

2. Consider the following system of linear equations:

π‘₯+2𝑦+3𝑧=1

4π‘₯+5𝑦+6𝑧=1

 7π‘₯+8𝑦 =1

a. Set up the matrix notation as AX = B, where A is the coefficient matrix, X is the variables vector and B is the constants vector.

b. By using linear algebra, it can be solved for X using the equation X = A -1B, where A -1 is the inverse of matrix A. Solve this using MATLAB.

c. Also, use the back slash method to obtain X and compare with your results in b.

d. Find the output for the following MATLAB program:

i.    X = 2 6 13];

     Y = [2; 1; 5];

    Z = [2 1 4];

ii. A = X + Z

iii. C = X .* Z

iv. D=X./Y’

2. A small company that produces fibre optic cables has three senior computer scientists within their staff. This company decided to setup a table that clarifies the working load for those scientists throughout the week, along with the hourly cost for each specific day in the week.

Depending on the table below, write MATLAB commands to do the following:

Daily Working Load (Hours)

Day                Hourly Cost (ø)        Scientists 1           Scientists 2      Scientists 3

Saturday              22                         10                              9                   11

Sunday                21                          9                               8                    7

Monday              18                           7                               8                    9

Tuesday              19                           7                               6                    5

Wednesday         20                          7                                6                    5

Thursday             24                          4                                3                   10 

a- Calculate the weekly salary of each Scientist.

b- What is the total weekly salary amount paid out?

c- Find the amounts paid for each Scientist on Monday.

d- Find the average daily amount paid for each Scientist during the week.

3. Given that the following data has been obtained through a research conducted as: Number of Nodes (25, 50, 75, 100, 125, 150) for the x-axis and the throughputs for the Y-axis. The throughput of AODV under random waypoint (RWP) is: throughputrwp = (218.40, 204.91, 188.44, 127.12, 103.14, 69.93) and that under the SMOOTH Mobility is: throughputsmt = (255.75, 264.08, 240.25, 255.79, 275.94, 313.34). Use the plot graph with the following details: throughputrwp solid line with blue colour and diamond marker style. throughputsmt solid line with red colour and star marker style. Y axis label Throughput (kbps) X axis label is Number of Nodes. Title of the graph is Throughput (THP) Vs Number of Nodes: AODV. Grid is on and legend are Random Waypoint and Smooth in the southwest location. Use the graph to analysis your results. 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. ThisΒ  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme