Soluciones Ejercicios 7.1 A 7.6

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Soluciones Ejercicios 7.1 A 7.6 as PDF for free.

More details

  • Words: 114
  • Pages: 2
Ejercicio 7.1 ============= a)(-b+sqrt(pow(b,2)-4*a*c))/(2*a); b)log(2*x-1)+(-pow(M_E,2*x)+pow(pow(x,a)-3*a*x,1/float(5)))/(2*x-1) c)(pow(M_E,a)/a-x)+(pow(M_E,a+z)*sin(a-x)+pow(M_E,pow(x,2)))/2; Ejercicio 7.2 ============= a) m/n; b) p%q; c) x=x+1; ? x+=1; ? x++; ? ++x; d) x=x+c; ? x+=c; e) z=z-1; ? z-=1; ? z--; ? --z; Ejercicio 7.3 ============= a) Verdadero b) Verdadero c) Falso d) Verdadero e) Falso f) Falso g) Verdadero h) Verdadero i) Verdadero j) Verdadero Ejercicio 7.4 ============= a) 4 b) 'o' c) 0.0999999 d) 5 e) 4 f) 15.5 g) 'n' h) 1000 i) 2.75 j) 9 Ejercicio 7.5 ============= a) 51 5151 b) 99 99

c) 200 199 Ejercicio 7.6 ============= enum lenguajes={fort, cob, bas, pas, ada, cpp, sql}; expresi?n

resultado

cob<pas Verdadero fort<=ada Verdadero ((int)bas)--==cob Falso (int)ada<5 Verdadero 3==((int)cpp)++ Falso

Related Documents