Skip to content

Instantly share code, notes, and snippets.

@hectorh30
hectorh30 / P1.py
Created July 26, 2012 23:12
Problema 1 - Proyecto 1 - Métodos numéricos - Ciclo 2 2012 - UVG: Definición de los 2 métodos cerrados y los 2 abiertos, y código driver para resolución del problema planteado
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 18 15:56:11 2012
@author: hectorh30
"""
def punto_fijo(f,g,x_init,max_error=0.01,max_iterations=100):
"""
INPUT