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
Alexandra [31]
4 years ago
6

• Suppose that a particular algorithm has time complexity T(n) = 10 ∗ 2n, and that execution of the algorithm on a particular ma

chine takes T seconds for n inputs. Now, suppose you are presented with a machine that is 64 times as fast as your current machine. How many inputs can you process on you new machine in T seconds?
Engineering
1 answer:
elena-s [515]4 years ago
8 0

Answer:

The number of inputs processed by the new machine is 64

Solution:

As per the question:

The time complexity is given by:

T(n) = 10\times 2n

where

n = number of inputs

T = Time taken by the machine for 'n' inputs

Also

The new machine is 65 times faster than the one currently in use.

Let us assume that the new machine takes the same time to solve k operations.

Then

T(k) = 64 T(n)

\frac{T(k)}{T(n)} = 64

\frac{20k}{20n} = 64

k = 64n

Thus the new machine will process 64 inputs in the time duration T

You might be interested in
What is the first step of the engineering design process?
scoundrel [369]

Answer:

The first step  is to identify the need and constraints

Explanation:

5 0
3 years ago
Read 2 more answers
A water contains 50.40 mg/L as CaCO3 of carbon dioxide, 190.00 mg/L as CaCO3 of Ca2 and 55.00 mg/L as CaCO3 of Mg2 . All of the
Galina-37 [17]

Answer:

Total sludge = 123426kg/d

Explanation:

The reaction is given as;

H2Co3 + Ca(OH)2 ⇆ CaCo3 + 2H20

   1              1                   1              2 moles

Calculating the concentration of C02, we have

Concentration of C02 = concentration of CaCo3/Molecular weight of Caco3

                                     = 50.4/100.09

                                     = 0.5035mol/L

Sludge of Co2 = Conc. of Co2 * Q * MW of CaCo3 *10^-6

                         = 0.5035 * 253.6 *10^6 * 100.09 * 10^-6

                         = 12780kg/d

From the equation Ca2+ + 2HCo3- + Ca(OH)2 ⇄ 2CaCo3 + 2H2O

1 mole of calcium yields 2 moles of CaCo3

Therefore, Concentration of Ca2+ = Conc. of CaCo3/Mw of CaCO3

                                                         = 190-30/100.09

                                                         =1.599mol/L

Calculating sludge of calcium:

Sludge of Ca = 2 * Conc. of ca * Q * mw of CaCO3 * 10^-6

                       = 2 * 1.599 *253.6*10^6* 100.09 * 10^-6

                       = 811742kg/d

From the equation,

Mg2+ +2HCO3- + Ca(OH)2 ⇄ MgCO3 + 2CaCO3 + 2H2O

1 mole of mg yields 2 moles CaCO3 and 1 mole of Mg(OH)2

Concentration of Mg2+ = Conc, of CaCO3 /Mw of CaCo3

                                       = 55- 10/100.09

                                       = 0.4496mol/L

Sludge of Mg = 2 *  Conc. of Mg * Q * mw of CaCO3 * 10^-6 +* Conc. of Mg * Q * mw of Mg(OH)2 * 10^-6

= 2 * 0.4496 * 253.5*10^6 * 100.09 * 10^-6 + 0.4996* 253.5*10^6 58.3 * 10^-6

= 29472kg/d

Total Sludge = Sludge of CO2 + Sludge of Ca + Sludge of Mg

                      12780+ 81174 + 29472

                       = 123426kg/d

6 0
3 years ago
Read 2 more answers
6.3.3 Marks on an exam in a statistics course are assumed to be normally distributed
bekas [8.4K]

Answer:

- The calculated p-value (0.392452) is higher than the significance level at which the test was performed, hence, the null hypothesis is true and μ = 60

- 95% Confidence interval for the population mean score = (47.4, 84.1)

Explanation:

The sample of 4 students had scores of 52, 63, 64, 84.

First of, we need to compute the sample mean, we do not need the sample standard deviation as the population variance is given as 5

Mean = (Σx)/N

x = each variable

N = number of variables = 4

Mean = (52 + 63 + 64 + 84)/4

Mean = 65.75

Sample Standard deviation = σ

= √[Σ(x - xbar)²/N]

xbar = mean = 65.75

Σ(x - xbar)² = 532.75

σ = √[532.75/4] = 11.54

in hypothesis testing, the first thing is usually to state the null and alternative hypothesis.

From the question, the null hypothesis has already been stated as

H₀: μ = 60

The alternative hypothesis would then be that the population mean score isn't equal to 60

Hₐ: μ ≠ 60

Since the population distribution is normal and the sample standard deviation is to be used, we use the t-test statistic

t = (x - μ₀)/σₓ

x = sample mean = 65.75

μ₀ = Standard to be compared against = 60

σₓ = standard error = (σ/√n) = (11.54/√4) = 5.77

t = (65.75 - 60)/5.77 = 0.9965 = 1.00

checking the tables for the p-value of this t-statistic

Degree of freedom = df = n - 1 = 4 - 1 = 3

Significance level = 0.05 (95% confidence level)

The hypothesis test uses a two-tailed condition because we're testing in two directions.

p-value (for t = 1.00, at 0.05 significance level, df = 3, with a two tailed condition) = 0.392452

The interpretation of p-values is that

When the (p-value > significance level), we fail to reject the null hypothesis and when the (p-value < significance level), we reject the null hypothesis and accept the alternative hypothesis.

So, for this question, significance level = 0.05

p-value = 0.392452

0.392452 > 0.05

Hence,

p-value > significance level

This means that we fail to reject the null hypothesis & say that there is enough evidence to conclude that the populatiom mean score is equal to 60.

b) Confidence Interval for the population mean is basically an interval of range of values where the true population mean can be found with a certain level of confidence.

Mathematically,

Confidence Interval = (Sample mean) ± (Margin of error)

Sample Mean = 65.75

Margin of Error is the width of the confidence interval about the mean.

It is given mathematically as,

Margin of Error = (Critical value) × (standard Error of the mean)

Critical value will be obtained using the t-distribution.

To find the critical value from the t-tables, we first find the degree of freedom and the significance level.

Degree of freedom = df = n - 1 = 4 - 1 = 3

Significance level for 95% confidence interval

(100% - 95%)/2 = 2.5% = 0.025

t (0.025, 3) = 3.18 (from the t-tables)

Standard error of the mean = 5.77

95% Confidence Interval = (Sample mean) ± [(Critical value) × (standard Error of the mean)]

CI = 65.75 ± (3.18 × 5.77)

CI = 65.75 ± 18.3486

95% CI = (47.4014, 84.0986)

95% Confidence interval = (47.4, 84.1)

Hope this Helps!!!

7 0
3 years ago
Underground water is to be pumped by a 78% efficient 5- kW submerged pump to a pool whose free surface is 30 m above the undergr
maksim [4K]

Answer:

a) The maximum flowrate of the pump is approximately 13,305.22 cm³/s

b) The pressure difference across the pump is approximately 293.118 kPa

Explanation:

The efficiency of the pump = 78%

The power of the pump = 5 -kW

The height of the pool above the underground water, h = 30 m

The diameter of the pipe on the intake side = 7 cm

The diameter of the pipe on the discharge side = 5 cm

a) The maximum flowrate of the pump is given as follows;

P = \dfrac{Q \cdot \rho \cdot g\cdot h}{\eta_t}

Where;

P = The power of the pump

Q = The flowrate of the pump

ρ = The density of the fluid = 997 kg/m³

h = The head of the pump = 30 m

g = The acceleration due to gravity ≈ 9.8 m/s²

\eta_t = The efficiency of the pump = 78%

\therefore Q_{max} = \dfrac{P \cdot \eta_t}{\rho \cdot g\cdot h}

Q_{max} = 5,000 × 0.78/(997 × 9.8 × 30) ≈ 0.0133 m³/s

The maximum flowrate of the pump Q_{max} ≈ 0.013305 m³/s = 13,305.22 cm³/s

b) The pressure difference across the pump, ΔP = ρ·g·h

∴ ΔP = 997 kg/m³ × 9.8 m/s² × 30 m = 293.118 kPa

The pressure difference across the pump, ΔP ≈ 293.118 kPa

6 0
2 years ago
Homes may be heated by pumping hot water through radiators. What mass of water (in g) will provide the same amount of heat when
Nitella [24]

Answer:

a mass of water required is mw= 1273.26 gr = 1.27376 Kg

Explanation:

Assuming that the steam also gives out latent heat, the heat provided should be same for cooling the hot water than cooling the steam and condense it completely:

Q = mw * cw * ΔTw = ms * cs * ΔTw + ms * L

where m = mass , c= specific heat , ΔT=temperature change, L = latent heat of condensation

therefore

mw = ( ms * cs * ΔTw + ms * L )/ (cw * ΔTw )

replacing values

mw = [182g * 2.078 J/g°C*(118°C-100°C) + 118 g * 2260 J/g ] /[4.187 J/g°C * (90.7°C-39.4°C)] = 1273.26 gr = 1.27376 Kg

3 0
3 years ago
Other questions:
  • Signal generator‘s internal impedance is purely resistive and has an open-circuit voltage of 3.5 V. When the generator is loaded
    11·1 answer
  • A 356 cast aluminum test bar is tested in tension. The initial gage length as marked on the sample is 50mm and the initial diame
    9·1 answer
  • How do batteries and other types of power sources make physical computing systems more mobile?
    15·2 answers
  • Exercise 19
    15·1 answer
  • In casting experiments performed using a certain alloy and type of sand mold, it took 155 sec for a cube-shaped casting to solid
    9·1 answer
  • A magnesium oxide component must not fail when a tensile stress of 14 MPa is applied. Determine the maximum allowable surface cr
    8·1 answer
  • What is this i dont understand this at all
    9·1 answer
  • 1. In order for a team to accomplish its goal(s), it is NOT important for the team members to
    14·2 answers
  • A building permit allows a builder to?
    6·1 answer
  • What is the biggest disadvantage of using nuclear power to produce electricity?.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!