Current location - Trademark Inquiry Complete Network - Trademark inquiry - (2012? Huizhou Simulation) In the algorithm flow chart shown in the figure, if f(x)=2x, g(x)=x2, then the value of h(3) is equal to______
(2012? Huizhou Simulation) In the algorithm flow chart shown in the figure, if f(x)=2x, g(x)=x2, then the value of h(3) is equal to______

Analyzing the functions of each variable and statement in the program,

According to the sequence shown in the flow chart, it can be seen that:

The function of this program is to compare f (x)=2x and g(x)=x2 function values,

and output the maximum value among them.

When x=3, f(3)=23=8, g(3)=32=9,

∵9>8,

∴h(3)=9.

So the answer is: 9