A science class planted a tree in the school courtyard that was 6 inches tall. It is growing 4 inches each week. Write a function rule for the height, h, of the tree based on the weeks, w, since it was planted.

H = 6 w
H = 4 w + 6
H = 4 w
H = 4 w- 6

H = 4w + 6

The correct function rule for the height, h, of the tree based on the weeks, w, since it was planted is:

H = 4w + 6

To write a function rule for the height of the tree based on the weeks since it was planted, we need to understand the growth pattern. The problem states that the tree is growing by 4 inches each week, and it was initially 6 inches tall when it was planted.

So, we can write the function rule as follows:
H = 4w + 6

In this equation:
- H represents the height of the tree at any given week.
- w represents the number of weeks since the tree was planted.
- 4w represents the growth of the tree, increasing by 4 inches for each week.
- 6 represents the initial height of the tree when it was planted.

Therefore, the correct function rule for the height of the tree based on the weeks since it was planted is H = 4w + 6.