# Will two triangles with two equal sides and equal area have same altitude

Consider two triangles ABC and DEF.AB=DE and AC=DF .Also area of triangle ABC is equal to the area of triangle DEF.If we draw an altitude (to one of the equal sides) in both triangles, is it(altitude) necessary to be equal in length.If not then please can anyone provide me an example.

EDIT:

My actual problem is as follows. If there are two triangles with two equal sides and equal area i have somehow come to the conclusion that the third side is also equal(which is not true as the third side can be unequal).In the two triangles suppose altitude CM(to AB) and altitude FN(to DE) are drawn.Now consider triangle ACM and DFN.They have equal hypotenuse and an equal side.So by RHS congruency, triangle ACM and triangle DFN are congruent.So we can say that angle BAC and angle EDF are equal.Now consider triangle ABC and DEF, we have one angle equal and two pair of sides equal so by SAS congruency,ABC and DEF are congruent and so BC=EF.Where am i wrong?