# Tutor profile: Stefanie Kaye S.

## Questions

### Subject: MATLAB

Where the polynomial a = 6x^3 + 5x and b = 14x^6 + 3x^4 + 2x^3 + 16, write the matlab code for c=a+b.

First, enter a and b as arrays as follows, entering 0 for any missing exponents (ie, in a there is no x^2, so the coefficient for x^2 in the array is entered as 0): >>a = [0 0 0 6 0 5 0] >>b = [14 0 3 2 0 0 16] Then, simply add them >>c = a+b

### Subject: Music

What major scale has 5 sharps? What major scale has 2 flats?

B Major has 5 sharps, whereas B flat major has 3 flats.

### Subject: Algebra

If x and y are true for both 25x + y^2 = 0 and x + y = 4, find one solution for x and y.

For this system equations, first we need to set either x to be a function of y. The second equation is easier for this case, so we get 4 - y = x. Then, we plug this in to the first equation, 25(4 - y) + y^2 = 0. We get 100 - 25y + y^2 = 0, or, with a little reordering, y^2 - 25y + 100 = 0. By factoring, we get (y-20)(y-5) = 0, so y=20, y= 5. We can then plug this back into the equation 4-y = x to find x as x=-16,x=-1. In this case, there are two possible answeres: x = -16, y = 20, or x = -1, y = 5.

## Contact tutor

needs and Stefanie Kaye will reply soon.