Author Topic: I R0XX0RZ T3H \/\/0rLd 'o PrOgRaMiNg!!!!11!!!one!oen!!!11!!  (Read 1876 times)

RussianVodka

  • Hydlaa Notable
  • *
  • Posts: 689
    • View Profile
I R0XX0RZ T3H \/\/0rLd 'o PrOgRaMiNg!!!!11!!!one!oen!!!11!!
« on: December 10, 2004, 03:58:00 am »
Sorry for the leet... I got over excited...

Ahem!

Last week, after about 2 hrs of work i created a program that solves quadratic equations... It was crude, and crashed in MANY cases, but it was just a test to see if i can get the basic code to work.

Over the past two days, i have been working for a grueling 4-5hrs and have created the second and probably final version of the program \"Quadratic Solver v2.0\".

I need to get it out on the web and excersize my braging rights, but i dont know of any websites that would sponser my download...

I\'m thinking of editing the code a bit, so it gives away my email instead of my name, and trying to submit it to www.downloads.com.

If any of you know of any other websites that might host it? Or just a website like photobucket where i can dump my code?



Q: How many Planeshifters does it take to expalin a simple concept to a newb?
A: Six. Five to argue on who\'s explanation is right, and Moogie to lock the thread.

Efflixi Aduro

  • Veteran
  • *
  • Posts: 1871
  • O_o
    • View Profile
(No subject)
« Reply #1 on: December 10, 2004, 05:53:19 am »
*looks up*
Haa le Loo ya! Haa le Loo ya!
*sky gets brighter*

In like two chapters im gonna be doing quadratic functions in my algebra 2 class! Somone up there loves me :)
Tell me once the program is ready. I could \"test\" it for you :)

Wow these past two weeks luck has been on my side...

EDIT there not hard but its good to have a helper right next to you :)
« Last Edit: December 10, 2004, 05:56:18 am by Efflixi Aduro »
Lol Internet

Ghostslayer

  • Hydlaa Citizen
  • *
  • Posts: 402
    • View Profile
(No subject)
« Reply #2 on: December 10, 2004, 06:36:54 am »
You could just zip the file and throw it up here

Just kind of curious, is it just the basic command prompt type program?  Since you said it crashed in many cases before, did you fix it up to do all cases of (imaginary/real numbers)?

Which language did you program it in by the way?

I remember doing one of those programs back when I took a C++ class... good practice.
Blitzers Guild
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.

ArcaneFalcon

  • Hydlaa Notable
  • *
  • Posts: 591
  • ?
    • View Profile
(No subject)
« Reply #3 on: December 10, 2004, 08:26:16 am »
Heh, I remember making a quadratic solver with the (crappy version of) basic language that comes on TI calculators.  If I remember correctly it could even do \"i\" stuff (root of negative numbers) but that was built into the calculator and wasn\'t a result of my (inefficient) programming skills.

:emerald:

RussianVodka

  • Hydlaa Notable
  • *
  • Posts: 689
    • View Profile
(No subject)
« Reply #4 on: December 10, 2004, 05:06:08 pm »
The program does real numbers, and it sorta does imaginary numbers.
Here is what the answers are like:

Real rational: Gives two values.
Real irational: gives two somewhat simplyfied formulas.

Imaginary rational: gives two formaulas as \'(a+bi)/x\' also simplyfies if both \'a\' and \'b\' are devisible by \'x\'.
Imaginary irational: Gives the formula with the \'i\' value.


I\'m using this formula as the basis for the program-

-b +- (b^2 - 4ac)
------------------        = X
           2a


\'+-\' = plus minus (as in the there are two answers, one with the formula having a plus, the other with the formula having a minus.)

EDIT: I\'ll upload when i get home.
« Last Edit: December 10, 2004, 05:06:45 pm by RussianVodka »



Q: How many Planeshifters does it take to expalin a simple concept to a newb?
A: Six. Five to argue on who\'s explanation is right, and Moogie to lock the thread.

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
(No subject)
« Reply #5 on: December 10, 2004, 09:37:05 pm »
the  quadratic equations sucks... right behind proofs and completing the square... but in general I hate any long math problem.... stupid math... and its numbers... and who decided to add letters anyway? stupid number/letter thingy...
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

Ghostslayer

  • Hydlaa Citizen
  • *
  • Posts: 402
    • View Profile
(No subject)
« Reply #6 on: December 10, 2004, 11:31:10 pm »
Quote
Originally posted by Harkin
the  quadratic equations sucks... right behind proofs and completing the square... but in general I hate any long math problem.... stupid math... and its numbers... and who decided to add letters anyway? stupid number/letter thingy...


Quadratic... long?!? um yea.  I should show you some real equations sometime :P

Anyway, math is useful and so are variables, but I doubt you\'ll believe me about that.

RussianVodka: Just post when you have it loaded somewhere and I\'ll test it out for ya.
Blitzers Guild
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
(No subject)
« Reply #7 on: December 11, 2004, 12:17:39 am »
i meant long as 4-6 lines on notebook paper... i can do moderate to hard problems of the sort in anywhere from 1-2 minutes

for a note: just because I hate math doesnt mean I\'m not good at it... actually I excell in math
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

Icefalcon

  • Veteran
  • *
  • Posts: 1610
    • View Profile
(No subject)
« Reply #8 on: December 11, 2004, 01:10:20 am »
Quote
Originally posted by Ghostslayer
Quadratic... long?!? um yea.  I should show you some real equations sometime :P

Er... no kidding. Thats basic algebra...

I tried to create a program on my TI-83 Plus... it didn\'t turn out so well... The only way I can make a program on my calculator is with a step by step instruction in my book.

Klyaksa, can\'t wait to see how it works.  8)
« Last Edit: December 11, 2004, 03:02:57 am by Icefalcon »

faldrok

  • Hydlaa Citizen
  • *
  • Posts: 376
    • View Profile
(No subject)
« Reply #9 on: December 11, 2004, 04:06:33 am »
Icefalcon: I can\'t believe you wasted $100 on a friggin\' calculator!! And, that is the type of calculator that can do everything for you...what a shame. In America, you don\'t need to know how to do anything in Math...the calculator can do it for you!!

I stick by my $1 calculator. I just use it when I don\'t have the time to work out 237*543. Other than that, I do it myself...pfft, super calculators.

Icefalcon

  • Veteran
  • *
  • Posts: 1610
    • View Profile
(No subject)
« Reply #10 on: December 11, 2004, 04:19:05 am »
Quote
Originally posted by faldrok
Icefalcon: I can\'t believe you wasted $100 on a friggin\' calculator!! And, that is the type of calculator that can do everything for you...what a shame. In America, you don\'t need to know how to do anything in Math...the calculator can do it for you!!

It was required for my classes. There are things that you need it for, believe me...

RussianVodka

  • Hydlaa Notable
  • *
  • Posts: 689
    • View Profile
(No subject)
« Reply #11 on: December 11, 2004, 05:00:35 am »
*drum roll*


Ta da! Here it is:

http://upl.silentwhisper.net/uplfolders/upload9/X_finder.exe

Just click on the link to download.



Q: How many Planeshifters does it take to expalin a simple concept to a newb?
A: Six. Five to argue on who\'s explanation is right, and Moogie to lock the thread.

ArcaneFalcon

  • Hydlaa Notable
  • *
  • Posts: 591
  • ?
    • View Profile
(No subject)
« Reply #12 on: December 11, 2004, 05:04:42 am »
Faldrok:  You couldn\'t be more wrong.  When you\'re doing things like finding points of inflection you don\'t want to be wasting your time doing the graph of the first and second derivative.  The things we use those calculators for are the simple yet time consuming things that simply slow us up.  It turns a 20 minute problem into a 10 minute problem (which comes in handy when you have 10 of those problems).  Not only that, but I can program it to do things like empirical formulas, trig stuff (law of cosines, etc.) and other monotanous stuff that I could easily do on my own but simply don\'t want to waste my time with.  Not only that, but often times teachers will require them for upper level math courses.

:emerald:

DepthBlade

  • Veteran
  • *
  • Posts: 1838
    • View Profile
(No subject)
« Reply #13 on: December 11, 2004, 06:06:18 am »
Wow I could have used this about a year and a half ago! *jumps in his time machine*

Ghostslayer

  • Hydlaa Citizen
  • *
  • Posts: 402
    • View Profile
(No subject)
« Reply #14 on: December 11, 2004, 07:55:05 am »
Looks good RussianVodka, only thing I found that crashes it is if you input any sort of illegal character (ie letters/symbols).  It looks like it sends it into an infinate loop.
Other than that, looks pretty good, well done :)

Faldrok: Just like ArcaneFalcon said, they are necessary sometimes.  I purchased one of those in high school when it was required.  There is was pretty pointless, but I need it more and more now.  For some of the things I do, I either need a calculator like that or some sort of math software (Maple / Matlab / Polymath or whatever) in order to get a solution I need.
Blitzers Guild
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.