( ( The function ) ( ( can ( be ( ( calculated ( in ( three dimensions ) ) ) ( by ( ( dividing ( the space ) ) ( into ( a ( regular ( lattice grid ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (NN function)) (VP (MD can) (VP (VB be) (VP (VBN calculated) (PP (IN in) (NP (CD three) (NNS dimensions))) (PP (IN by) (S (VP (VBG dividing) (NP (DT the) (NN space)) (PP (IN into) (NP (DT a) (JJ regular) (NN lattice) (NN grid))))))))) (. .)))
The function can be calculated in three dimensions by dividing the space into a regular lattice grid.
(ROOT (S (NP (NP (DT The) (NN volume)) (PP (IN of) (NP (DT a) (ADJP (ADVP (RB regularly)) (JJ shaped)) (JJ solid)))) (VP (MD can) (VP (VB be) (VP (VBN calculated) (PP (IN from) (NP (PRP$ its) (NNS dimensions)))))) (. .)))