Programming Thread

Viewing single post

Started by the-pi-guy, Mar 13, 2016, 10:39 PM

previous topic - next topic

the-pi-guy

So I would like to make a math program sometime, basically allowing:

-user text to input equations with the usual operations
-user to save functions
-user to save variables
-degrees/radians
-other bases

Must haves:
-cos, sec + inverses
-sin, csc + inverses
-tan, cot + inverses
-lg
-log
-ln
-logx
-The usual operations:  ^, *, /, +, -, !, |, &, =, !=, <, >, <=,>=, %
-Maybe a special operation to allow mixed bases
-(, )
-(mod x)

User will set variables or functions using set keyword:
User: set x = 5
User: x
System: 5

User set f(x) = 2*x
User: f(x)
System: 2*x

User: f(3)
System:  6

Nice to haves:  (Will probably get too bored to do these:)
-matrix features
-a more robust editor
-list features {2,3,4} * 5 = {10, 15, 20}
-other fancy features: special functions like prime counting function, function to return if p is prime