Page 1 of 1

Hello, I need help with this ECE 2310 coding problem. Please show all the correct parts to all letter parts to thisprobl

Posted: Sun Jul 03, 2022 11:24 am
by answerhappygod
Hello,
I need help with this ECE 2310 coding problem. Please show all the correct parts to all letter parts to thisproblem. 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 visual studio or use .NET Fiddle C# Complier , for this problem and explain how it works and how it produces the answer based on the 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.
Please be neat and provide detailed written explanations on how this C# code works, this is very important to me (since I want to understand how this problem works), and I promise that I will rate you. Thank you very much.
7. (14%) Create a C# class Polynomial with two attributes, an array of real coefficients and an integer deg representing the degree of this polynomial (for simplicity, we assume we do not have polynomials of complex coefficients) (a) (2%) Create a class Polynomial with the array and degree. The degree of a polynomial a ₁ x + a n-1 X n-1 ..+ ax + ao is n. The degree of a constant polynomial is 0; sometimes the degree of the zero polynomial 0 is considered zero, minus infinite -∞, or some negative number as you feel appropriate. (b) (7%) Compute the derivative of the polynomial programmatically. For example, the derivative of x² - 5x + 4 ({4, -5, 1)) is 2x - 5. (c) (5%) Define a print (or toString) method for the Polynomial. For example, x²-5x +4 ({4, -5, 1} can be printed as x^2 -5x + 4. Test this class (in PolynomialTest.cs) with at least two polynomials x²-5x + 4 and x³ + x + 1.