Compute the following subtraction problems using two’s complement (Keep answers in two’s comp. 4-bit binary). (Four...

Compute the following subtraction problems using two’s complement (Keep answers in two’s comp. 4-bit binary). (Four Points)

  1. 01112 – 00112 =
  2. 00002 – 11102 =
  3. 00112 – 00012 =
  4. 11002 – 00112 =
  5. 11112 – 01012 =
  6. 11002 – 00012 =
  7. 10112 – 11012 =
  8. 11102 – 00102 =

In: Computer Science

An object with total mass mtotal = 6.3 kg is sitting at rest when it explodes...

An object with total mass mtotal = 6.3 kg is sitting at rest when it explodes into two pieces. The two pieces, after the explosion, have masses of m and 3m. During the explosion, the pieces are given a total energy of E = 44 J.

1)What is the speed of the smaller piece after the collision? (m/s)

2)What is the speed of the larger piece after the collision? (m/s)

3)If the explosion lasted for a time t = 0.028 s, what was the average force on the larger piece? (N)

4)What is the magnitude of the change in momentum of the smaller piece? (kg-m/s)

5)What is the magnitude of the velocity of the center of mass of the pieces after the collision? (m/s)

In: Physics

This is JAVA. Must write a short description of this program, usually a sentence or two...

This is JAVA. Must write a short description of this program, usually a sentence or two will be sufficient. All the classes, methods and data fields should be clearly documented (commented).

Write a program that will predict the size of a population of organisms. The program should ask for the starting number of organisms, their average daily population increase (as a percentage), and the number of days they will multiply. For example, a population might begin with two organisms, have an average daily increase of 50 percent (=0.5), and will be allowed to multiply for seven days. The program should use a loop to display the size of the population for each day.

Input Validation: Do not accept a number less than 2 for the starting size of the population. Do not accept a negative number for average daily population increase. Do not accept a number less than 1 for the number of days they will multiply.

Example Run

Enter the starting number organisms: 2
Enter the daily increase: 0.5
Enter the number of days the organisms will multiply: 7
Day Organisms
-----------------------------
1 2.0
2 3.0
3 4.5
4 6.75
5 10.125
6 15.1875
7 22.78125

In: Computer Science

25.000 mL of 0.1438 M butanoic acid solution is titrated with 0.1247 M NaOH. Calculate the...

25.000 mL of 0.1438 M butanoic acid solution is titrated with 0.1247 M NaOH. Calculate the pH of titrant mixture at the following volumes of NaOH added. Ka butanoic acid = 1.52 x 10^-5

a.) 0.00 mL

b.) 16.04 mL

c.) 28.83 mL (Equivalence point)

d.) 30.30 mL

My answers were:

a.) 2.830

b.) 4.917

c.) 8.821

d.) 11.521

In: Chemistry

Derive the normalized spherical harmonic for a particle with the following quantum numbers. Show all work....

Derive the normalized spherical harmonic for a particle with the following quantum numbers.
Show all work. ? = 1, ? = 0

In: Chemistry

Imagine you are hosting a foreign exchange student from France during the Thanksgiving holiday. What norms...

Imagine you are hosting a foreign exchange student from France during the Thanksgiving holiday. What norms and values would you teach the student in order for him or her to not feel out of place at the dinner table?

In: Psychology

The active ingredient in a zinc nutritional supplement is ZnSO4·7H2O (molar mass = 287.58 g/mol). Ten...

The active ingredient in a zinc nutritional supplement is ZnSO4·7H2O (molar mass = 287.58 g/mol). Ten zinc tablets containing a mix of the active ingredient and an inactive filler were ground and mixed together thoroughly. The total mass of these ten tablets was 10.165 g. A 1.830 g sample of the finely ground tablets was dissolved in an acidic solution. The solution was neutralized with ammonia and subsequently warmed in a water bath. Addition of (NH4)3PO4 to the solution resulted in the precipitation of ZnNH4PO4. The precipitate was filtered and dried, then ignited to produce 0.234 g of Zn2P2O7 (molar mass = 304.76 g/mol). What is the mass percent of ZnSO4·7H2O in each tablet?

2-What is the average mass of the active ingredient ZnSO4·7H2O and inactive filler in each tablet?

I need to second part (2)?

In: Chemistry

PHYTON QUESTIONS Your assignment is to write the following magic methods for the Date class. 1....

PHYTON QUESTIONS

Your assignment is to write the following magic methods for the Date class.

1. __eq__ returns True if two Date objects have the same month, day, and year.

2. __add__ is passed an int as a parameter, and adds that number of days to the Date. It is nondestructive. For example:

>>> d = Date(1,31,2017)

>>> d + 5 Date(2,5,2017)

>>> d Date(1,31,2017)

3. __getitem__ is passed either an int between 0 and 2, or a str ‘month’, ‘day’, or ‘year’. It returns the appropriate instance variable from the Date object, or raises an exception otherwise. For example:

>>> d = Date(2,1,2017)

>>> d[0] 2

>>> d[2] 2017

>>> d[‘day’] 1

>>> d[4] # should raise an IndexError

4. __setitem__ is passed an index (as described in problem 4) and an integer, and sets the month, day, or year of the Date object to be that integer. If the index is not of the correct type or value, then an exception is raised. For example:

>>> d = Date(2,1,2017)

>>> d[0] = 5

>>> d Date(5,1,2017)

>>> d[‘year’] = 2020

>>> d Date(5,1,2020)

>>> d[‘moth’] = 31 # should raise an IndexError

5. __radd__ is passed an integer, and modifies the Date object to be the specified number of days into the future. It is destructive. For example:

>>> d = Date(2,1,2017)

>>> d += 28

>>> d Date(3,1,2017)

In: Computer Science

202: MT EXAM - CHAP 17 - BALANCE SHEET C P1 Pepare a statement of cash...

202: MT EXAM - CHAP 17 - BALANCE SHEET

C
P1

Pepare a statement of cash flows based on the following information:

BALANCE SHEET
20x9 20x8

ASSETS

CASH 58,000 31,000
A/R, NET 466,000 469,000
INVENTORY 341,000 355,000
LONG-TERM INVESTMENTS 180,000 180,000
EQUIPMENT, NET 305,000 340,000
BUILDING, NET 769,500 625,000
LAND 380,500 300,000

TOTAL ASSETS

2,500,000 2,300,000

LIABILITIES

A/P 312,000 306,000
ACCRUED LIABILITIES 158,600 175,000
INCOME TAXES PAYABLE 32,400 39,000
B/P 560,000 725,000
LONG-TERM N/P 57,750
M/P 184,000

TOTAL LIABILITIES

1,304,750 1,245,000

STOCKOLDERS' EQUITY

C/S 630,000 600,000
APIC 152,000 152,000
R/E 413,250 303,000

TOTAL S/E

1,195,250 1,055,000

TOTAL LIABILITIES & S/E

2,500,000 2,300,000

ADDITIONAL INFORMATION:

1 NI NI 147,000
2 Depreciation Expense EQP 35,000 BLDG 85,500
3 Purchased land 80,500
4 Purchased building COST 230,000 N/P 184,000
5 Paid B/P @ maturity PD 165,000
6 Issued long-term N/P 57,750
7 Issued C/S # SH 3,000 PV 10
8 Declared and paid cash dividends 36,750

In: Accounting

in Java: A point in the x - y plane is represented by its x-coordinate and...

in Java:

A point in the x - y plane is represented by its x-coordinate and y-coordinate. Design a class, pointType, that can store and process a point in the x - y plane. You should then perform operations on a point, such as :

– Print the point

– Set the x-coordinate

– Set the y-coordinate

– Get the x-coordinate

– Get the y-coordinate

– Add() : add two points

– Sub(): subtract two points

– Mul(): multiply two points

– Div(): divide one point from the other

– Ass(): assign one point to the other

– Equ(): check if two points are equal

– LessThan(): check if one point is less than the other • Note: R = √ X2 − Y2

– The default constructor

– The second constructor

– The copy constructor 2.

## Design a class pointTypeTest to test the design of pointType.

Thank you in advance!

In: Computer Science

Find an interesting short article relating to any aspect about oncology. It could be about the...

Find an interesting short article relating to any aspect about oncology.

It could be about the tumors themselves, current treatments being used, etc.; or select a term from the Discussion 1 Table: Not Built From Word Parts located in the module. This includes, but is not limited to, articles from newspapers, magazines, journals, the Internet, or even a personal experience. Please do not submit a discussion topic that has already been used. In other words, if one student submits a discussion on malignant melanoma, then no one else can use that topic for that particular discussion.

discussion

  1. The source of the article/website address. Please use reputable medical sources like www.mayoclinic.com or www.webmed.com, NOT Wikipedia, You Tube videos, or newspapers like the NY Times that require a password to view their articles.
    1. Brief synopsis of article. This should consist of a MINIMUM OF 5 SENTENCES AND MAXIMUM OF 10 SENTENCES

In: Biology

7) Given a binary search tree, insert a new node with specific data such that the...

7) Given a binary search tree, insert a new node with specific data such that the binary tree after the insertion is also a binary search tree.

8) Given a binary search tree, delete a node with a specific data value such that the binary tree after the deletion is also a binary search tree.

reply in c++

In: Computer Science

An antique automobile is depreciating, i.e. losing value i.e. going down in price at a rate...

An antique automobile is depreciating, i.e. losing value i.e. going down in price at a rate of 7% per annum compounded annually. Betty and Bob have an account, which earns interest at a rate of 12% per annum continuously compounded. They originally had $9,000 in the account and withdrew $2000 after the second year and $2,500 after the third year. They had enough money (exactly) to buy the automobile after 6 years.
Algebraically find the original value of the automobile.

(I need a step-by-step explanation of the formulas used. Thanks)

In: Finance

The density of NaCl (an fcc crystal) is 2.16 g/cm3. Find the distance that ions are...

The density of NaCl (an fcc crystal) is 2.16 g/cm3. Find the distance that ions are from their nearest neighbors.

In: Chemistry

2. Explain, with examples, the different types of powers held by Congress. Argue whether you believe...

2. Explain, with examples, the different types of powers held by Congress. Argue whether you believe Congress has unlimited powers or whether it should be constrained, and how, by other branches of government.

In: Economics