[過去ログ] 高校数学の質問スレ Part438 (1002レス)
上下前次1-新
抽出解除 レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索 歴削→次スレ 栞削→次スレ 過去ログメニュー
44(1): 2024/08/29(木)21:57 ID:uja7xoBM(1) AAS
アスリートは体が持たないし病気なりそうで草
549: 2024/11/05(火)22:27 ID:1Eba3MiS(1) AAS
In[1]:= w[n_]:=w[n]=If[n==0,10,Ceiling[w[n-1]*21/20]]
In[2]:= Table[w[n],{n,0,50}]
Out[2]= {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 44,
> 47, 50, 53, 56, 59, 62, 66, 70, 74, 78, 82, 87, 92, 97, 102, 108, 114, 120, 126, 133, 140, 147,
> 155, 163, 172, 181, 191, 201}
In[3]:= f[n_]:=f[n]=100*Boole[n==10]+200*Boole[n==20]+355*Boole[n==30]+605*Boole[n==40]+1010*Boole[n==50]
In[4]:= g[n_]:=Boole[n>0]+Boole[n==10]+Boole[n>11]+Boole[n>21]+Boole[n>28]+Boole[n>33]+Boole[n>37]+Boole[n>41]+Boole[n>44]+Boole[n>46]+Boole[n>48]
In[5]:= hp[n_]:=hp[n]=If[n==0,77,hp[n-1]+f[n]+5Floor[(n+9)/10]*g[n]]
In[6]:= Table[hp[n],{n,0,50}]
Out[6]= {77, 82, 87, 92, 97, 102, 107, 112, 117, 122, 232, 242, 262, 282, 302, 322, 342, 362, 382, 402,
省2
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.179s*