# Need to calculate:The value of g(6) from the function g(x)=begin{cases}x-5 if xleq 53x if x>5end{cases}

Need to calculate:The value of g(6) from the function
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

Formula used:
Some functions are defined by different equations for various parts for their domains.
Those functions are called piecewise-defined functions.
To solve the piecewise-defined function for an input, we will determine that which part of the domain it belongs to and use the appropriate formula for that part of the domain.
Calculation:
Consider the provided function,

The function provided is defined in multiple equations.
Therefore, to determine g(6) identify in which equation 6 will lie.
6 lies in the interval $x>5$. Therefore, to determine the value of g(6), $g\left(x\right)=3$ will be used.
Substitute $x=10$ into the equation $g\left(x\right)=3x$.
$g\left(x\right)=3x$
$g\left(6\right)=3\ast 6=18$
Hence, the value of g(6) is 18.