1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jeka94
3 years ago
10

Al and Bob are arguing about their algorithms. Al claims his O(nlogn)- time method is always faster than Bob's O(n^2 )- time met

hod. To settle the issue, they perform a set of experiments. To Al's dismay, they , find that if n<100 the O(n^2)-time algorithm runs faster, and only when n>=100 is the O(nlogn)-time one better.Explain how this is possible?
Chemistry
1 answer:
pochemuha3 years ago
3 0
Enormous O unpredictability is in reference to the most exceedingly terrible conceivable development rate of the calculation. So O(N log N) implies that it will never keep running in some time more terrible than O(N log N). So in spite of the fact that Al's calculation scales superior to Bob's quadratic algo, it doesn't really mean it is better for ALL info sizes. 
Maybe there is critical overhead in building up it, for example, making a lot of clusters or factors. Remember that even an O(N log N) calculation could have 1000 non settled circles that official at O(N) and still be viewed as O(N log N) the length of it is the most exceedingly awful part.
You might be interested in
Please help in Chemistry!!!! 15 points! I added a picture below...
krek1111 [17]
The answer would be choice B because the energy decreased by 20 J
5 0
3 years ago
Read 2 more answers
Calculate the energy (in kj/mol) required to remove the electron in the ground state for each of the following one-electron spec
Bess [88]

Explanation:

E_n=-13.6\times \frac{Z^2}{n^2}ev

where,

E_n = energy of n^{th} orbit

n = number of orbit

Z = atomic number

a) Energy change due to transition from n = 1 to n = ∞ ,hydrogen atom .

Z = 1

Energy of n = 1 in an hydrogen like atom:

E_1=-13.6\times \frac{1^2}{1^2}eV=-13.6 eV

Energy of n = ∞ in an hydrogen like atom:

E_{\infty}=-13.6\times \frac{1^2}{(\infty)^2}eV=0

Let energy change be E for 1 atom.

E=E_{\infty}-E_1=0-(-13.6  eV)=13.6 eV

1 mole = 6.022\times 10^{-23}

Energy for 1 mole = E'

E'=6.022\times 10^{-23} mol^{-1}\times 13.6 eV

1 eV=1.60218\times 10^{-22} kJ

E'=6.022\times 10^{23}\times 13.6 \times 1.60218\times 10^{-22} kJ/mol

E'=1,312.17 kJ/mol

The energy  required to remove the electron in the ground state is 1,312.17 kJ/mol.

b) Energy change due to transition from n = 1 to n = ∞ ,B^{4+} atom .

Z = 5

Energy of n = 1 in an hydrogen like atom:

E_1=-13.6\times \frac{5^2}{1^2}eV=-340 eV

Energy of n = ∞ in an hydrogen like atom:

E_{\infty}=-13.6\times \frac{5^2}{(\infty)^2}eV=0

Let energy change be E.

E=E_{\infty}-E_1=0-(-340eV)=340 eV

1 mole = 6.022\times 10^{-23}

Energy for 1 mole = E'

E'=6.022\times 10^{-23} mol^{-1}\times 340eV

1 eV=1.60218\times 10^{-22} kJ

E'=6.022\times 10^{23}\times 340\times 1.60218\times 10^{-22} kJ/mol

E'=32,804.31 kJ/mol

The energy  required to remove the electron in the ground state is 32,804.31 kJ/mol.

c) Energy change due to transition from n = 1 to n = ∞ ,Li^{2+}atom .

Z = 3

Energy of n = 1 in an hydrogen like atom:

E_1=-13.6\times \frac{3^2}{1^2}eV=-122.4 eV

Energy of n = ∞ in an hydrogen like atom:

E_{\infty}=-13.6\times \frac{3^2}{(\infty)^2}eV=0

Let energy change be E.

E=E_{\infty}-E_1=0-(-122.4 eV)=122.4 eV

1 mole = 6.022\times 10^{-23}

Energy for 1 mole = E'

E'=6.022\times 10^{-23} mol^{-1}\times 122.4 eV

1 eV=1.60218\times 10^{-22} kJ

E'=6.022\times 10^{23}\times 122.4\times 1.60218\times 10^{-22} kJ/mol

E'=11,809.55 kJ/mol

The energy  required to remove the electron in the ground state is 11,809.55 kJ/mol.

d) Energy change due to transition from n = 1 to n = ∞ ,Mn^{24+}atom .

Z = 25

Energy of n = 1 in an hydrogen like atom:

E_1=-13.6\times \frac{25^2}{1^2}eV=-8,500 eV

Energy of n = ∞ in an hydrogen like atom:

E_{\infty}=-13.6\times \frac{25^2}{(\infty)^2}eV=0

Let energy change be E.

E=E_{\infty}-E_1=0-(-8,500 eV)=8,500 eV

1 mole = 6.022\times 10^{-23}

Energy for 1 mole = E'

E'=6.022\times 10^{-23} mol^{-1}\times 8,500eV

1 eV=1.60218\times 10^{-22} kJ

E'=6.022\times 10^{23}\times 8,500 \times 1.60218\times 10^{-22} kJ/mol

E'=820,107.88 kJ/mol

The energy  required to remove the electron in the ground state is 820,107.88 kJ/mol.

4 0
3 years ago
Name two control substance?
guapka [62]
The two control bases would be water and salt.
6 0
3 years ago
Read 2 more answers
Which statement correctly describes the relationship between reactant and yield?
wlad13 [49]

Answer:

The theoretical yield is calculated from the amount of the limiting reactant present.

3 0
3 years ago
Physicist Richard Feyneman used to say, "Science is a way of trying not to
Leokris [45]

Answer:

nope

Explanation:

nopeee

6 0
3 years ago
Other questions:
  • 4. When benzene reacts with 1-chloro-2,2-dimethylpropane (neopentyl chloride) in the presence of aluminum chloride, the major pr
    11·1 answer
  • Important functional groups in biomolecules include --------
    14·2 answers
  • What type of reaction breaks the bonds that join the phosphate groups in an ATP molecule?
    5·1 answer
  • The maximum amount of solute that dissolves in a given amount of solvent and forms a stable solution is called the
    8·1 answer
  • PLEASE HELP! I DONT KNOW WHAT TO DO! ITS ALOT PLEASE HELP THO!
    8·1 answer
  • Carbonate oxidation number
    9·1 answer
  • Gamma rays have the highest frequency among all common electromagnetic radiations. It means the gamma rays have the highest ener
    6·1 answer
  • 3. The basic unti of matter *<br> proton<br> neutron<br> electron<br> atom
    14·1 answer
  • List the symbol and the bonding capacity of the 4 most common elements found in
    13·1 answer
  • Which of the following statements about organelles is NOT true?
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!