高校数学の質問スレ(医者・東大卒専用) Part438 (991レス)
高校数学の質問スレ(医者・東大卒専用) Part438 http://rio2016.5ch.net/test/read.cgi/math/1723152147/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
283: 132人目の素数さん [sage] 2024/10/31(木) 16:17:56.45 ID:grkcalAP Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit) Copyright 1988-2023 Wolfram Research, Inc. In[1]:= Table[QuotientRemainder[10,b],{b,-9,-1}] Out[1]= {{-2, -8}, {-2, -6}, {-2, -4}, {-2, -2}, {-2, 0}, {-3, -2}, {-4, -2}, {-5, 0}, {-10, 0}} In[2]:= Table[QuotientRemainder[10,b],{b,1,9}] Out[2]= {{10, 0}, {5, 0}, {3, 1}, {2, 2}, {2, 0}, {1, 4}, {1, 3}, {1, 2}, {1, 1}} http://rio2016.5ch.net/test/read.cgi/math/1723152147/283
284: 132人目の素数さん [sage] 2024/10/31(木) 16:27:50.37 ID:grkcalAP >>283 Rに移植 QuotientRemainder=\(a,b){ q=a%/%b r=a-b*q data.frame(q=q,r=r) } 除数が負なら剰余に負の値も許す仕様。 http://rio2016.5ch.net/test/read.cgi/math/1723152147/284
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.035s