习题1:
>> gamma(18)
ans =
3.5569e+14
>>
2.
>> syms z
>> int(5^(-2*z^2),0,inf)
ans =
pi^(1/2)/(2*log(25)^(1/2))
>> double(ans)
ans =
0.4940
>> double(ans)
ans =
0.4940
用伽马函数怎么替换这个积分啊
3.
>> x = (1:0.1:2)';
>> y = gamma(x);
>> A = [x y]
A =
1.0000 1.0000
1.1000 0.9514
1.2000 0.9182
1.3000 0.8975
1.4000 0.8873
1.5000 0.8862
1.6000 0.8935
1.7000 0.9086
1.8000 0.9314
1.9000 0.9618
2.0000 1.0000
>>