Hello,
I need help with this ECE 2310 coding problem. Please show all the correct parts to this problem. I will provide the Problem that I want you to solve in the first image. please follow all of the directions for this problem.
What I want for you is to show a C# code in the .NET Fiddle C# Complier, for this problem.
Please provide a PICTURE or SCREENSHOT of the OUTPUT to make sure that the C# Code Program works and provide the code itself so I can see if it works or not.
Make sure the code works and I promise that I will rate you. Thank you very much.
Class Point (36%) 5. (36%) Consider two quadrilaterals (or quadrangles, i.e. polygons of 4 sides) (a) (12%) Q1 formed by P1 = (1, 0), P2 = (0, 1), P3 = (-1, 0), and P4 = (0, -1). This polygon's 4 sides are P1P2, P2P3, P3P4, and P4P1. Prove programmatically that Q1 is a square, i.e. the 4 sides are equal, also, one of the interior angles is 90 degrees or a right angle (Hint: you'll use class Point to first compute the lengths of the 4 segments P1P2, P2P3, P3P4, and P4Pland show that they are equal from your outputs. In particular, what is the length of each side. Using class Triangle as in exercise 2 and the triangle P1P2P3, prove that the angle formed by P1P2 and P2P3 is a right angle using law of cosines that you should have in exercise 2). (b) (24%) Q2 formed by R1 = (0, 0), R2 = (1, 1), R3=(5, 1), and R4 = (7,0). This polygon's sides are R1R2, R2R3, R3R4, and R4R1. Compute the lengths of the 4 segments and also the 4 interior angles RIR2R3, R2R3R4, R3R4R1, and R4R1R2 programmatically from your computer program such as class Point, class Triangle etc. (not mathematically). Can you conclude that this Q2 is a square, a rectangle (4 angles are 90 degrees), a rhombus (4 sides are equal), a parallelogram (pair of opposite sides are parallel, a trapezoid (a pair of parallel sides only), or none of the above (from the outputs of your program)?
Hello, I need help with this ECE 2310 coding problem. Please show all the correct parts to this problem. I will provide
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am