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
coldgirl [10]
3 years ago
12

Give a big-o estimate for the number of operations (where an operation is an addition or a multiplication) used in this segment

of an algorithm. t := 0 for i := 1to3 for j := 1to4 t := t + ij
Mathematics
1 answer:
Marianna [84]3 years ago
6 0
We have a "rectangular" double loop, meaning that both loops go to completion.
So there are 3*4=12 executions of t:=t+ij.

Assuming two operatiions per execution of the innermost loop, (i.e. ignoring the implied additions in increment of subscripts), we have 12*2=24 operations in all.

Here the number of operations (+ or *) is exactly known (=24). 

Big-O estimates are used for cases with a varying scale of operations, governed by a variable (usually n) to indicate the sensitivity of the number of operations relative to a change in the size of n.

Here we do not have a scale, nor n is defined.  The number of operations is constant and known at 24.   So a variable is required to find the big-O estimate.
You might be interested in
To test the belief that sons are taller than their​ fathers, a student randomly selects 13 fathers who have adult male children.
KATRIN_1 [288]

Answer:

1) B. The differences are normally distributed or the sample size is large

C. The  sample size mus be large

E. The sampling method results in an independent sample

2) The null hypothesis H₀:  \bar x_1 =  \bar x_2

The alternative hypothesis Hₐ: \bar x_1 <  \bar x_2

Test statistic, t = -0.00693

p- value = 0.498

Do not reject Upper H₀ because, the P-value is greater than the level of significance. There is sufficient evidence to conclude that sons are the same height as their fathers  at 0.10 level of significance

Step-by-step explanation:

1) B. The differences are normally distributed or the sample size is large

C. The  sample size mus be large

E. The sampling method results in an independent sample

2) The null hypothesis H₀:  \bar x_1 =  \bar x_2

The alternative hypothesis Hₐ: \bar x_1 <  \bar x_2

The test statistic for t test is;

t=\dfrac{(\bar{x}_1-\bar{x}_2)}{\sqrt{\dfrac{s_{1}^{2} }{n_{1}}-\dfrac{s _{2}^{2}}{n_{2}}}}

The mean

Height of Father, h₁,  Height of Son h₂

72.4,      77.5

70.6,      74.1

73.1,       75.6

69.9,      71.7

69.4,      70.5

69.4,      69.9

68.1,       68.2

68.9,      68.2

70.5,       69.3

69.4,       67.7

69.5,       67

67.2,       63.7

70.4,       65.5

\bar x_1  = 69.6      

s₁ = 1.58

\bar x_2 = 69.9

s₂ = 3.97

n₁ = 13

n₂ = 13

t=\dfrac{(69.908-69.915)}{\sqrt{\dfrac{3.97^{2}}{13}-\dfrac{1.58^{2} }{13}}}

(We reversed the values in the square root of the denominator therefore, the sign reversal)

t = -0.00693

p- value = 0.498 by graphing calculator function

P-value > α Therefore, we do not reject the null hypothesis

Do not reject Upper H₀ because, the P-value is greater than the level of significance. There is sufficient evidence to conclude that sons are the same height as their fathers  at 0.10 lvel of significance

8 0
3 years ago
I just need Y. I already found X
garri49 [273]
Y = 54.

This is really complicated to explain, but since x is 36 and the angle on the other side of the known angle is also 36, that makes y 54. Each pair of angles has to equal to 90 degrees.

Hope this helps!
4 0
2 years ago
Is the center of dilation colinear with the hypotenuses of the right triangles shown?
Novay_Z [31]

Answer:

the answer is b

Step-by-step explanation:

i did the quiz

7 0
3 years ago
Erica and Amy started biking in the opposite directions at the same time from the same place. Erica biked at a speed of 6 meters
ipn [44]
Since they are moving in opposite directions, this is the same as Amy staying still and Erica biking at 10 meters per second away from her.

To travel 1km = 1000m at 10 meters per second, you need 1000/10 = 100 seconds.
3 0
3 years ago
Tell whether the sequence 1/3, 0, 1, -2 ... is arithmetic, geometric, or neither. Find the next three terms of the sequence.
max2010maxim [7]

Answer:

A. neither; 7, -20, 61

Step-by-step explanation:

The sequence 1/3, 0, 1, -2 ...

The difference between the terms are; -1/3, 1, -3......

Looking the difference between consecutive terms in the sequence, we can predict the next differences between the following terms, as the differences form a geometric sequence;

Therefore; -1/3, 1, -3, 9, -27, 81

Thus; the sequence will be;

1/3, 0, 1, -2 , (-2+9), (-2+9+-27), (-2+9+-27+81)

1/3, 0, 1, -2, 7, -20, 61

Hence the next three terms are; 7, -20, 61

6 0
2 years ago
Other questions:
  • In the American Heart Association journal Hypertension, researchers report that individuals who practice Transcendental Meditati
    8·1 answer
  • 8) За (x-y) - (х-у)​
    11·1 answer
  • What is the line symmetry for the graph of y= -3x^2+12x-11
    14·2 answers
  • There are six (6) performers who will present their comedy acts this weekend at a comedy club. How many different ways are there
    6·2 answers
  • I totally need help on this question. PLS PLS help me.What does this expression represent? g3/10
    13·2 answers
  • Assume that a hypothesis test of the given claim will be conducted. Identify the type I or type II error for the test. The princ
    15·1 answer
  • 25 PTS!!EXTREMELY EXTREMELY URGENT!!!!!!!!! mr bloss bought 42 pine seedlings and 30 oak seedlings to plant in rows on his tree
    11·1 answer
  • What is 5 3/8 as a inproper fracon and as a mixed number
    13·1 answer
  • Thanks guys Have funnnnnn
    14·1 answer
  • CAN SOMEONE PLEASE HELP WITH MY MATH??? LOOK AT THE PHOTO PLEASEEE I NEED THIS ASAP
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!