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
pychu [463]
3 years ago
14

Package Newton’s method for approximating square roots (Case Study: Approximating Square Roots) in a function named newton. This

function expects the input number as an argument and returns the estimate of its square root. The program should also include a main function that allows the user to compute the square roots of inputs from the user and python's estimate of its square roots until the enter/return key is pressed.An example of the program input and output is shown below:Enter a positive number or enter/return to quit: 2 The program's estimate is 1.4142135623746899 Python's estimate is 1.4142135623730951 Enter a positive number or enter/return to quit: 4 The program's estimate is 2.0000000929222947 Python's estimate is 2.0 Enter a positive number or enter/return to quit: 9 The program's estimate is 3.000000001396984 Python's estimate is 3.0 Enter a positive number or enter/return to quit
Computers and Technology
1 answer:
lutik1710 [3]3 years ago
7 0
I’m confused what are you asking
You might be interested in
You have successfully compiled the file Hi.java, how do you run the corresponding program from the command line?
n200080 [17]
The answer is b. java Hi.class :)
8 0
3 years ago
Virtual machines are not susceptible to the threats and malicious attacks like other operating systems.
Nonamiya [84]

Answer:

flamingo was here

Explanation:

3 0
3 years ago
The automotive system that connects the engine and the transmission to the wheels is called the
notsponge [240]
The automotive system that connects the engine and the transmission to the wheels is c (c) the steering system
5 0
3 years ago
Which of the following statements are true?
ipn [44]

Answer:

d. CSS can be included in an HTML document

Explanation:

HTML (Hypertext Markup Language) and CSS (Cascading Style Sheets) are not <em>programming languages</em>. They are, in fact, a different kind of <em>computer languages</em> and are some of the essential tools used in common web pages nowadays.

HTML and HTML5 are <em>different</em>. The latter is a new version of HTML which implies some improvements such as the availability of other technologies and features not found in HTML.

HTML is a <em>markup language</em>, i. e., a kind of computer language like <em>TeX</em>, <em>LaTeX</em>, <em>troff</em>, among others, that defines the <em>structure</em> of a text, and it tells to a computer how to show it in a web page using tags embedded into the content of the document. For example, a paragraph is defined using a tag like this <p> text inside </p>, a title: <title> text inside </title>, and so on with images, tables, et cetera.

CSS is a <em>style sheet language, </em>that is<em>,</em> another kind of <em>computer language</em> whose main emphasis is the <em>appearance</em> of the web page, telling the computer the <em>presentation </em>the <em>structured document</em> is about to have, that is, <em>how the document should look</em>.

As a result, CSS is used to describe the presentation of documents written in HTML and <em>can be included</em> in it.

On the other side, <em>programming languages</em> are <em>formal languages </em>(like the ones of mathematics and logic), that is, with some rules and a particular syntax intended to "communicate instructions to a machine, particularly a computer" [Wikipedia, 2019], and some examples of high-level programming languages are those like C, Python, Fortran, Lisp, CommonLisp, Pascal, JavaScript, among many others.

7 0
3 years ago
The next-to-last major stage in the writing process is _____, which involves checking for mistakes in grammar, punctuation, usag
zvonat [6]
The next to last major stage in the writing process is REVISING, which involves checking for mistakes in grammar, punctuation, usage, and spelling
5 0
3 years ago
Other questions:
  • Which statement is true regarding the Quick Access toolbar?
    11·2 answers
  • C2.5 - A group of four pirates has a treasure chest and one unique lock and key for each pirate. Using hardware that is probably
    6·1 answer
  • Which of the following is generally nota desire today's workers? A. computer ability B willingness to learn C. teamwork skills D
    8·1 answer
  • Var faceS = 100; var mouthS = 30; ellipse(200, 200, faceS, faceS); ellipse(200, 220, mouthS, mouthS); How wide is the second ell
    12·1 answer
  • Write an Enlistee class that keeps data attributes for the following pieces of information: • Enlistee name • Enlistee number Ne
    7·1 answer
  • The Linux operating system was created by which software engineer?
    15·1 answer
  • If your computer will not turn on, what is something you would do to diagnose the problem?
    12·1 answer
  • HELP ASAP !!! What should be a one-page document?
    7·1 answer
  • A computer has dose not have ___________
    6·2 answers
  • Which types of attacks are thwarted by complex passwords that are combinations of upper and lower case letters, numbers, and spe
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!