题干

(1)用秦九韶算法求多项式f(x)=2x4+3x3+x2+5x﹣4,当x=2时的函数值.

(2)根据以下算法的程序,画出其相应的流程图

S=1

i=1

WHILE  S<=10000

  i=i+2

  S=S﹡i

WEND

PRINT  i

END

上一题 下一题 0.0难度 选择题 更新时间:2019-06-03 06:10:11

答案(点此获取答案解析)

解:(1)f(x)=(((2x+3)x+1)x+5)x﹣4

当x=2时,V1=7,V2=15,V3=35,V4=66,

∴f(2)=66

解:(2)其相应的流程图为:

同类题3

阅读下列短文,根据短文内容,从短文后各题所给的A、B、C、D四个选项中,选择最佳选项。

                                                                                       Bags of Love

      Last year, I worked in a middle school near my mother's house, and I stayed with her for a month. During that time, I helped her do some

 housework and buy some food.

      After the first week, I noticed that the food was eaten up very quickly. Then I began keeping an eye on my mum. To my surprise, I found

that she would put some of the food into a paper bag and go out with it at about nine every morning. And finally, I decided to follow her. I saw her taking the food to the street children. She would also spend a lot of time talking and playing with them.

      One day, I talked to a neighbour and found out that my mum was well-known in the area. The children were very friendly with her and even thought of her as their own mother. Then it hit me – why wouldn't she want to tell me about it? Was she worried that I would stop buying food if I found out?

  When my mum got home, I gave her a big hug (拥抱). I told her she didn't need to keep it a secret from me. And she told me something about the children. Some of them lived with an old lady in a small house. Others slept on the street. For years, she was helping the poor street children by giving them food. After she told me everything, I was so moved by how selfless (无私的) she was. She helped others in need. As her son, I was so proud of my mum.

      I continued to buy food for my mum after that. But I always added one more bag for her other children.