Answer:
def newton(n):
#Define the variables.
t = 0.000001
esti = 1.0
#Calculate the square root
#using newton method.
while True:
esti = (esti + n / esti) / 2
dif = abs(n - esti ** 2)
if dif <= t:
break
#Return the result.
return esti
#Define the main function.
def main():
#Continue until user press enters.
while True:
try:
#Prompt the user for input.
n = int(input("Enter a number (Press Enter to stop):"))
#display the results.
print("newton = %0.15f" % newton(n))
except:
return
#Call the main function.
main()
Answer:
w3schools
Explanation:
there is a webiste called w3schools that really helped me through my web page design class, just click on learn html
Answer:
The answer to the above questions is given in explanation section:
Explanation:
abstraction hides the details about a specific piece of information.
The suitable match for this is Data
Because the word "Piece of information " can only be referred to data not to process.
Now look at the second
abstraction hides the details about a specific process
The suitable match here is procedural.
because specific process can only be referred to procedure not to data.
<u>Tag to insert pictures of students and teachers:</u>
While creating a website for a school, the developer would like to make it more attractive and appealing by adding hyperlinks, images, and videos.
In order to insert pictures of students and teachers, the developer will have to use the <img> tag. The <img> tag allows a user to an image to a webpage.
An example of inserting an image in a webpage is as follows:
<img src=""Annual.gif"" alt=""Annual Day"" height=""40"" width=""40"">
<img src=""Independence.gif"" alt=""Independence Day"" height=""40"" width=""40"">"