# Homework Help: Find the value of p and q that make the function continuous

1. Apr 18, 2012

### egc

1. The problem statement, all variables and given/known data

Find the value of p and q that make the function continuous

2. Relevant equations
f(x)= x-2 if x≥2
$\sqrt{p-x^{2}}$ -2<x<2
q-x if x≤-2

3. The attempt at a solution
lim f(x)= x-2
n→2+

lim f(x)=q-x
n→-2

I really have no idea how to continue,the teacher never explained this and I have a test tomorrow please help!

Last edited: Apr 18, 2012
2. Apr 18, 2012

### egc

Does q= -2 and p=4 ?