题目: 设计复化梯形公式求积算法 代码: # 要积的函数,字符串形式 fx_str = str(input("请输入要积的函数,格式为 x*x+1 (即变量用x表示,乘号用*表示):")) # 求积的区间[a, b] a, b = list(map(float, in