By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,667 Members | 1,352 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,667 IT Pros & Developers. It's quick & easy.

how to define a function v on an interval in sympy ?? and how to plot x(v) versus y

P: 1
hi, in Matlab i can define a function on a interval(use chebfun)
the code like this :

Expand|Select|Wrap|Line Numbers
  1. v=chebfun('c',[3,5])
  2.  x=sin(v)+cos(v)
  3.  y=sin(v)-cos(v)
  4.  plot(x,y)
then got a figure of x versus y when v is in interval [3,5].

how to do this in sympy??
Dec 9 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.