MIS 304 Lecture Notes - Lecture 10: Hypot, Hypotenuse, Square Root

34 views2 pages

Document Summary

Global constant: a global name that references a value that cannot be changed. Value-returning function: executes the statements that it contains, then returns a value back to the statement that called it. Calling a value-returning function: variable = function() Library functions: perform many tasks programmers commonly need to perform. Copied to the computer when python is installed. Calling a function stored in a module: import module. Black box: any mechanism that accepts input, performs some operation (that cannot be seen) using the input, and produces output. If a same seed value is used, the random number functions generates the same series of pseudorandom numbers. Acos(x): arc cosine of x in radians. Asin(x): arc sine of x in radians. Atan(x): arc tan of x in radians. Ceil(x): returns smallest integer greater or equal to x. Floor(x): returns largest integer less than or equal to x. Hypot(x, y): returns length of hypotenuse that extends from (0, 0) to (x, y)

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents