The formula is
Sin J = Sin L Sin w
Since w is constant, sin w is also constant, viz.
Sanskrit term for Declination is Kranti and the RIshies called the Eclptic Kranti Vritta, implying the Obliquity of the Ecliptic. Maximum Declination is Parama Kranti.
So the formula for computing Declination is
Angle of Solar Declination = Sin ( Sayana Ravi Madhyamam ) * Sin w