slope field tutorial
how would you go about making a slope field using python?
User Profile
Collapse
-
im kinda new to this and i have to make a code for my class
does anyone know how to create the code for making a slope field? so if i insert a function using gui or something it'll graph the slopes for the function on the graphic screen. here's wat i have so far:
[CODE=python]
from livewires import*
import math
begin_graphics( )
def slope(x,y):
return float(x*y)
def xend (x,r,m):...Leave a comment:
-
slope field solution for my class
does anyone know how to create the code for making a slope field? so if i insert a function using gui or something it'll graph the slopes for the function on the graphic screen. here's wat i have so far:
import math
from livewires import *
begin_graphics( )
x1=random_betwe en(1,639)
y1=random_betwe en(1,479)
plot(x1,y1)
a=5
while a==5 :
corner= float(random_be tween(1,3))
...
No activity results to display
Show More
Leave a comment: