Did I find the right examples for you? yes no

# classes.Y

All Samples(12)  |  Call(8)  |  Derive(0)  |  Import(4)

```    sys.exit(1)
import sys
from classes import Y, Derivative, VelocityProfile, Account, AccountP, \
Person, Circle
from Complex import Complex
```
```lumpy = Lumpy()
lumpy.make_reference()   # not necessary for class diagrams
y = Y(v0=4)
lumpy.object_diagram()
lumpy.class_diagram()
```

```    sys.exit(1)
import sys
from classes import Y, Derivative, VelocityProfile, Account, AccountP, \
Person, Circle
from Complex import Complex
```
```lumpy = Lumpy()
lumpy.make_reference()   # not necessary for class diagrams
y = Y(v0=4)
lumpy.object_diagram()
lumpy.class_diagram()
```

```from classes import Y   # class Y is in module classes
y = Y(3)                # make an instance y with v0=3
v1 = y.value(0.2)       # evaluate the formula for t=0.2
v2 = y.value(t=0.3)     # another call
y.formula()
```
```y(0.2)

y = Y(1.5)
y(0.2)
print y
```
```    return (f(x+h) - f(x))/float(h)

y1 = Y(1)
print diff(y1.value, 0, 1)

```

```from classes import Y   # class Y is in module classes
y = Y(3)                # make an instance y with v0=3
v1 = y.value(0.2)       # evaluate the formula for t=0.2
v2 = y.value(t=0.3)     # another call
y.formula()
```
```y(0.2)

y = Y(1.5)
y(0.2)
print y
```
```    return (f(x+h) - f(x))/float(h)

y1 = Y(1)
print diff(y1.value, 0, 1)

```