#### A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

Function Calculator - Online Calculator - Tutorpace

# Function Calculator

## Online Tutoring Is The Easiest, Most Cost-Effective Way For Students To Get The Help They Need Whenever They Need It.

Function is a relationship between two variables, one being independent variable (usually represented by ‘x’) and the other variable is dependent variable (usually represented by ‘y’). The ‘y’ value is also called as the ‘function value’. Function calculator is the instant online tool which can find the function or the ‘y’ value, given the ‘x’ value.

Example 1: Find the ‘y’ value given the function, f(x) = 3x + 2 and the ‘x’ value is 5.

Given function >  f(x) = 3x + 2 and x = 5

Now given the value of ‘x’ = 5 and if we plug in the ‘x’ value in the given ‘f(x)’, we get

f(5) = 3(5)  +2

f(5) = 15 + 2

f(5) = 17

Hence when x = 5, then the function value or the ‘y’ value = 17 for the given function.

Example 2: Find the ‘y’ value given the function, f(x) = 4x - 1 and the ‘x’ value is -2.

Given function > f(x) = 4x - 1 and x = -2

Now given the value of ‘x’ = -2 and if we plug in the ‘x’ value in the given ‘f(x)’, we get

f(-2) = 4(-2)  - 1

f(-2) = -8 - 1

f(-2) = -9

Hence when x = -2, then the function value or the ‘y’ value = -9 for the given function.