You need help with this? Send me a message if you want me to explain it to you (on a voice channel or something)
This is not really a programming language. Just math
Thank you Fabrice!
Thank you for help
Describe what a function does in your own words A function applies a predefined rule/set of rules upon an input value which results in an output that complies with the predefined rules of the function. It is a transformation.
f(2) --> 2^2 = 4
f(7) --> 7+10 = 17
f(0) --> 0^2 = 0
f(x) = x/4 - 5
-
A function is a computation / calculation which is used to generate an output from an input.
-
a) 4
b) 17
c) 0 -
f(x) = (x/4) - 5
A function is a computation, where you receive an input and solve for an output.
A) 4
B) 17
C) 0
f(x) = (x/4) - 5
-
A definition will use the same method/instructions on different variables entered, producing the output.
A. 4
B. 17
C.0
- F(x) = (x/4)-5
1: A function takes input and performs a defined mathematical calculation to receive an output.
2: a) 4 b) 17 c) 0
3: f(x) = x/4 - 5
1/ function that converts an input of letters and numbers into an encrypted output of a fixed length using a mathematical equation.
2/ a)4
b)17
c)0
3/ f(x)=(x/4)-5
-
A function is a computation, in this case with input and output values.
a) 4
b) 17
c) 0
- f(x) = (x/4)-5
-
A function takes an input and carries out a specified computation on such input to generate an output.
a. 4
b. 17
c. 0
- f(x) = (x/4) - 5
1.) A funcition describes a state and by entering values (input) the state (output) changes. Complex states and behaviors can be explained by functions and by entering the variables (inputs) you will find out how these inputs behave when put through the function. For example if you know, that the birth rate is 2 you know that in average every woman that gives birth will have 2 kids. This is the fixed thing in the function. The variables is now, how many women got a child lets say in 2019. Like this you can approximate how many kids were born in 2019. Am I correct?
2.) 4 / 17 / 0
3.) f(x) = (x/4) - 5
Yes! I did math! I have avoided it for a century! Really happy!
-
Describe what a function does in your own words’
Function gives you a product when you put quantity using a formula. -
Calculate the output of the following function.
f(x) = {x^2 if x is even x+10 if x is odd}
a. f(x) = 2+2 = 4 even
b. f (7) = 7 + 10 = 17 odd
c. f(0) = 0
- Write the definition of a function f that takes an input x, divides it by four and then outputs that result subtracted by 5.
f(x) =( x/4) - 5.
- A function takes an input value and converts it to an output value applying a logic based on mathematics.
- a) 2^2 = f(2) = 4
b) 7+10 = f(10) = 17
c) f(0) = 0 - f(x) = x/4-5
-
A function is a computation that allows to insert an input and gives an output.
-
a) 4
b) 17
c) 0 -
f(x) = (x/4)-5
-
A function is a computation whereby an input is given certain directions within the function to come out with an output.
2). a) 4
b) 17
c). 0 -
f(x)= x/4 - 5
Thanks Fabrice for explanation. Now I know what that ^ means. At school we never used that star gate symbol. It was always like this - 3².
-
A function is a computation that takes in an input with specific rules and returns an output.
-
a). f = 2^2 = 4
b). f = 7+10 = 17
c). f = 0^2 = 0 -
f(x) = (x/4) - 5
Question a. is correct but it’s not an addition. It’s an exponent.
- Describe what a function does in your own words
- the value of x is squared if x is even, and is added to 10 if odd.
- Calculate the output of the following function
f(x) = {
x^2 if x is even
x+10 if x is odd
}
What will be the output for the following inputs?
- a) f(2) = 4
- b) f(7) = 17
- c) f(0) = 0
- Write the definition of a function f that takes an input x, divides it by four and then outputs that result subtracted by 5.
myFunc(x) = {
var newVal;
newVal = (x/4) - 5;
return newVal;
}
*quick update after remembering to use the code format button - * - Thanks @thecil. =)
https://forumtest.ivanontech.com/t/asynchronous-programming-reading-assignment/3128/275