The program is an illustration of loops
<h3>What are loops?</h3>
Loops are program statements that are used to perform repetition
<h3>The main program</h3>
The program written in Python, where comments are used to explain each line is as follows:
#This initializes sum to 0
summ = 0
#This gets input for the first number
num = int(input())
#This is repeated while num is not -1
while num!= -1:
#This calculates the sum
summ+=num
#This gets input for the num
num = int(input())
#This prints the sum
print(summ)
Read more about loops at:
brainly.com/question/16397886
Let r(cos O + i sin O) be a cube root of 125(cos 288 + i sin 288)
then
r^3(cos O + i sin O)^3 = 125(cos 288 + i sin 28)
so r^3 = 125 and cos 3O + i sin 3O = cos 288 + i sin 288
so r = 5 and 3O = 288 + 360p and O = 96 + 120p
so one cube root is 5 (cos 96 + i sin 96)
Im a little rusty at this stuff Its been a long time.
Im not sure of the other 2 roots
sorry cant help you any more
Answer:
3,672
Step-by-step explanation:
Given the sequence 6, 9, 12...
The sequence is an arithmetic sequence
first term a = 6
common difference d = 9 - 6 = 12 - 9 = 3
number of terms n = 48
Sn = n/2[2a+(n-1)d]
Substitute the given values
S48 = 48/2[2(6)+(48-1)(3)]
S48 = 24(12+(3*47))
S48 = 24(12+141)
S48 = 24(153)
S48 = 3,672
Hence the sum of the first 48terms is 3,672
Answer:
The p value would be given by:
For this case since th p value is lower than the significance level of0.05 we have enough evidence to reject the null hypothesis and we can conclude that the true mean for this case is significantly different from 46.7 MPG
Step-by-step explanation:
Information given
represent the mean
represent the population standard deviation
sample size
represent the value to verify
represent the significance level for the hypothesis test.
z would represent the statistic
represent the p value
Hypothesis to test
We want to test if the true mean for this case is 46.7, the system of hypothesis would be:
Null hypothesis:
Alternative hypothesis:
Since we know the population deviation the statistic is given by:
(1)
Replacing we got:
The p value would be given by:
For this case since th p value is lower than the significance level of0.05 we have enough evidence to reject the null hypothesis and we can conclude that the true mean for this case is significantly different from 46.7 MPG
Answer:
answer of this question is option A x-9 this represent solution