affiche_v.py

Created by yann-rougeron

Created on April 16, 2025

203 Bytes

wxcvw


from math import *
def terme_u(n):
  u=2200
  for i in range(1,n+1):
    u=0.5*u+100
  return(u)
def terme_v(n):
  v=terme_u(n)-200
  return(v)
for i in range(0,20):
  print(terme_v(i))

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.