Issue
I am now dealing with a mathematical problem with my codes. I have second degree equation , for example , ax^2+bx+c=z .
If we have to find the value of 'X', we have the eqution , x=(-b +/- root(b^2-4ac))/2a.
The main headache is that i've to show the square root symbol in image using gd library. But i dont know how to show this equation using proper mathematical(i mean using square root symbol etc.) in the image using gd functions.
Is there a way for doing it?
Solution
Should work in imagettftext - √. To do it Mac you hold Alt (option) + J
You can use an image (BLOB) from a mysql database as wellas well as string data and it will auto detect it and creates a GD resource based on it. The image has to be supported but i'm sure the square root symbol is. Good luck I hope this helped.
Answered By - Wideload Shipping Answer Checked By - Terry (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.