Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Set as Cover Page of Book
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
    • Print CSS
  • Include attachments
Searching in
About 47 results
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_and_Computation_Fundamentals/Mathematics_for_Computer_Science_(Lehman_Leighton_and_Meyer)/01%3A_Proofs/04%3A_Mathematical_Data_Types/4.03%3A_Functions
    So if \(f: A \rightarrow B\), and \(S\) is a subset of \(A\), we define \(f(S)\) to be the set of all the values that \(f\) takes when it is applied to elements of \(S\). 4 There is a picky distinctio...So if \(f: A \rightarrow B\), and \(S\) is a subset of \(A\), we define \(f(S)\) to be the set of all the values that \(f\) takes when it is applied to elements of \(S\). 4 There is a picky distinction between the function \(f\) which applies to elements of \(A\) and the function which applies \(f\) pointwise to subsets of \(A\), because the domain of \(f\) is \(A\), while the domain of pointwise-\(f\) is pow\((A)\).
  • https://eng.libretexts.org/Courses/Prince_Georges_Community_College/INT_2080%3A__The_Missing_Link_-_An_Introduction_to_Web_Development_(Mendez)/03%3A_Scripting_Language/3.11%3A_Objects_and_Classes
    Protected items can be accessed by other methods in the class, or by methods in parent or child classes that use the class in question—we will cover class inheritance here though. This means that a me...Protected items can be accessed by other methods in the class, or by methods in parent or child classes that use the class in question—we will cover class inheritance here though. This means that a method or data member marked private in our Math example could only be used by other methods in the class, not by us when we write code to use an object based on the class.
  • https://eng.libretexts.org/Bookshelves/Data_Science/Principles_of_Data_Science_(OpenStax)/11%3A_Appendix
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.05%3A_Chapter_6
    This page covers essential programming concepts related to functions, including their definitions, control flow, variable scope, parameters, return values, and keyword arguments. It highlights the imp...This page covers essential programming concepts related to functions, including their definitions, control flow, variable scope, parameters, return values, and keyword arguments. It highlights the importance of function calls and reusability, explaining local versus global variables and the interaction of parameters and arguments. Additionally, it discusses the handling of return values and the differences between mutable and immutable objects regarding function operations.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/12%3A_Recursion/12.00%3A_Introduction
    This page discusses recursion, a programming technique that simplifies complex solutions by allowing functions to call themselves with varying parameters. It highlights the compactness and efficiency ...This page discusses recursion, a programming technique that simplifies complex solutions by allowing functions to call themselves with varying parameters. It highlights the compactness and efficiency recursion brings to programming, especially in advanced scenarios.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/09%3A_Lists/9.03%3A_Common_List_Operations
    This page covers key list operations in Python, detailing the use of built-in functions such as max(), min(), and sum() for finding the largest, smallest, and total values in a list. It explains list ...This page covers key list operations in Python, detailing the use of built-in functions such as max(), min(), and sum() for finding the largest, smallest, and total values in a list. It explains list copying with the copy() method and the effects of modifying original versus copied lists. The section also includes practice questions to enhance comprehension of these concepts.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/02%3A_Expressions/2.09%3A_Chapter_Summary
    This page covers essential programming concepts, including interactive expressions, type conversions, string concatenation, and floating-point error handling. It highlights the significance of readabi...This page covers essential programming concepts, including interactive expressions, type conversions, string concatenation, and floating-point error handling. It highlights the significance of readability and presents functions like `abs()` and `int()`. Practical exercises include a bread ingredient calculator and a tip calculator, focusing on user input and accurate output formatting. The chapter reinforces the application of programming skills in real-world scenarios.
  • https://eng.libretexts.org/Courses/Arkansas_Tech_University/Engineering_Modeling_and_Analysis_with_Python/04%3A_Functions/4.10%3A_Fruitful_functions_and_void_functions
    This page discusses two types of functions in Python: fruitful functions, which return a value (e.g., `math.sqrt`), and void functions, which do not return a value (e.g., `print_twice`). It emphasizes...This page discusses two types of functions in Python: fruitful functions, which return a value (e.g., `math.sqrt`), and void functions, which do not return a value (e.g., `print_twice`). It emphasizes the role of the `return` statement, illustrated by the `addtwo` function that sums two numbers and returns the result, showcasing how to effectively manage outputs from functions.
  • https://eng.libretexts.org/Courses/Arkansas_Tech_University/Engineering_Modeling_and_Analysis_with_Python/17%3A_Object-Oriented_Programming/17.01%3A_Managing_Larger_Programs
    This page discusses four essential programming patterns: sequential, conditional, repetitive code, and functions for code reuse. It emphasizes the importance of effective data structure design and ele...This page discusses four essential programming patterns: sequential, conditional, repetitive code, and functions for code reuse. It emphasizes the importance of effective data structure design and elegant coding as program complexity increases. Clarity and organization are crucial for managing larger programs, and object-oriented programming is suggested as a method to simplify complexity by breaking code into smaller components.
  • https://eng.libretexts.org/Courses/Arkansas_Tech_University/Engineering_Modeling_and_Analysis_with_Python/03%3A_Conditional_Execution/3.E%3A_Conditional_Execution_(Exercises)
    This page describes three exercises aimed at enhancing a pay computation program: Exercise 1 focuses on calculating pay with overtime for hours worked beyond 40; Exercise 2 implements error handling f...This page describes three exercises aimed at enhancing a pay computation program: Exercise 1 focuses on calculating pay with overtime for hours worked beyond 40; Exercise 2 implements error handling for non-numeric input; and Exercise 3 prompts users for scores between 0.0 and 1.0, assigning grades while managing out-of-range inputs and providing error messages. The text concludes with a preview of future topics covering functions and loops.
  • https://eng.libretexts.org/Bookshelves/Introductory_Engineering/EGR_1010%3A_Introduction_to_Engineering_for_Engineers_and_Scientists/09%3A_Programming_in_any_language
    Here we discuss programming in general.  The intend of this chapter is to discuss ideas that will apply to most programming languages.  Given that there are over 200 software languages it is quite use...Here we discuss programming in general.  The intend of this chapter is to discuss ideas that will apply to most programming languages.  Given that there are over 200 software languages it is quite useful to explore the theory that will allow a user to study any programming language.

Support Center

How can we help?