Triangle Problem Solving

Then the second side is of x - 6 cm long in accordance with the problem condition, and the third side is of (x (x-6))/2 cm long.

Since the perimeter of the triangle is equal to 30 cm, you can write the equation x (x - 6) (x (x-6))/2 = 30.

Simplify this equation step by step and solve it: x x 7 x 3 = 40, 3x 10 = 40, 3x = 40 - 10, 3x = 30, x = 10. Hence, the second side is 10 cm 7 cm = 17 cm long, and the third side is 17 cm - 4 cm = 13 cm long in accordance with the problem condition.

You can check that the sum of the side measures is equal to the given value of the perimeter: 10 cm 17 cm 13 cm = 40 cm. The sides of the triangle are 10 cm, 17 cm and 13 cm long.

Problem 5 Find the measures of the triangle sides, if the second side is in 6 cm shorter than the first one, the third side measure is half of the sum of the measures of the first and the second sides, and the perimeter of the triangle is 30 cm.

Triangle Problem Solving Navneet English Essay Book

Solution Let x be the length of the first side (in centimeters).

Alternatively, you can consider the solution using the reduction to the some kind of a linear equation.

The examples below show how each of these approaches works.

using namespace std; long long unsigned count Nums(short,short,short array[][15],short,bool,bool); int main(int argc,char **argv) long long unsigned count Nums(short start_x,short start_y,short array[][15],short size, bool goright,bool goright2) { long long unsigned current Sum; current Sum = array[start_x][start_y]; if (goright) else //go down if ((start_x 1) And it does work (I also changed the function a little so it would print every number it was going through) But I still don't get the right result.

This goes down and to the right and still goes right (adjacent numbers to the right), goes down and keeps going down (adjacent number to the left). Alastair: It's simple long long unsigned count Nums(short start_x,short start_y,short array[][15],short size, bool goright,bool goright2); start_x and start_y are the coords of the array array is the reference to the array size is just the size of the array (it's always 15) goright is to know if I am going to go down and right or just down goright2 is to know if I am going to continue to go down or going left Ok so first off, I'm a little unclear as to what you think the problem is. Secondly you might want to re-think your design here.

SHOW COMMENTS

Comments Triangle Problem Solving

The Latest from www.dorogoekuzbass.ru ©