Examen Junio

380 days ago by GIIT_AMA_1718

Alumno:

Ejercicio 1.

g=graphs.Grid2dGraph(20,20) for e in g.edges(): p=random() # g1=copy(g) # g1.delete_edge(e) if p>0.35: g.delete_edge(e) g.plot(vertex_labels=false) 
       

Ejercicio 2.

f(x,y)=x^4+x*y-y+x+2*x^2+2*y^2-1+y^4