Есть ответ 👍

Дано x, вычислить значения 1-2x+3x^2-4x^3 и 1+2x+3x^2+4x^3
c#
нужно,

194
438
Посмотреть ответы 3

Ответы на вопрос:


using system;

   

public class program

{

public static void main()

{

  double x = double.parse(console.;

  double y = 1 - 2 * x + 3 * math.pow(x, 2)- 4 * math.pow(x, 3);

  console.writeline(y);   //1-2x+3x^2-4x^3

  y = 1 + 2 * x + 3 * math.pow(x, 2)+ 4 * math.pow(x, 3);

  console.writeline(y);   //1+2x+3x^2+4x^3

}

}

hromgugd
4,5(91 оценок)

ответ:

объяснение:

using system;

using system.collections.generic;

using system.linq;

using system.text;

 

namespace example

{

    class program

    {

        static void main(string[] args)

        {

            int x, answer1, answer2;

            console.write("введите x : ");

            x = int.parse(console.;

            answer1 = 2*x+3*convert.toint32(math.pow(x,2))-4*convert.toint32(math.pow(x,3));

            answer2 = 1+2*x+3*convert.toint32(math.pow(x,2))+4*convert.toint32(math.pow(x,3));

            console.writeline("значение первого выражения : " + answer1);

            console.writeline("значение второго выражения : " + answer2);

            console.readline();

        }

    }

}

Flaen1
4,6(37 оценок)

Больше 150мбит скорость не прыгнет . 150мб(мегабит)=1.5мб (мегабайт )

Популярно: Информатика