Trinomial

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

Post Reply
craving123
Forum Newbie
Posts: 2
Joined: Sat Apr 17, 2010 3:38 am

Trinomial

Post by craving123 »

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.
User avatar
JAY6390
Forum Newbie
Posts: 20
Joined: Sat Apr 17, 2010 6:51 am
Location: UK

Re: Trinomial

Post by JAY6390 »

How exactly do you want it to be split?
craving123
Forum Newbie
Posts: 2
Joined: Sat Apr 17, 2010 3:38 am

Re: Trinomial

Post by craving123 »

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 ...
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Trinomial

Post by requinix »

Do you know if it will always look like

Code: Select all

(something)x^2 + (something)x + (something)
?
Post Reply