human
Equation of parabola from its focus and directrix | Function to find equation of parabola ..
Driver Code"
Solution in Python:

Give me a code to equation of parabola from its focus and directrix and the other steps required?
assistant
#Here is code to equation of parabola from its focus and directrix and the other steps required.
 def equation_parabola ( x1 , y1 , a , b , c ) :
	t = a * a + b * b
	a1 = t - ( a * a )
	b1 = t - ( b * b ) ;
	c1 = ( - 2 * t * x1 ) - ( 2 * c * a )
	d1 = ( - 2 * t * y1 ) - ( 2 * c * b )
	e1 = - 2 * a * b
	f1 = ( - c * c ) + ( t * x1 * x1 ) + ( t * y1 * y1 )
	print ( " equation ▁ of ▁ parabola ▁ is " , a1 , " x ^ 2 ▁ + " , b1 , " y ^ 2 ▁ + " , c1 , " x ▁ + " , d1 , " y ▁ + ▁ " , e1 , " xy ▁ + " , f1 , " = ▁ 0 . " )
if __name__ == " _ _ main _ _ " :
	x1 , y1 , a , b , c = 0 , 0 , 3 , - 4 , 2
	equation_parabola ( x1 , y1 , a , b , c )