You are on page 1of 2

Estudiante: Efren Ospino Sanjuanelo

Docente: Adriana Granados

Asignatura: Programación Numérica

Grupo: CN7

Expresiones Aritméticas

Matemática
56 x  34 x  2 x
9x2
23 x 5  89 x  e 2 x  1
y
2
y

y

3

24x  e 6 x
12e 67 x  x 2  6 x  9
2

z  45xy 3  60 x y  y12 x 
w

Algoritmo

C++

y = (56*xˆ3+34*xˆ(sqrt(3)*x))/(9*xˆ2)

y=(56*pow(x,3)+34*pow(x,sqrt(3)*x)+2*x)/9*pow(x,2)

y = (23*xˆ5-sqrt(89*x)+eˆ(2*x)-1)/2

y=(23*pow(x,5)-sqrt(89*x)+pow(e,2*x)-1)/2

y=
(sqrt(24*x)+eˆ(6*x))/(12*eˆ(67*xˆ2)+xˆ2+6*x+9)

y=(sqrt(24*x)+pow(e,6*x))/(12*pow(e,67*pow(x,2))+pow(x,2)+6*x+9)

y = 45*x*yˆ3+60*x*sqrt(y)+yˆ(12*x)(1/eˆ(12*x*y))

z=45*x*pow(y,3)+60*x*sqrt(y)+pow(y,12*x)-(1/pow(12*x*y))

w = (123*x*y*z+77*x*z*yˆ292*y*z*xˆ3)/(eˆsqrt(x*y*z)+1)

w=(123*x*y*z+77*x*z*pow(y,2)-92*y*z*pow(x,3))/(pow(e,sqrt(x*y*z))+1)

3x

1
12 xy

e

123 xyz  77 xzy 2  92 yzx 3
e

xyz

1

c = 3. d = -2. b = 6. Matemática Algoritmo C++ (b+c)<=(d-1)=F (b+c)<=(d-1)==false (b><c)Y(d<5)=V (d!=c)&&(d<5)==true (b><c)O(d<5)=V (d!=c)||(d<5)==true (a  d )  (c  f   e  (b  d )  F ((a>d)Y(c=f))O(e>=(b-d))=F ((a>d)&&(c==f))||(e>=(b-d))==false (a  d )  (c  f   e  (b  d )  T ((a>d)O(c=f))O(e>=(b-d))=V ((a>d)||(c==f))||(e>=(b-d))==true (b  c)  (d  1)  F (b  c)  (d  5)  V (b  c)  (d  5)  V . f = 0. e = -8.Expresiones Lógicas Para a = 1.