( Electroscope ( ( ( ends up ) ( oppositely ( charged ( to ( ( the object ) ( used ( to ( charge it ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Electroscope)) (VP (VBZ ends) (PRT (RP up)) (NP (NP (NN oppositely)) (VP (VBN charged) (PP (TO to) (NP (NP (DT the) (NN object)) (VP (VBN used) (S (VP (TO to) (VP (VB charge) (NP (PRP it))))))))))) (. .)))
Electroscope ends up oppositely charged to the object     used to charge it.
(ROOT (S (NP (DT A) (PRN (-LRB- -LRB-) (NP (NN n)) (-RRB- -RRB-)) (NN electroscope)) (VP (VBZ is) (VP (VBN used) (S (VP (TO to) (VP (VB study) (NP (NN charge))))))) (. .)))