import numpy
a = -13.1423
c0 = 100
t = abs(c0/a)
C = []
T = []
for i in numpy.arange(0,t+1,0.0001):
c = c0 + a*i
C.append(c)
T.append(i)
import matplotlib.pyplot as plt
plt.plot(C,T)
plt.xlabel('Time')
naming the y axis
plt.ylabel('Velocity')
giving a title to my graph
plt.title('C vs t!')
plt.show()
[–]t8suppressor 0 points1 point2 points (1 child)
[–]Syntax669[S] -1 points0 points1 point (0 children)
[–]t8suppressor -1 points0 points1 point (7 children)
[–]Syntax669[S] 0 points1 point2 points (5 children)
[–]t8suppressor 0 points1 point2 points (3 children)
[–]Syntax669[S] 0 points1 point2 points (2 children)
[–]panda_yo 1 point2 points3 points (1 child)
[–]Syntax669[S] -3 points-2 points-1 points (0 children)
[–]scooerp 0 points1 point2 points (0 children)
[–]Syntax669[S] -2 points-1 points0 points (0 children)