!Fortran Vim 练习2 数学函数 program test2 read(*,*)x out1=sin(x)+sqrt(x)+x**2+exp(x)+abs(x)+log10(x) out2=log(x)!以e为底logE(x) print *,out1 read(*,*)x end program test2 计算结果:输入3,输出34.43583 转载于:https://www.cnblogs.com/ytyt2002ytyt/archive/2011/11/04/2236489.html