Top answers


Describe a queue data structure.

A queue is a FIFO (First In First Out) data structure. Analogous to a production line, the first item in the list will be the first to be removed, the second the second and so on.
MT
Answered by Michael T. • Computing tutor
3387 Views

Describe a stack data structure.

A stack is a LIFO (Last In First Out) data structure. Analogous to a stack of plates, every new data entry is placed (or pushed) onto the top of the stack, and to get the the data below it, you must first re...
MT
Answered by Michael T. • Computing tutor
3974 Views

∫ log(x) dx

Using "Integration by parts" or "reverse chain rule" . Recall formula for intergration by parts: "∫f'(x) g(x) dx = f(x)g(x) - ∫f(x)g'(x)dx" Then set f'(x) = 1, g(x) = log(x). Ca...
MT
Answered by Michael T. • Maths tutor
49481 Views

Differentiate f(x) = 2xlnx.

Use the chain rule: f'(x) = v(du/dx) +u(dv/dx). Let u = 2x, du/dx = 2, v = lnx, dv/dx = 1/x Using this information: f'(x) = 2lnx + 2x/x This simplifies to f'(x) = 2lnx +2.
TV
Answered by Tom V. • Maths tutor
23399 Views

I do not understand when or when not to use the subjunctive in Spanish.

The Subjunctive in Spanish is not so much a tense, but rather a mood. It can be used to express subtleties in language that emphasise desires, wishes, hypotheses and uncertainty. In general, I would employ t...
JC
Answered by John C. • Spanish tutor
3707 Views