Homework Answers

Math 51397 50414
Physics 44335 44333
Chemistry 40988 40988
Economics 30646 30644
Programming & Computer Science 26878 26876
English 10084 10084
Biology 8111 8109
Management 6239 6239
Engineering 6056 6056
History 3490 3489
Psychology 2129 2129
Sociology 1858 1858
Geography 1574 1574
Marketing 1443 1443
Philosophy 1001 1001
Political Science 892 891
Law 876 876
French 438 438
Other 199 199

Questions: 238 634

Answers by our Experts: 237 641

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

5.1. [15 marks] Write a method with the following details: 

  • Name: SineCosine 
  • • Parameters: o A double that represents an angle in radians 
  • o A double that represents the sine to the first argument (out parameter) 
  • o A double that represents the cosine of the first argument (out parameter) 
  • Returns: Nothing 
  • Displays: Nothing 
  • Task: Calculates the sine and cosine of the first argument and assigns the result values to the second and third arguments. o The second and third arguments are decorated with "out" so that the method is able to change the actual value of the variable. 
  • o You can use Math.Sin() and Math.Cos() to calculate the Sine and Cosine 

5.2. [10 marks] Using the method below, write the code statements to call this method ten times with angle values of 0.500, 0.501, 0.502, 0.503, ... 0.509 and printout the values for the angle, resulting sine and cosine in a tabular format. Use a “for” looping structure. 


A plant has an effective capacity of 900 units per day and produces 800 units per day with its product mix. What is its efficiency? 


Bricks Mix plant was designed to produce 7,000 hammers per day but is limited to making 6,000 hammers per day because of the time needed to change equipment between styles of hammers. What is the utilisation?


Suppose the market has 70% chance of being favourable and 30% chance of being unfoavrable. A favourable market will yield a profit of N$300,000, while an unfavourable market will yield a profit of N$20,000. What is the expected monetary value in this situation?


Write your own function that illustrates a feature that you learned in this unit. The function must take at least one argument. The function should be your own creation


(08.02 MC)

An hourglass consists of two sets of congruent composite figures on either end. Each composite figure is made up of a cone and a cylinder, as shown below:

© 2011 Jupiterimages Corporation

Each cone of the hourglass has a height of 18 millimeters. The total height of the sand within the top portion of the hourglass is 54 millimeters. The radius of both cylinder and cone is 8 millimeters. Sand drips from the top of the hourglass to the bottom at a rate of 10π cubic millimeters per second. How many seconds will it take until all of the sand has dripped to the bottom of the hourglass? (4 points)

Group of answer choices



68.3


38.4


268.8


230.4

Assume that random guesses are made for seven multiple choice questions on an SAT​ test, so that there are n=7 ​trials, each with probability of success​ (correct) given by p=.65 Find the indicated probability for the number of correct answers. Find the probability that the number x of correct answers is fewer than 4 .


Write a program which takes PIN number of the user as input and then verifies his pin. If pin is verified the program shall display “pin verified” and “Welcome”; otherwise, the program shall give user another chance. After 4 wrong attempts, the program shall display “Limit expired” and then exit. Use for loops to implement the logic.

Note: 5 random PIN numbers can be assumed and fed into the program with which input pin is matched


Write a program that repeatedly asks the user to enter two money amounts expressed in pounds. The program should then add the two amounts and display the answer in pounds. The program should then convert the amount in Rupees. (Set conversion rate: 1£=120.33 rupees). Display the answer in Naira. Use a do-while loop that asks the user whether the program should be terminated.


Write a program that will perform the following:


A. Display Employee List

(Retrieve records from empList.txt, store it in a dictionary, display the employee list arranged by keys)


Note: Refer to example code in dictionary module (bbl) for sorting


B. Add Employee

(

Ask user to input the following data:

- unique employee number

- lastname

- firstname

- department

- rate per day

Write the employee record to the empList.txt

)


C. Add Payroll Record

(Ask user to input the following data:

-employee number

-month

-no of days worked

write the payroll record into the empMR.txt

)


D. Generate pay slip


Ask for employee number and month of the payslip to be generated

Create a payslip like statement written in a text file.


=============================================================

Payslip for the Month of _________________

Employee No.: ______________       Employee Name: _____________

Department: ________________

Rate per Day:_______________       No. of Days Worked: ________

Gross Pay: _________________



LATEST TUTORIALS
APPROVED BY CLIENTS