ucsb-cs56-projects / cs56-utilities-grapher

-
0 stars 3 forks source link

Add support for arbitrary parenthesized expressions #17

Closed jalexanderqed closed 7 years ago

jalexanderqed commented 8 years ago

Expressions accepted should include sin, cos, logs, and powers. This will require writing a parser for such expressions, which is fairly difficult but not unmanageable. Feel free to ask for help. Not that your parser AND evaluator should include appropriate error handling (e.g. when you do not recognize a string or a negative is passed to a logarithm). You should also add support for some basic constants like PI and e. Note that this should support BOTH decimal and integer values.

jalexanderqed commented 8 years ago

F16 OK (500 pts)

YunSuk commented 7 years ago

It is currently supported