Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

I need help in sympy programming in Python any expert advise most welcome !!!!

Status
Not open for further replies.

KA786

Mechanical
May 20, 2015
1
0
0
AU
Write a function sympy_grapher(expression, granularity=0.1, limits=[-10,10,-10,10]) which takes a string containing a
sympy expression, an optional parameter granularity which represents how far apart each x-axis point is that you
should graph, and an optional parameter limits, a tuple representing your (x-min, x-max, y-min and y-max) axis limits.
Note that limits are inclusive (ie your minimum and maximum points should also be calculated and graphed).
The function should returns a pyplot object (i.e., plt) that graphs the expression (ie a graph of y = expression)
to the granularity and limits variables specified.
 
Replies continue below

Recommended for you

There are websites dedicated to programming homework questions - this one is for engineers solving engineering problems that sometimes use software to help them.
 
Status
Not open for further replies.
Back
Top