|
|
|
@ -22,7 +22,7 @@ None.
|
|
|
|
Выполнено успешно!
|
|
|
|
Выполнено успешно!
|
|
|
|
```
|
|
|
|
```
|
|
|
|
Функция - класс function:
|
|
|
|
Функция - класс function:
|
|
|
|
```
|
|
|
|
```py
|
|
|
|
>>> type(uspeh)
|
|
|
|
>>> type(uspeh)
|
|
|
|
<class 'function'>
|
|
|
|
<class 'function'>
|
|
|
|
```
|
|
|
|
```
|
|
|
|
@ -156,8 +156,8 @@ TypeError: unsupported operand type(s) for +: 'int' and 'str'
|
|
|
|
>>> for xx in sps:
|
|
|
|
>>> for xx in sps:
|
|
|
|
yy = inerz(xx,TT,yy)
|
|
|
|
yy = inerz(xx,TT,yy)
|
|
|
|
spsy.append(yy)
|
|
|
|
spsy.append(yy)
|
|
|
|
```py
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
```py
|
|
|
|
>>> import pylab as plt
|
|
|
|
>>> import pylab as plt
|
|
|
|
>>> plt.plot(spsy, label = "Выходной сигнал")
|
|
|
|
>>> plt.plot(spsy, label = "Выходной сигнал")
|
|
|
|
[<matplotlib.lines.Line2D object at 0x00000241DC815370>]
|
|
|
|
[<matplotlib.lines.Line2D object at 0x00000241DC815370>]
|
|
|
|
|