10/3/2023 0 Comments Domain and range desmos activity![]() Students explore functions that go beyond numbers, producing all sorts of simple geometric shapes and images in the process. We can be pretty confident that this code will work, even before we run it. And we know from the square function’s Range that it will produce that number. We know from it’s Domain that the square-root function needs a number. Knowing the Domain and Range of our functions also tells us how they can fit together. Optional: Have students turn to the Domain and Range Frayer model () in their workbooks and use the visual organizer to explain the concepts of domain and range in their own words. Write the contracts for +, -, *, /, sqr, and sqrt into the Contracts page. The Range tells us what the function "gives back", produces. These also known as the arguments to the function. The Domain tells us what the function "takes in", or consumes. The Name is simply how we refer to the function: The Contract for a function has three parts: the Name, the Domain, and the Range Once you know how to read one, you can quickly figure out how to use a function just by looking at its contract! Contracts are like a "cheat sheet" for using functions. ![]() We use something called a Contract to keep track of what goes in and out of functions. All we need to know is what goes in and what comes out! ![]() We don’t have to know exactly how coffee makers or toasters work in order to use them. A toaster takes in bread and produces toast. A coffee maker takes in coffee beans and water, and produces coffee. Whenever we use any machine, we always think about what goes in and what comes out. Addition, for example, is like a machine that takes in pairs of numbers and produces a sum. Launchįunctions are a lot like machines: values go in, something happens, and new values come out. They are also closely related to the concept of a function machine, which is introduced as well. This activity introduces the notion of Contracts, which are a simple notation (found in algebra) for keeping track of the set all of possible inputs and outputs for a function. The type or set of outputs that a function produces StringĪ data type for any sequence of characters between quotation marks (examples: "hello", "42", "this is a string!") WarmupĪnd have their Contracts page ready. Information from the computer about errors in code functionĪ mathematical object that consumes inputs and produces an output ImageĪ data type representing a real number range The type or set of inputs that a function expects error message Students will use their Contracts page frequently, so it should be kept in an accessible, convenient location.Ī statement of the name, domain, and range of a function datatypesĪ way of classifying values, such as: Number, String, Image, Boolean, or any user-defined data structure domain Make sure all materials have been gatheredĭecide how students will be grouped in pairsĭomain and Range Review ( Desmos Activity)Ĭheck frequently for understanding of data types and contracts during this lesson and throughout subsequent lessons. Reading for Domain and Range ( original (), solution) I can identify the data types Number, String, and ImageĮxploring Image Functions ( original (), solutions)ĭomain and Range Frayer Model ( PDF ()) I can identify the domain and range of a function. The student is comfortable using and writing Contracts for built-in functionsĭemonstrate understanding of Domain and Range and how they relate to functions ![]() The graph of f is the graph of the equation y = f(x). If f is a function and x is an element of its domain, then f(x) denotes the output of f corresponding to the input x. Understand that a function from one set (called the domain) to another set (called the range) assigns to each element of the domain exactly one element of the range. The graph of a function is the set of ordered pairs consisting of an input and the corresponding output. ![]() Understand that a function is a rule that assigns to each input exactly one output. Students encounter String and Image datatypes and use "contracts" to make sense of the domain and range of functions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |