Questions
8.   Create a truth table and determine the results for the following equation and values Equation :...

8.   Create a truth table and determine the results for the following equation and values

Equation : bool b = ((a+4< 7) || ((b-a > 10) && !(c*a == 8)))

Values :   a = 2; b = 8; c = 4

9. Write a program using Atom and submit via Blackboard.

a. Request an integer whole dollar amount from the console.

b. Using the least amount of bills ($50,$20,$10,$5,$1) necessary, calculate how many of each bill type you will need to get to that value.

Output Example 1 (input is bold and italicized)

Enter a whole dollar amount as n integer: 633                                                           

You will need:

12   $50 bill(s).

1   $20 bill(s).

1 $10 bill(s).

0   $5 bills(s).

3    $1 bill(s).

Output Example 2 (input is bold and italicized)

Enter a whole dollar amount as an integer: 364                                                        

You will need:

7     $50 bill(s).

0     $20 bill(s).

1   $1 bill(s).

0     $5 bills(s).

4     $1 bills(s).

In: Computer Science

For the differential equation dy/dx=sqrt(y^2−36) does the existence/uniqueness theorem guarantee that there is a solution to...

For the differential equation dy/dx=sqrt(y^2−36) does the existence/uniqueness theorem guarantee that there is a solution to this equation through the point

1. (1,6)

2. (4,42)

3. (−2,38)

4. (7,−6)

In: Advanced Math

1. What is light? 2. What are the three models of light? 3. When is each...

1. What is light? 2. What are the three models of light? 3. When is each model of light applicable? 4. What is visible light? 5. What is white light? 2-3 sentences each.

In: Physics

Rank the following from highest to lowest boiling point 1. 0.18 m NH4CH3COO 2. 0.14 m...

Rank the following from highest to lowest boiling point

1. 0.18 m NH4CH3COO

2. 0.14 m Cr(CH3COO)2

3. 0.13 m CuBr2

4. 0.45 m Urea(nonelectrolyte)

In: Chemistry

The following represents the results of a survey in which individuals were asked to share what...

The following represents the results of a survey in which individuals were asked to share what they perceive to be the ideal number of children.

0

1

2

3

4

5

6

Female

11

8

92

65

35

3

2

Male

8

15

74

42

21

3

1

a. What is the probability an individual believes the ideal number of children is 2?

b. What is the probability an individual is male and believes the ideal number o f children is 3?

c. Among the females, what’s the probability the individual believes the ideal number is 3?

d. What is the probability an individual believes the ideal number of children is at least 4?

In: Statistics and Probability

Part 1: The Pablo Paving Company purchased a new dump truck for $125,000 at the beginning...

Part 1: The Pablo Paving Company purchased a new dump truck for $125,000 at the beginning of Year 1. It is estimated that the residual value will be $15,000 and have a useful life of 5 years. Prepare a depreciation schedule using each of the 4 methods. Round %s to 2 decimal places. (Original question which I have already done, I need part 2 worked please)

Part 2: If the Dump Truck is sold for $120,000 at the end of year 3, what is the gain/loss under each method?

There are 4 methods of depreciation (Straight line, Sum of years digits, double depreciation, and modified acc. cost recovery.

In: Accounting

Ehlo Company is a multiproduct firm. Presented below is all information concerning one of its products,...

Ehlo Company is a multiproduct firm. Presented below is all information concerning one of its products, the Hawkeye.

Date Transaction Quantity Price/Cost

1/1 Beginning inventory 1,000 $12

2/4 Purchase 1,000 16

2/20   Sale 1,500 30

4/2 Purchase 1,000 20

Compute the ending inventory, assuming Ehlo uses:

(a) Perpetual system, FIFO cost flow.

(b) Periodic system, LIFO cost flow.

(c) Perpetual system, LIFO cost flow.

(d) Periodic system, weighted-average cost flow.

(e) Perpetual system, moving-average cost flow.

In: Accounting

I'm a stock trader. I entered and exited the market so far 3 times this year....

I'm a stock trader. I entered and exited the market so far 3 times this year.

1) entered on 12/31/19 at 86.5 and exited on 1/27/20 at 92.72 for a gain of 7.1%.

2) re-entered on 2/5/20 at 105.82 and exited on 2/20/20 at 114.66 for a gain of 8.4%.

3) re-entered on 4/15/20 at 61.55 and exited on 4/30/20 at 69.77 for a gain of 13.4%.

What is the total return to date (should be around 40% to 50%) and a simple formula how to calculate it. I need to do this on many different time frames.

Please make it easy to understand.

In: Finance

Consider the following set of jobs to be scheduled for execution on a single CPU system....

Consider the following set of jobs to be scheduled for execution on a single CPU system.

Job

Arrival Time

Burst (msec)

Priority

A

0

6

3 (Silver)

B

1

2

1 (Diamond)

C

3

5

3 (Silver)

D

5

3

4 (Bronze)

E

7

2

2 (Gold)

  

  1. Draw a Gantt chart showing First-Come-First-Served (FCFS) scheduling for these jobs.  
  2.     Draw a Gantt chart showing preemptive PRIORITY scheduling.
  3. Draw a Gantt chart showing Highest Response Ratio Next (HRRN) scheduling.
  4.     Draw a Gantt chart showing Round Robin (RR) (quantum = 4) scheduling.

In: Computer Science

Suppose we are writing a C++ program for the sales department of a small company. The...

Suppose we are writing a C++ program for the sales department of a small company. The department has 4 sales person and is selling 5 products. The program will allow the input of each sale made (sales person, product, sales amount). The program will also allow a user to see the sales made by a particular sales person or the sales on a particular product.

Requirement of the Program:

1. Using a 2-D array as a data structure for storing the sales information

2. Containing a menu that allows a user to

1. Enter a sale
2. Check the sales made by a sales person
3. Check the sales on a product
4. Exit the program

Here is a sample run of the program:


In: Computer Science