Fixed point

Modify fixed-point so that it prints the sequence of approximations it generates, using the newline and display primitives shown in exercise 1.22 . Then find a solution to x^x = 1000 by finding a fixed point of x → log(1000)/log(x) . (Use Scheme's primitive log procedure, which computes natural logarithms.) Compare the number of steps this takes with and without average damping. (Note that you cannot start fixed-point with a guess of 1, as this would cause division by log(1) = 0 .)


    # Александр
    2 years ago

    Мне кажется тут ошибка в тестах, вместо 74 нужно 74.0, а вместо 126 - 16.0.

    # Anton Burenkov Replied to Александр #
    2 years ago
    Мне кажется тут ошибка в тестах, вместо 74 нужно 74.0, а вместо 126 - 16.0.

    Тесты подправлены

Authentication required

You must log in to post a comment.

Login