# Tutor profile: Joy B.

## Questions

### Subject: Geometry

Point A is at $$ (2,4)$$ and Point B is at $$(9, 11)$$ 1. Find the distance between the points 2. Find the midpoint between the points

1. To answer the first part we need the distance formula which is : Distance Formula $$= \sqrt{ (x_2 - x_1)^2 + (y_2-y_1)^2} $$ Next we need to assign $$(x_1, y_1) and (x_2, y_2) $$ lets assign point A to $$ (x_1, y_1)$$ and point B to $$(x_2, y_2)$$ Now we can plug in our points and solve. Distance Formula$$ = \sqrt{ (9 - 2)^2 - (11-4)^2} $$ $$= \sqrt{ (7)^2 + (7)^2} $$ $$= \sqrt{ 49 + 49} $$ $$ = \sqrt{ 98} $$ 2. In this part we need the midpoint formula Midpoint = $$(\frac{x_1 + x_2}{2},\frac{ y_1 + y_2}{ 2}) $$ Using the same points from part 1 we have: Midpoint = $$(\frac{2 + 9}{2},\frac{ 4 + 11}{ 2}) $$ = $$(\frac{11}{2},\frac{ 15}{ 2}) $$

### Subject: C++ Programming

Using function overloading, 1. Write a function 'Area' which accepts a double radius and returns the area of a circle ( $$ A = \pi * r^2 $$ ) 2. Write another function 'Area' which accepts a double length and a double width and returns the area of a rectangle

double Area ( double radius) // Calculates the area of a circle { const double pi = 3.14; return pi * pow(radius, 2); //returns $$\pi * r^2 $$ } double Area ( double length, double width) //Calculates the area of a rectangle { return length * width; // returns $$ l*r $$ }

### Subject: Algebra

Solve the following equation for x: $$ 3(x + 5) = 39$$

Here we want to get x by itself, to do this we need to get rid of the 3 in front of the parenthesis, we can do this one of two ways. $$ 3(x + 5) = 39 $$ Method 1: Divide both sides by 3 parenthesis $$ x + 5 = 13 $$ subtract 5 from both sides $$ x = 8 $$ Solution!! Method 2: distribute 3 into the parenthesis $$ 3x + 15 = 39 $$ Subtract 15 from both sides $$ 3x = 24 $$ Divide both sides by 3 $$ x = 8 $$ Solution!! Choose your favorite method and solve!

## Contact tutor

needs and Joy will reply soon.