If you're dealing with isosceles or scalene triangles, you technically only need to check the smaller two sides against the largest side, and if it's true for them, it's true for the other two cases as well (why?). If you're dealing with equilateral triangles, you automatically know this condition is met (why?). :-)įor the sides to make a proper triangle, for each pair of sides (I'll call them f and g), they must add up to greater than the third side's length (I'll call it h). Don't be afraid to put on your math hat here and go wandering in, a little logic isn't a bad thing for a poli sci student to endure every now and then. But I'll give you some help with the "not a triangle" condition. It just involves a simple comparison of side lengths you don't have to go as far as angles. The logic falls out neatly from the definition of these different types of triangles, which as the professor notes, is information readily obtained from Wikipedia. Our professor has not covered this topic in class. I currently have: //lab eleven program code on trianglesĮlse if(aside=bside || aside=cside || bside=cside)īut I need help with the if and else if statements to determine the type triangle. You may use the same values as in the example. Print the resulting triangle type to the console.Įnsure your Triangle detector works by running it 5 times as in the example above. Use a series of nested if / else statements to determine if the triangle having side-lengths as set by the user is an EQUILATERAL, ISOSCELES, or SCALENE triangle. Repeat the last 2 steps twice more, once for each of the remaining 2 sides of the triangle. Set the user’s input to the variable you created representing the first side of the triangle. Prompt the user to input a value for the first side, then Thanks for your advice so far.I need help with the following code that requires me to:ĭeclare 3 double type variables, each representing one of three sides of a triangle. Understanding the properties of triangles is essential not only for this chapter but also for more advanced geometry concepts you’ll encounter in the future. It’s important to read the chapter thoroughly, pay attention to definitions, theorems, and proofs, and practice solving the exercise questions. The opportunities are still there for improvement, so please suggest us to make changes for the session 2023-24. These questions cover topics like finding missing angles, verifying properties of triangles, solving practical problems involving triangles, and more. ![]() Various exercise questions that involve applying the concepts learned in the chapter. The changes made is as per students suggestions. We are working to provide the best NCERT Solutions and contents free of cost for you. The chapter 6 of 7th mathematics also includes real-world applications of triangles and their properties, such as constructing buildings, designing bridges, and using trigonometry in various fields. Like median, a triangle can have three altitudes drawn from three vertices.Īn exterior angle of a triangle is equal to the sum of its interior opposite angles.Īngle sum property of Triangle: The sum of all the three interior angles of a triangle is 180°. So, a triangle can have three medians drawn from three vertices.Īltitude of a triangle is a perpendicular line drawn from vertex to opposite side. ![]() Median of a triangle is a line segment drawn form vertex to the mid-point of opposite side. Read the following concepts before going through the chapter: Based on Angles: Acute-angled, Obtuse-angled and Right-angled triangles. Based on Sides: Scalene, Isosceles and Equilateral triangles.Ģ. It can be classified on the basis of sides and angles as follows:ġ. It has three vertices, three sides and three angles. ![]() We know that a triangle is a simple closed curve made of three line segments. In 7 Maths Chapter 6 Triangle and its Properties, we will study about the various properties of a triangle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |