PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
craving123
Forum Newbie
Posts: 2 Joined: Sat Apr 17, 2010 3:38 am
Post
by craving123 » Sat Apr 17, 2010 3:43 am
i m really confused as how to split a trinomial like ax^2+bx+c , because i need to get value of a , b and c individually ,
please help
thanks in advance.
JAY6390
Forum Newbie
Posts: 20 Joined: Sat Apr 17, 2010 6:51 am
Location: UK
Post
by JAY6390 » Sat Apr 17, 2010 6:58 am
How exactly do you want it to be split?
craving123
Forum Newbie
Posts: 2 Joined: Sat Apr 17, 2010 3:38 am
Post
by craving123 » Sun Apr 18, 2010 11:53 am
if i use $r =$_GET['id']; for example val of $r will be ax^2 +bx+c
so from there i need to take out value of a ,b and c individually ...
requinix
Spammer :|
Posts: 6617 Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA
Post
by requinix » Sun Apr 18, 2010 5:07 pm
Do you know if it will always look like
Code: Select all
(something)x^2 + (something)x + (something)?