Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Writing A Program That Does Algebra For Me

Name: Anonymous 2007-10-31 22:21

I want to try and write a program that can solve algebra problems in C++, how would I go about doing this (I already know some C++, I just need a basic idea of how to go about using variables, constants, etc. to do algebra)?

Name: Anonymous 2007-10-31 22:22

a. choose a different language, like haskell or lisp.
b. read sicp
No, really, no trolling.

Name: Anonymous 2007-10-31 22:47

>>1
Forget it, it's NP-complete.

Name: Anonymous 2007-10-31 23:11

Name: Anonymous 2007-10-31 23:17

Find a torrent for Mathematica, Maple, or whatever other program you want. No reason to make a half-assed CAS.

PROTIP: Knowing some C++ isn't going to cut it, cupcake.

Name: Anonymous 2007-10-31 23:19

take a look at the maxima source and the wxmaxima frontend (search sourceforge)

Name: Anonymous 2007-10-31 23:25

>>4
win

Name: Anonymous 2007-10-31 23:29

>>4
Holy shit those are some hardcore references.

Name: Anonymous 2007-11-01 0:53

I'll start learning some other coding languages.
I did manage to make a program that does two step equations though.

Name: Anonymous 2007-11-01 4:08

>>4
Wow, a bunch of hardcore shit corns.

Name: Anonymous 2007-11-01 4:08

>>1
Learn 2 prolog

Name: Anonymous 2007-11-01 4:59

Name: Anonymous 2007-11-01 5:49

????? use maxima not c++ dumfuck

Name: Anonymous 2007-11-01 6:53

>>4
http://www.amazon.com/dp/0596005687/

It's a fucking java lion! Get into the car!

Name: Anonymous 2007-11-01 7:20

http://www.amazon.com/dp/0596003870/
Are you ready for this?

Name: Anonymous 2007-11-01 7:51

>>1
Please elaborate on what sort of algebraic solver you are trying to make.

Name: Anonymous 2007-11-01 7:59

>>16
The one that evalutes P=NP and x/0 with a definite solution

Name: Anonymous 2007-11-01 9:26

>>17
In that case, only x86 assembler is powerful enough to help you.

Name: Anonymous 2007-11-01 9:39

It is called symbolic computation. You have to use abstraction! Thus you will fail because you posted on prog.

Name: Anonymous 2007-11-01 9:40

>>17
The equivalence of the classes P and NP are unknowable. Stop trying.

Name: Anonymous 2007-11-01 9:54

>>20
The equivalence of the classes P and NP are unknowable.
What makes you think so?

Name: Anonymous 2007-11-01 11:02

You can do any algebraic equation after reading about 30 pages of SICP. It's worth it.

Name: Anonymous 2007-11-01 11:28

It's called numerical programming.
Any decent 4 year college will offer a specialized CS degree in it.
Go buy the text book. Make sure it covers Gaussian Elimination.

Name: Anonymous 2007-11-01 11:50

>>21
Nice.

Name: Anonymous 2007-11-01 11:51

>>24
Will you be my friend?

Name: Anonymous 2007-11-01 13:39

Just download Mathematica and be done with it.

Name: Anonymous 2007-11-01 15:46

>>23
linear mathematics?

Name: Anonymous 2007-11-01 19:43

get "algorithms in C++" by R. Sedgewick, it has a few good algorithms for mathmatical purposes; alternatively use "Numerical Recipies in C"(fucking old but still the best book for numerical computing).

Name: Anonymous 2007-11-02 14:36

>>28
don't you mean "Numerical Recipies in C++" or do they have one for C as well

Name: Anonymous 2007-11-02 14:51

>>29
lolwut?

Name: Anonymous 2007-11-02 23:26

Use Maxima if you want a free lisp version of mathmatica and maple.

Name: Anonymous 2007-11-03 1:07

I wrote a simple program that does two step equations for me, nothing really special. I'll take a look at those books/languages.

Name: Anonymous 2007-11-03 18:27

>>23
You don't need a CS degree to write a program that does Gaussian Elimination. I wrote a program that did that in high school.

Name: Anonymous 2007-11-04 1:26

u know some c++ but not how to use variables?

Name: Anonymous 2007-11-04 5:15

>>33
I WROTE AN ANSI C COMPILER WHEN I WAS 12

Name: Anonymous 2007-11-04 6:54

I WROTE AN ANSI C COMPILER WHEN I WAS IN THE WOMB

Name: Anonymous 2007-11-04 10:21

I WROTE A C++0x COMPILER BEFORE MY CONCEPTION

Name: Anonymous 2007-11-04 11:30

I am a genetically engineered life form whose sole purpose it is to write compilers for all kinds of languages.

Name: Anonymous 2007-11-04 14:08

I wrote a binary uncompiler before i was even born

Name: Anonymous 2007-11-04 17:18

I only imagined it and it worked.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List