Evaluating a function, Mathematics

Assignment Help:

Evaluating a Function

You evaluate a function by "plugging in a number".

For example, to evaluate the function
f(x) = 3x2+ x -5
at x = 10, you plug in a 10 everywhere you see an x:
f(10) = 3(10)2 + 10 - 5
=3(100) + 10 - 5
=300 + 10 - 5
=305

To evaluate f at x = z + 1, you would write

f(z + 1)= 3(z + 1) 2 + (z + 1) - 5
The thing to be careful of is parentheses. Notice how in the first term, the entire expression (z + 1) is squared? If you wrote

f(z + 1) = 3z + 1 + (z + 1) - 5 (wrong!)

it would be wrong. You need the whole expression squared and multiplied by 3, and the parentheses are needed to make it happen!

 

 


Related Discussions:- Evaluating a function

form a pythagorean triple, A Pythagorean triple is a set of positive integ...

A Pythagorean triple is a set of positive integers (a,b,c) like  a2 + b2 = c2.  Write a function "ispythag" that will receive 3 positive integers (a, b, c in that order) and will r

Value of perfect information, Value of perfect information This relates...

Value of perfect information This relates to the amount that we would pay for an item of information such would enable us to forecast the exact conditions of the market and act

Conditional probability: dependent events, We can define the conditional pr...

We can define the conditional probability of event A, given that event B occurred when both A and B are dependent events, as the ratio of the number of elements common in both A an

Example of elps maths learning, Do you agree with the necessity of the sequ...

Do you agree with the necessity of the sequencing E - L - P - S for learning? If not, then what do you suggest as an alternative path for understanding and internalising mathematic

Variation, If p=10 when q=2,find p when q=5

If p=10 when q=2,find p when q=5

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd