A beam fixed at the ends and subjected to lateral loads only is statically indeterminate and the degree of indeterminacy is