0 Members and 2 Guests are viewing this topic.
Oh. If this isn't too intrusive, may I ask what math level you're currently taking?
:ClrHome:a+bi (Found in the [MODE] menu, allows imaginary numbers):Disp "AX²+BX+C=0:Prompt A,B,C:√(B²/4-AC:Pause -B/(2A)+{Ans,-Ans
(sorry, but I had to optimize a little )
:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:Pause -(B+{1,-1}√(B²+4i²AC))/(2A
Code: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:Pause -(B+{1,-1}√(B²+4i²AC))/(2ADoesn't even change the mode settings
Quote from: Xeda112358 on November 01, 2010, 01:07:38 am(sorry, but I had to optimize a little )And I has to optimize it more. Also, your code doesn't work; it would have to be √(B²/4-AC)/A Code: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:Pause -(B+{1,-1}√(B²+4i²AC))/(2ADoesn't even change the mode settings
:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:-B+{1,-1}√(B²+4i²AC:Pause Ans/(2A
Quote from: calcdude84se on November 01, 2010, 08:30:09 pmQuote from: Xeda112358 on November 01, 2010, 01:07:38 am(sorry, but I had to optimize a little )And I has to optimize it more. Also, your code doesn't work; it would have to be √(B²/4-AC)/A Code: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:Pause -(B+{1,-1}√(B²+4i²AC))/(2ADoesn't even change the mode settings Two can play the optimization game.
:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:B+{1,-1}√(B²+4i²AC:Pause -2C/Ans
Quote from: Runer112 on November 01, 2010, 09:05:06 pmQuote from: calcdude84se on November 01, 2010, 08:30:09 pmQuote from: Xeda112358 on November 01, 2010, 01:07:38 am(sorry, but I had to optimize a little )And I has to optimize it more. Also, your code doesn't work; it would have to be √(B²/4-AC)/A Code: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:Pause -(B+{1,-1}√(B²+4i²AC))/(2ADoesn't even change the mode settings Two can play the optimization game. But only one may win...Code: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:B+{1,-1}√(B²+4i²AC:Pause -2C/Ans
:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:Pause -2C/(B+{1,-1}√(B²+4i²AC
But only one may win...QuoteCode: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:B+{1,-1}√(B²+4i²AC:Pause -2C/Ans that works? In which case...Code: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:Pause -2C/(B+{1,-1}√(B²+4i²AC
Code: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:B+{1,-1}√(B²+4i²AC:Pause -2C/Ans
:ClrHome:Pause "GOOGLE IT
Quote from: Runer112 on November 01, 2010, 09:30:33 pmBut only one may win...QuoteCode: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:B+{1,-1}√(B²+4i²AC:Pause -2C/Ans that works? In which case...Code: [Select]:ClrHome:Disp "AX²+BX+C=0:Prompt A,B,C:Pause -2C/(B+{1,-1}√(B²+4i²ACAnd the winner is...Code: [Select]:ClrHome:Pause "GOOGLE IT Only 11 bytes!
:ClrHome:Pause "JFGI"