move calc demo into src
add new demo about calc with error solve