osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help me in python plssss!!!!


On Fri, Sep 14, 2018 at 4:33 PM, Noel P. CUA <npcua at donbosco.edu.ph> wrote:
>  Calculate the true, relative and approximate errors, and  Relate the absolute relative approximate error to the number of significant digits.
>
> epsilon = 1
>
> while epsilon + 1 > 1:
>     epsilon = epsilon / 2.0
>
> epsilon = 2 * epsilon
>
> help me!
>

This list is not here to solve every single step of what is
(presumably) your homework for you. Everything you present right here
is what I helped you with in "how to convert this psuedo code to
python".
You will have to at least try it yourself and to present your
approaches or at least ideas.

Additionally, tutor at python.org seems to be more fitting for the rather
basic level of the problems which you present.