It is given that 1joule=107erg
Both erg and joule are the units of energy in CGS and MKS respectively. The dimensional formula of energy is [ML2T−2]
Let
1joule=Xerg
1[M1L12T1−2]=X[M2L22T2−2]
X=[M1L12T1−2][M2L22T2−2]
X=[M1M2][L1L2]2[T1T2]2
X=[Kggm][mcm]2[ss]−2
X=[1000gmgm][100cmcm]2(1)−2
=(10)3(104)
=(10)7
So, 1Joule=107erg