Today sir give me idea to create dynamic equations using sageLaTex. Got a solution for our problem. Now I create 2 mathematics function for its understanding. One function calculates area of circle and second function solve algebric equations. In case of algebra , sageLaTex write equation in simplified form. And It is surprising that, this approach can do two things from one code. Same code generate output means give result of equation using sage and same code shows output in latex form. Its a function based programming. Basically we will create function for this. As we done in C, C++. In which we will create functions and pass parameter to it. And resulted variable will write equations in latex form and output as a calculated value.