早教吧 育儿知识 作业答案 考试题库 百科 知识分享

若函数y=1/2(x^2-100x+196+‖x^2-100x+196‖),求当x分别取1,2,3,4,...100这100个正整数时,相对应的100个函数值的和

题目详情
若函数y=1/2(x^2-100x+196+‖x^2-100x+196‖),求当x分别取1,2,3,4,...100这100个正整数时,相对应的100个函数值的和
▼优质解答
答案和解析
x^2-100x+196=(x-2)(x-98)
当2<=x<=98时,x^2-100x+196《=0
所以y=1/2(x^2-100x+196+‖x^2-100x+196‖)=0
当x=1,y=97
x=99,y=97
x-100,y=196
100个函数值的和97+97+196=390