

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!


f := (x, y, z) −> (x+y, y+z) g := (x, y) −> x*y h:=g@f: h(1,2,1)
n=
n=
sum(nˆ2/5ˆn, n = 1 .. infinity) product(1+1/(nˆ2+1), n = 1 .. infinity)
with(plots): implicitplot((xˆ2+1)(yˆ2+1) = 5x, x = −10 .. 10, y = −10 .. 10);
p:= xˆ4+4xˆ3−xˆ2+16x− 20 q:= xˆ3−3xˆ2+2x expand(p*q) gcd(p,q) convert(p/q,parfrac,x)
program exame real,dimension(9) :: v real,dimension(3,3) :: a
open(1,file='datos fortran e1.txt',status='old',err=1) read (1,*) v close(1) print '(a,$)','v=';print '(9f5.0)',v
call calcula(v,9,a,3)
print (^) *,'a=' do i=1, print '(3f5.0)',(a(i,j),j=1,3) end do
stop 1 print (^) *,'erro en open' stop end program exame
subroutine calcula(v,n,a,m) real,dimension(n),intent(in) :: v integer,intent(in) :: n,m real,dimension(m,m),intent(out) :: a do i=1,m do j=1,m p=3i2j;s= do k=1,n s=s+v(k) a(i,j)=k if(s>p) exit end do end do end do return end subroutine calcula
ezplot3('(1+0.2sin(10t))cos(t)','(1+0.2sin(10t))sin(t)','cos(t)',[0 5*pi])
syms x y z [x0 y0 z0]=solve(xˆ2+1/y−sin(z)−1,xy+log(z)−2,1/x+1/y−1,x,y,z) x0 = 3.1654470923329554428264149076685959i − 10. y0 = 0.91640640036604560721596614397565698 − 0.023932914461184436884860313059185i z0 = − 5.4045467940803885117807859041973i − 68869.