[Tutor] How to plot possible values of a function on specified range

DL Neil PyTutor at danceswithmice.info
Mon May 25 21:04:35 EDT 2020


On 26/05/20 7:49 AM, SATYABRATA DATTA wrote:
> Let say I have a function
> 
> def f:x,y,z  return x**2+abs(exp(5*y)-5*z) x=range[0,2.65] y=range[0,3.86]
> z=range[0,6]
> 
> Now I have to plot possible values of the function f[x,y,z] against z. It
> will look like a scattered discrete points in f-z plan( each point will
> indicate the values of f for randomly varied x,y,z)


The above is not Python code. Please copy-paste appropriate code from 
your text-editor/IDE.

What is your question?

Is this an 'homework' assignment? (if so, which course?)
-- 
Regards =dn


More information about the Tutor mailing list