Assume that Publication is the root class of an inheritance tree. You want to form a linked list of different publications in the inheritance tree, including Book, Report, Newspaper, etc. What is the best way to create a linked list using PublListNode and Publication classes? a. The Publication class is derived from the PublListNode class. b. The PublListNode class is derived from the Publication class. c. The Publication class contains the PublListNode class. d. The PublListNode class contains the Publication class.

Answers

Answer 1

Answer:

The best way to create a linked list using PublListNode and Publication classes is ensuring that:

d. The PublListNode class contains the Publication class.

Step-by-step explanation:

A linked list contains a set of address-connected nodes (elements).  The first node is called a header address, while the last node is called a null address. A linked list can be a single list (linear list), double list, multiple linked list, or circular linked list.  The PublListNode is a type of multiple linked list.  It forms a linked list of different publications using an inheritance tree.


Related Questions

A line contains the piont (4,5) and is perpendicular to a line with a slope of -2/3. Write an equarion of the line satisfying the given conditions. Write the answer in slope-intercept form

Answers

Answer:

[tex]y=\frac{3}{2}x-3.5[/tex] or, preferably, [tex]y=\frac{3}{2}x-\frac{7}{2}[/tex]

Step-by-step explanation:

First is to find the perpendicular slope. In this case, you swap the numerator and denominator and then multiply that fraction by -1.

In this case, -2/3's inverse slope is 3/2.

Now, the initial y=3/2 passes through 7.5,5

So, you must subtract 3.5 from that to make it pass through 4,5.

In this way, you get the answer in slope-intercept form.

Answer:

y = [tex]\frac{3}{2}[/tex] x - 1

Step-by-step explanation:

Given a line with slope m then the slope of a line perpendicular to it is

[tex]m_{perpendicular}[/tex] = - [tex]\frac{1}{m}[/tex] = - [tex]\frac{1}{-\frac{2}{3} }[/tex] = [tex]\frac{3}{2}[/tex] , then

y = [tex]\frac{3}{2}[/tex] + c ← partial equation in slope- intercept form

To find c substitute (4, 5) into the partial equation

5 = 6 + c ⇒ c = 5 - 6 = - 1

y = [tex]\frac{3}{2}[/tex] x - 1 ← equation of line

please help brainliest to correct answer

Answers

Answer:

Question to number 6 is-3

Question to number 7 is 3

Question to number 8 is 2 to the second power

Step-by-step explanation:

please correct me if I’m wrong and for number 8 I am correct it’s just I didn’t know how to put the little 2 on top of the big one

Step-by-step explanation:

question 6 is - 3

question 7 is 3

question 8 is 4

Seven and one-half foot-pounds of work is required to compress a spring 2 inches from its natural length. Find the work required to compress the spring an additional 3 inch.

Answers

Answer:

Apply Hooke's Law to the integral application for work: W = int_a^b F dx , we get:

W = int_a^b kx dx

W = k * int_a^b x dx

Apply Power rule for integration: int x^n(dx) = x^(n+1)/(n+1)

W = k * x^(1+1)/(1+1)|_a^b

W = k * x^2/2|_a^b

 

From the given work: seven and one-half foot-pounds (7.5 ft-lbs) , note that the units has "ft" instead of inches.   To be consistent, apply the conversion factor: 12 inches = 1 foot then:

 

2 inches = 1/6 ft

 

1/2 or 0.5 inches =1/24 ft

To solve for k, we consider the initial condition of applying 7.5 ft-lbs to compress a spring  2 inches or 1/6 ft from its natural length. Compressing 1/6 ft of it natural length implies the boundary values: a=0 to b=1/6 ft.

Applying  W = k * x^2/2|_a^b , we get:

7.5= k * x^2/2|_0^(1/6)

Apply definite integral formula: F(x)|_a^b = F(b)-F(a) .

7.5 =k [(1/6)^2/2-(0)^2/2]

7.5 = k * [(1/36)/2 -0]

7.5= k *[1/72]

 

k =7.5*72

k =540

 

To solve for the work needed to compress the spring with additional 1/24 ft, we  plug-in: k =540 , a=1/6 , and b = 5/24 on W = k * x^2/2|_a^b .

Note that compressing "additional one-half inches" from its 2 inches compression is the same as to  compress a spring 2.5 inches or 5/24 ft from its natural length.

W= 540 * x^2/2|_((1/6))^((5/24))

W = 540 [ (5/24)^2/2-(1/6)^2/2 ]

W =540 [25/1152- 1/72 ]

W =540[1/128]

W=135/32 or 4.21875 ft-lbs

Step-by-step explanation:

Find 0.2B
B=[50 10
25 15]

Answers

Multiplying a matrix by a scalar results in every entry in a matrix get multiplied by that scalar, as defined,

[tex]a\begin{bmatrix}b&c\\d&e\\\end{bmatrix}=\begin{bmatrix}ab&ac\\ad&ae\\\end{bmatrix}[/tex]

So in our case, ([tex]0.2=\frac{1}{5}[/tex]

[tex]\frac{1}{5}\begin{bmatrix}50&10\\25&15\\\end{bmatrix}=\begin{bmatrix}\frac{50}{5}&\frac{10}{5}\\\frac{25}{5}&\frac{15}{5}\\\end{bmatrix}=\boxed{\begin{bmatrix}10&2\\5&3\\\end{bmatrix}}[/tex]

Hope this helps :)

8.9 x 10^3 in standard notation

Answers

Answer:

that is n standard notation mah frand

8.9 × 10^3 being scientific notation of " 8900 "

[tex]\huge\text{Hey there!}[/tex]

[tex]\large\textsf{8.9}\times\large\textsf{10}^\mathsf{3}\\\\\mathsf{10^3}\\\mathsf{= 10\times10\times10}\\\mathsf{= 100\times10}\\\mathsf{= \bf 1,000}\\\\\large\textsf{8.9}\times\large\textsf{1,000}\\\\\large\textsf{= \bf 8,900}\\\\\\\boxed{\boxed{\huge\text{Answer: \boxed{\underline{\underline{\bf 8,900}}}}}}\huge\checkmark[/tex]

[tex]\huge\text{Good luck on your assignment \& enjoy your day!}[/tex]

~[tex]\boxed{\huge\text{}\boxed{\frak{Amphitrite1040:)}}}[/tex]

Round 573.073 to the greatest place

Answers

Answer:

574

Step-by-step explanation:

To round a two-digit number to the nearest ten, simply increase it or decrease it to the nearest number that ends in 0: When a number ends in 1, 2, 3, or 4, bring it down; in other words, keep the tens digit the same and turn the ones digit into a 0

Hope this helps <3

Use the graph to complete the statement. O is the origin. Ry−axis ο Ry=x: (-1,2)
A. (2, -1)
B. (-2, -1)
C. (-1, -2)
D. (1, -2)

Answers

Answer:

[tex](x,y) = (1,2)[/tex] -------- [tex]R_{y-axis}[/tex]

[tex](x,y)=(2,-1)[/tex] --------- [tex]R_{y=x}[/tex]

Step-by-step explanation:

Given

[tex](x,y) = (-1,2)[/tex]

Required

[tex]R_{y-axis}[/tex]

[tex]R_{y=x}[/tex]

[tex]R_{y-axis}[/tex] implies that:

[tex](x,y) = (-x,y)[/tex]

So, we have: (-1,2) becomes

[tex](x,y) = (1,2)[/tex]

[tex]R_{y=x}[/tex] implies that

[tex](x,y) = (y,x)[/tex]

So, we have: (-1,2) becomes

[tex](x,y)=(2,-1)[/tex]

2( 1/5 m− 2/5 )+ 3/5

Answers

Answer:

2m/5-1/5

Step-by-step explanation:

2*m-2/5+3/5

2(m-2)/5+3/5

2(m-2)/5+3/5

2m-4/5+3/5

2m/5-1/5

State the counting number in the periodic table of elements of the element considered to be the heaviest gas. (the answer should consist of numbers only)

Answers

9514 1404 393

Answer:

  118

Step-by-step explanation:

Oganesson is the heaviest element ever created. It is a "super-heavy" noble gas with a half-life less than 1 millisecond. Its atomic number is 118.

Find the area of the figure. (Sides meet at right angles.)

Answers

Answer:

56

Step-by-step explanation:

A=(3*4)+(4*(4+3+4))=56

Your parents deposit 2 50-dollar bills at the bank.
How much money did they deposit?

Answers

$100 is what they deposited!!

Answer: $100

Step-by-step explanation:

Considering 50 + 50 = 100

This means that the amount of money is $100

John runs a computer software store. Yesterday he counted 140 people who walked by the store, 63 of whom came into the store. Of the 63, only 25 bought something in the store.
(a) Estimate the probability that a person who walks by the store will enter the store. (Round your answer to two decimal places.)
(b) Estimate the probability that a person who walks into the store will buy something. (Round your answer to two decimal places.)
(c) Estimate the probability that a person who walks by the store will come in and buy something. (Round your answer to two decimal places.)
(d) Estimate the probability that a person who comes into the store will buy nothing. (Round your answer to two decimal places.)

Answers

Answer:

.................

Step-by-step explanation:

............

a. 45%
b. 39.68%
c. 17.86%
d. 60.32%

Im new to this app!
And im looking for help!!
Please help ASAP!!!
Please!!!!

Answers

y=x²-10x-7

a>0 so we will be looking for minimum

x=-b/2a=10/2=5

y=25-50-7=-32

Answer: (5;32)

0.108 ÷ 0.09

Please help in less then 3 mins

Answers

just use the calculator

Worth a lot of points.

Answers

Answer:

It's the last one.

Step-by-step explanation:

For example, if you have 0, the absolute valeu of 0 is 0. A postive number like 2, has an absolute value of 2. 0 is not greater than 0 and 2 is not greater than 2. Hope this helps!

Answer: Kayla is incorrect. The absolute value of 0 or a positive number is equal to the number.

Absolute numbers cannot be negative numbers. Therefore, an absolute number of a positive number will always be the positive number.

Complete the table for the given rule.
Rule: y is 0.75 greater than x
x y
0
3
9

Answers

The complete table is

x    y

0    0.75

3     3.75

9     9.75

What is equation?

An equation is a mathematical statement that is made up of two expressions connected by an equal sign.

What is substitution?

Substitution means putting numbers in place of letters to calculate the value of an expression or equation.

According to the given question.

We have values of x.

Also, one rule that y is 0.75 greater than x.

So, we have a equation for finding the value of y  i.e.

[tex]y = x + 0.75..(i)[/tex]

For finding the value of y

At x = 0, substitute x = 0 in equation (i)

[tex]y = 0 + 0.75\\\implies y = 0.75[/tex]

At x = 3, substitute x = 3 in equation (i)

[tex]y = 3+0.75\\\implies y = 3.75[/tex]

At x = 9, substitute x = 9 in equation (i)

[tex]y = 9+0.75\\\implies y = 9.75[/tex]

Hence, the complete table is

x    y

0    0.75

3     3.75

9     9.75

Find out more information about equation and substitution here:

https://brainly.com/question/10852714

#SPJ2

Find the equation of the linear function represented by the table below in slope-intercept form.

Answers

Answer:

y=-4x-5

Step-by-step explanation:

The slope of the line is - 4, the equation of line is y=-4x-5

How do you Find the acute Angle A when sinA=0.616?

Answers

Answer:

arcsin0.616

Step-by-step explanation:

arcsino.616



Why is the value of -9 is not-3

Answers

Answer:

Because it's a negative.

Step-by-step explanation:

The value of a positive number is still a positive number.

HELPPPPP ASP PLZZZZZ

Answers

Answer:

[tex](f-g)(x)[/tex]

[tex]f(x)-g(x)[/tex]

[tex]x^{2} -6x-27-x+9[/tex]

[tex]x^{2} -7x-18[/tex]

----------------------

[tex](f*g)(x)[/tex]

[tex]=f(x)g(x)[/tex]

[tex](x^{2} -6x-27)(x-9)[/tex]

[tex]=x^{3} -15x^{2}+27x+243[/tex]

----------------------

[tex]\frac{f}{g} (x)[/tex]

[tex]\frac{x^{2} -6x-27}{x-9}[/tex]

[tex]\frac{(x-9)(x+3)}{x-9}[/tex]

[tex]x+3[/tex]

-----------------------

[tex](f+g)(x)[/tex]

[tex]f(x)+g(x)[/tex]

[tex]=x^{2} -6x-27+x-9[/tex]

[tex]=x^{2} -5x-36[/tex]

------------------------

OAmalOHopeO

------------------------

look at the image for the question

Answers

It’s 16
You would multiply height (4) by the base (length(2) x width(2)=4) which is 16

Please Help!! Whoever helps and gets it correct gets Brainliest and 5 star rating!!

Answers

Answer:

the reasoning states that "all the numbers begin with a 7 or an 8"

however this is not accurate as they can be in different placements

which can make a big difference in the total estimate.

for example:

the number could've been an 8, or an 80

they both begin with an 8

however have totally different values and could have messed up the total estimated number.

hope this helps :D

if U>T, R>Q, S>T and T>R, which of the following is TRUE?
1. S>Q
2. U > S
3.U > R​
A. 1 only
B. 2 only
C. 1 and 2
D. 2 and 3

Answers

Answer:

C. 1 and 2

Step-by-step explantation:

First, i would order them as U>T, T>R, R>Q, S>T

we can rewrite them as

U>T>R>Q,

now adding S, we get U>S>T>R>Q,

so U>S

We can also rewrite all of them as inequalities:

U-T>0

T-R>0

R-Q>0

S-T>0

Add R-Q and T-R

(R-Q)+(T-R)>0

-Q+T>0

T>Q, but because S>T we can say S>Q

Find an upper bound for E(h) the error of the machine approximation of the two-point forward difference formula for the first derivative and then find the h corresponding to the minimum of E(h).

The two-point forward difference formula for f'(x) is:_________

Answers

Answer:

I doubt it is not going to be a great

1. A helicopter is at a position from two VORS (VHF Omnidirectional
Radio Range, an aircraft navigation system operating in the VHF band -
not covered in chapter) as in the diagram shown below. Given the angles
shown, find the third angle.
Helicopter
74.0°
66.0°
VOR
VOR

Answers

The position of the helicopter and the two VORs forms a triangle and the third angle formed by these three entities is 40 degrees

The diagram is not shown; however, the question can still be answered.

The given angles are:

[tex]\theta_1 = 74.0^o[/tex]

[tex]\theta_2 = 66.0^o[/tex]

Represent the third angle as [tex]\theta_3[/tex]

The helicopter and the 2 VORs form a triangle.

So, we make use of the following theorem to calculate the third angle

[tex]\theta_1 + \theta_2 + \theta_3= 180^o[/tex] ---- sum of angles in a triangle

Substitute known values

[tex]74.0^o + 66.0^o + \theta_3= 180^o[/tex]

[tex]140.0^o + \theta_3= 180^o[/tex]

Collect like terms

[tex]\theta_3= 180 -140.0^o[/tex]

[tex]\theta_3= 40^o[/tex]

Hence, the third angle is 40 degrees.

Learn more about angles in a triangle at:

https://brainly.com/question/14780489

Solve for X and show your work and explain please

Answers

Answer: x = 45

Step-by-step explanation:

Given

(2/3)x + 4 = (4/5)x - 2

Add 2 on both sides

(2/3)x + 4 + 2 = (4/5)x - 2 + 2

(2/3)x + 6 = (4/5)x

Subtract (2/3)x on both sides

(2/3)x + 6 - (2/3)x = (4/5)x - (2/3)x

6 = (12/15)x - (10/15)x

6 = (2/15)x

Divide 2/15 on both sides

6 / (2/15) = (2/15)x / (2/15)

[tex]\boxed{x=45}[/tex]

Hope this helps!! :)

Please let me know if you have any questions

Answer:

x = 45

Step-by-step explanation:

2/3 x + 4 = 4/5x - 2             Add 2 to both sides

2/3 x + 4 + 2 = 4/5x            Combine

2/3x + 6 = 4/5x                   Subtract 2/3 x from both sides.

6 = 4/5x - 2/3 x                  Multiply both sides by 15

6*15 = 4/5 x * 15 - 2/3x * 15

6*15 = 12x - 10x                   Combine the left and right

90 = 2x                               Divide by 2

x = 45

Let's see if it works.

LHS = 2/3 * 45 + 4

LHS = 2*15 + 4

LHS = 30 + 4

LHS = 34

RHS

Right hand side = 4/5 * 45 - 2

RHS = 36 - 2

RHS = 34 which is the same as the LHS

Write the additive inverse of each of the following rational numbers:

Answers

Answer:

(1)-3/4, (2) 5/21, (3)4/43

find the missing side of the triangle

Answers

Answer:

x = 34

Step-by-step explanation:

Pytago:

x[tex]30^{2} + 16^{2} = x^2\\x = \sqrt{30^2 + 16^2} \\x = 34[/tex]

Paul can install a 300-square-foot hardwood floor in 18 hours. Matt can install the same floor in 22 hours. How long would it take Paul and Matt to install the floor working together?
4 hours
9.9 hours
13.2 hours
30 hours

Answers

Answer:

9.9 hours

Step-by-step explanation:

The formula to determine the time together is

1/a+1/b = 1/c  where a and b are the times alone and c is the time together

1/18 + 1/22 = 1/c

The least common multiply of the denominators is 198c

198c(1/18 + 1/22 = 1/c)

11c+ 9c = 198

20c = 198

Divide by 20

20c/20 =198/20

c =9.9

Answer:

B - 9.9 hrs

Step-by-step explanation:

took the test.

> There are 14 books on a shelf. 6 of these books are new. The rest of them are used (a) What is the ratio of new books to used books? (b) What is the ratio of used books to all books on the shelf ​

Answers

Answer:

a) 6:8

Because you have 14 books total if you substract 14 - 6= 8, so now you have

14 Books total

6 New Books

8 Used Books.

So, the ratio of new books to used books is 6:8 or if you simplified is 3:4.

b) 8:14

Because you have 8 used books compare to 14 books total. If you simplified your fraction you'll have 4:7

Step-by-step explanation:

Other Questions
Find the slopeof the line passing through the points (3, 4)and(8, -3). write a paragraph about something you did that was fun or unusual 16. List five benefits of therapeutic massage Which statement IS trueabout the equations -3x + 4y = 12 and +X- ~Y - 1?The system of the equations has exactly one solutionat -8, 3). The system of the equations has exactly one solution at (-4, 3). The system of the equations has no solution; the two lines are parallel. The system of the equations has an infinite number of solutions represented by either equation. Many of Ahmed's family have moved from Yemen to the U.S., adapting and adopting to much of American culture while retaining a number of beliefs and customs from home. Ahmed's aunt, who still lives in Yemen, worries that this Americanized family is no longer Yemeni. Ahmed's teenage daughter feels like her family is not American. Sociologically speaking, Ahmed's family is experiencing ___________. Im practically begging someone please help me!! Find the absolute value[5] = ________ find the measure of the largest exterior angle Which of the following led to slavery becoming more brutal in the UnitedStates?A. Prohibition, because slave owners would force slaves to makeliquor illegallyB. Racism, because the slave owners considered themselves to be ofa superior raceC. Temperance, because slave owners would brutally punish slaveswho drankD. Suffrage, because slaves violently protested for the right to vote help please ive been in here for hours oookung for answers A gaseous mixture containing 7.00 moles of nitrogen, 2.50 moles of oxygen, and 0.500 mole of helium exerts a total pressure of 0.900 atm. What is the partial pressure of the nitrogen? Indicar que elemento es de transicin *a) Calciob) Radioc) Hierrod) Carbonoe) AzufreSabiendo que las configuraciones electrnicas son correctas, determinar qu analoga es incorrecta *a) 47Ag: [Kr] 5s2 4d9 I Bb) 27Co: [Ar] 4s2 3d7 VIII Bc) 41Nb: [Kr] 5s2 4d3 V Ad) 50Sn: [Kr] 5s2 4d10 5p2 IV Ae) N.A.porfaaaaaaaaaaaaaaaaaaaa Advocates for organic farming claim that their methods result in a number of benefits to farmers, consumers, and the environment. Scientists now plan to study the claims that organic farming advocates make by developing testable hypotheses about the economic and environmental benefits of growing organic foods. The scientists plan to collect data from farmers and other producers. Which hypothesis should the scientists use pls can anyone say me the of this pls As the human population grows, some minerals in everyday products couldbecome scarce. Which of the following is the best way to address thisproblem? Which is a function of the cell structure that is labeled X Which element has 2 valence electrons in the 2s sublevel? write a short note on the the causes of the two world wars I ______ he would come(hope/hopes/hoped/hoping) Oceanic, a venture capital firm, has the opportunity to invest in one of two firms that are in the process of globalizing. Macmillan, an air-conditioner manufacturer, faces intense pressure from its home market. Rent a Swag, a dog-toy manufacturer, has encountered little competition in its country of origin. In which company should Oceanic invest?a. Macmillan, because air conditioners cost more to ship than dog toys dob. Macmillan, because firms that face stiff competition at home tend to do better abroadc. Rent a Swag, because firms that face little or no competition at home tend to do better abroadd. Rent a Swag, because dog toys cost less to ship than air conditioners do