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

1.   If three identical lamps are connected in series to a 6-V battery, what is the voltage drop across each lamp?


  1. The blood groups of 200 people are distributed as follows: 40 have type A blood, 75 have type B blood, 60 have type O blood, and 25 have type AB blood. If a person from any of the group is selected at random, what is the probability that this person has an O blood type? How about the AB blood type?

Let ((Xn, Yn)) and ((Un, Vn)) be sequences in R2, and let


(X0, Y0), (U0, Vo) belong to R2.


(i) If (Xn,Yn) converges to (X0, Y0) and (Un, Vn) converges to (Uo, Vo), then (Xn,Yn)+(Un, Vn) converges to (X0,Y0) + (U0,V0) and (Xn,Yn).(Un,Vn) converges to (Xo,Y0)(Uo, V0).



ii) If (Xn, Yn) converges to (X0, Y0), then for any r belonging to R, r(Xn,Yn) converges to r(X0,Y0).



  1. The weight of goats at a farm is normally distributed with a mean of 60 kg and a standard deviation of 10 kg. A truck used to transport goats can only accommodate not more than 650 kg. If 10 goats are selected at random from the population, what is the probability that the total weight exceeds the maximum weight?

Include the for loop below in a small program and complete the program. The loop should execute 10vtimes. Do not change the for loop below. Compile and run your program to see for yourself that it works.You do not have to submit this program and output.

for (int i = 1; i <= n;

i++) cout << i * i;

Now convert the for loop into a while loop and add any variable initialisations that you think are necessary. Compile and run your program and submit only the program containing the while loop and its output.


The Computer Science Department follows certain criteria when a student learns to program. A

number of programming exercises must be worked through. To proceed to the next exercise a student has

to obtain a mark of 50% or more and must have completed 5 or more program runs. You are requested

to write a program to validate if a student can proceed to the next program.

Your program should have the following structure:

• Declare two integer variables programsDone and result.

• Validate the data captured for the two variables using a while loop.

• The loop should be repeated until the value of result is greater than or equal to 50 and the value of

programsDone is greater than or equal to 5.

• Display a message like "Good! You can now proceed to the next exercise"

Submit both your program and output.


You are requested to write a very simple calculator. Your calculator should be able to handle the five

basic mathematic operations – add, subtract, multiply, divide and modulus – on two input values.

Your program should have the following structure:

• Ask the user to enter two float variables named var1 and var2

• Ask the user to enter a character variable named operation to represent the operation to be

performed on the two variables.

• Perform the appropriate operation by using if-statements

• The output must be given in fixed-point notation with two digits after the decimal point.

A typical run is displayed below:

Please enter the first float value:

35.6 Please enter the second value:

24.12 Please enter the operation

required : + The sum of 35.6 and

24.12 is 59.72

Submit both your program and

output


John had 5 cookies and ate 2 how much more cookies does he have left?


Jennifer Yardley is the owner of Golf Pro, a U.S. company that sells golf equipment both domestically and abroad.


She wants a program that displays the amount of a salesperson’s commission. A commission is a percentage of


the sales made by the salesperson. Some companies use a fixed rate to calculate the commission, while others (like


Golf Pro) use a rate that varies with the amount of sales.


Golf Pro’s commission schedule is shown below, along with examples of using the schedule to calculate the


commission on three different sales amounts. Notice that the commission for each range in the schedule is


calculated differently.


Sales range


Commission


0 - 100,000 2%


100,001 – 400,000 5% over 100,000 and then add 2000


400,001 and over 10% over 400,000 and then add 17000


If the sales is less than zero, the program should display the message “The sales cannot be less than 0.”

LATEST TUTORIALS
APPROVED BY CLIENTS