Язык Python2.7
1)
import math
y = 1.25*math.e**(-p) if p>0 else 0.5*math.e**p
2)
from math import *
y1 = map(lambda x: (x**0.5+log(x))/x**3, range(3, 7, 0.4))
y2 = map(lambda x: cos(pi*x/2)*x**0.5, range(0, 3, 0.15))
y3 = map(lambda x: (sin(x)+cos(x))/(x+1)**0.5, range(0, 10, 0.1))