I think select the video insert select the movie option under illustrations resize the video player then select the insert tab i’m not 100 percent sure tho
Answer:
val > max
Explanation:
Assuming the values array is already created, inside the loop, we need to check if the val, a value in the values array, is greater than max. If it is greater than the max, that means it is our new max. Then we would set the max as the val. This way, if there is any value greater than max, it will be our max at the end of the loop.
Potential uploaded viruses, personal information being lost, blackmail, identity theft.
Answer:
All the above options are correct.
Explanation:
In a Microsoft Word, to apply a left indent to a selected paragraph, a user can do any of the following:
1. Use the combination keys Ctrl+M on the keyboard to insert a left indent.
2. Use the mouse to pull the left indent marker on the ruler to create a left indent.
3. Another option is to go to the Paragraph dialogue box, place a positive value in the box labeled Left.
Hence, in this case, the correct answer is that: All the above options are correct.
Answer:
import math
tolerance=0.00001
approximation=1.0
x = float(input("Enter a positive number: "))
def newton(number,approximation):
approximation=(approximation+number/approximation)/2
difference_value =abs(number-approximation**2)
if difference_value<= tolerance:
return approximation
else:
return newton(number,approximation)
print("The approximation of program = ", newton(x, approximation))
print("The approximation of Python = ", math.sqrt(x))
Explanation:
- Create a recursive function called newton that calls itself again and again to approximate square root for the newton technique.
- Apply the formulas to find the estimate value and the difference value
.
- Check whether the difference_value is less than the tolerance value and then return the value of approximation else make a recursive call to the newton function by passing the user input and the new approximation value
.
- Finally display all the results using the print statement.