eulerexp_xw.py

Created by parisseb

Created on September 06, 2020

1020 Bytes

Script KhiCAS: méthode d’Euler pour l’exponentielle


#xwaspy
!!!"MFMI286Mer~03!Ix8W9Mn},4YA
{ local x,(EMh,'&Cscisses,'^Sdonnees,'F@i8TMA
  x~04!\  
  y~04%\  
  h~08B@f,WY\  
  abscisses~07.Ppy+&MQ83E\  
  ordonnees~07.Ppy+&MR83E\  
  for +'F@i8TI^-$NJ8WF@0$UIn,4%J|i8WF@~07F@i8SMR} { 
      y~03AR,D!Lh}+HE\  
      x~08ALh|  
      abscisses ,C!Iappend+(AJ}|  
      ordonnees ,C!Iappend+(EJ}|  
    @4MA 
  return+("Mot+'&Cscisses,'^Sdonnees,#>Dolor*TVSouge},("Mot+'6Yp+(1J,(1^+$!A,CYAx8W9J,#>Dolor*TVCleu}}|  
@3F>|python8W.Pmpat+$%J|angle8X*Bdian+$%J|!!!"''2Ff 286Mer+(B@f,'YJ ~
    x04!+    y04%+    h08B@f,WY+    abscisses06MQ81IA   ordonnees06MR81IA   for i in range+'YJ ~
        y03AR,D!Lh}+HE+        x08ALh
        abscisses,G&Qpend+(AJ
        ordonnees,G&Qpend+(EJ
    return plot+'&Cscisses,'^Sdonnees,'.Plor08*Fd},("Mot+'6Yp+(1J,(1^-#YOx8W9Mcolor07*Mue}



!')!!!!",SJ%*W&Qres 0'%Ahref03*Ittp~,S^Sevue,H.Fsamath,GZFt,X.Qip,H"Ip0W&Sticle-4%Y/#)Atarget03*@blank)DZTesamaths0#^B0CIP!!Q!!!!"286Mer+$5M-4!Q}!!Y!!!%"2X*Bphic object!!!!!!!!!!!!