( ( just ( as ( the ( same law ) ) ) ) ( ( explains ( ( ( ( why ( iron ( sinks ( in water ) ) ) ) , ) and ) ( how ( it ( can ( be ( made ( to float ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (RB just) (RB as) (DT the) (JJ same) (NN law)) (VP (VBZ explains) (SBAR (SBAR (WHADVP (WRB why)) (S (NP (NN iron)) (VP (VBZ sinks) (PP (IN in) (NP (NN water)))))) (, ,) (CC and) (SBAR (WHADVP (WRB how)) (S (NP (PRP it)) (VP (MD can) (VP (VB be) (VP (VBN made) (S (VP (TO to) (VP (VB float))))))))))) (. .)))
just as the same law explains why iron sinks in water, and how it can be made to float.
(ROOT (S (NP (NP (NNP Archimedes) (POS ')) (NN law)) (VP (VBZ explains) (SBAR (WHADVP (WRB why)) (S (NP (NP (DT a) (NN ship)) (VP (VBG weighing) (NP (NP (NNS thousands)) (PP (IN of) (NP (JJ metric) (NNS tons)))))) (VP (VBZ floats) (PP (IN on) (NP (NN water))))))) (. .)))