Está en la página 1de 6

Punto 1A.

import java.util.*;

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

int a,b,x,c;

a=3;

b=4;

c=5;

x=(b*b)-4*(a*c);

System.out.println("El resultdo es" +x);

System.out.println("Hecho por Isabella Reyes Pupo");

Punto 1B

import java.util.*;

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

int x, B;

int cuadrado= 2;

x= 5;

double A= (Math.pow(x, cuadrado)+ Math.pow(x, cuadrado))*2;

B= 2*x+8;

double C= A-B;

System.out.println("El resultado final es " +C);

System.out.println("1.2 Realizado por Isabella Reyes Pupo");

Punto 1C.

import java.util.*;
public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

int xuno=9;

int xdos=4;

int yuno=4;

int ydos=2;

int cuadrado=2;

int x= (xdos - xuno);

double g= Math.pow(x, cuadrado);

int y= (ydos - yuno);

double h= Math.pow(y, cuadrado);

double z;

z=(h+g);

System.out.println("El resultado es " +z);

System.out.println("Realizado por Isabella Reyes Pupo");

Punto 2A.

import java.util.*

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

double R= 7;

double S= 2;

double T= (R/S);

System.out.println("El resultado de la division es" +T);

System.out.println("Realizado por Isabella Reyes Pupo");

Punto 2B.
import java.util.*;

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

double X= 7;

double Y= 2;

double Z= (X%Y);

System.out.println("El resultado es" +Z);

System.out.println("Realizado por Isabella Reyes Pupo");

Punto 2C.

import java.util.*;

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

double A= 12;

double B= 3;

double C= (A/B);

System.out.println("El resultado de la division es" +C);

System.out.println("Realizado por Isabella Reyes Pupo");

Punto 2D

import java.util.*;

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

double O= 12;

double P= 3;

double Q= (O%P);

System.out.println("El resultado es" +Q);


System.out.println("Realizado por Isabella Reyes Pupo");

Punto 2E.

import java.util.*;

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

double O= 7;

double P= 5;

double Y= 4;

int cuadrado=2;

double Q= (O%P)/Math.pow(Y, cuadrado);

System.out.println("El resultado es" +Q);

System.out.println("Realizado por Isabella Reyes Pupo");

Punto 2F.

import java.util.*;

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

double A= 7;

double C= 10;

double D= 5;

double E=3;

double F=4;

double G=9;

double Q= (A*(C-D)% E)*F+G;

System.out.println("El resultado es" +Q);

System.out.println("Realizado por Isabella Reyes Pupo");

}
Punto 2G.

import java.util.*;

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

double n= 2;

double m= 3;

double o= 3;

double u= 5;

double f= ((n/m)+(o/u));

System.out.println("El resultado es" +f);

System.out.println("Realizado por Isabella Reyes Pupo");

Punto 3. import java.util.*;

public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

int K= 9;

int cuadrado= 2;

double f= Math.pow(K, cuadrado);

System.out.println("El numeo elevado al cuadrado es" +f);

System.out.println("Realizado por Isabella Reyes Pupo");

Punto 4. import java.util.*;public class Main {

public static void main(String[] args) throws Exception {

// Your code here!

int S= 54;

int u= 0;

int D= u-(S);
int Q= D + S;

System.out.println("El inverso aditivo es" +D);

System.out.println("La suma de los numeros es" +Q);

System.out.println("Ralizado por Isabella Reyes Pupo");

También podría gustarte