コンテンツにスキップ

検索結果

(前の20件 | ) (20 | 50 | 100 | 250 | 500 件) を表示
  • def main(): print(f"Prime numbers up to 1000: {sieve(range(2, 1000))}") if __name__ == "__main__": main() 実行結果 Prime numbers up to 1000: (2, 3, 5, 7, 11…
    3キロバイト (458 語) - 2024年2月1日 (木) 08:27
  • 'C') # グラフの描画 nx.draw(G, with_labels=True, node_color='skyblue', node_size=1000, font_size=12, font_weight='bold') plt.show() import networkx as nx import…
    4キロバイト (503 語) - 2023年7月25日 (火) 07:27
  • f(x,y) = x + y のとき、 f(1,2) = 3である」などといいますよね。Schemeではf(x,y) = x + yの部分を「手続きの定義」、fを「手続き」、手続きの評価に必要な値を受け取るxとyを「仮引数」と呼びます。f(1…
    30キロバイト (4,916 語) - 2021年11月30日 (火) 13:05
  • f が与えられる。この場合の根(ルート、√)を求めよ。 この函数 1/f(x) のために留数定理を使います。まずは正方形上の経路積分をできるようになる必要があります。 (defun integrate-square-path (f start length precision) "f は積分のための函数。…
    6キロバイト (903 語) - 2021年6月28日 (月) 23:53
  • printf("fまたはFを押すと終了します。:"); int temp = fgetc(stdin); if (temp == 'f' || temp == 'F') { break; } printf("\n"); } printf("\n"); return 0; } 実行例 fまたはFを押すと終了します。:r…
    100キロバイト (13,641 語) - 2024年5月2日 (木) 03:01
  • double result, error; gsl_function F; F.function = &f; gsl_integration_qags(&F, 0, 1, 0, 1e-7, 1000, w, &result, &error); printf("result = % .18f\n"…
    9キロバイト (1,254 語) - 2023年5月3日 (水) 14:27
  • @new_f_in_host,"$FORM{'host_in'}";} if($#new_f_in_host > $ip_kazu){$#new_f_in_host = $ip_kazu;} $new_f_host = join ("<>",@new_f_in_host); $new_f_host…
    74キロバイト (11,227 語) - 2023年9月19日 (火) 12:47
  • 0.0, 1.0); f_color = v_color; } そして triangle.f.glsl で: varying vec3 f_color; void main(void) { gl_FragColor = vec4(f_color.x, f_color.y, f_color.z, 1…
    15キロバイト (2,137 語) - 2015年8月19日 (水) 06:38
  • とし、それに対応する度数を f 1 , f 2 , ⋯ , f r {\displaystyle f_{1},f_{2},\cdots ,f_{r}} とする。 このとき、総和は x 1 f 1 + x 2 f 2 + ⋯ + x r f r {\displaystyle x_{1}f_{1}+x_{2}f_{2}+\cdots…
    22キロバイト (3,684 語) - 2023年10月6日 (金) 06:10
  • setTimeout(function() { console.log(`${Date.now() - start} ms: i = ${i}`); }, 1000); } 実行結果 1002 ms: i = 3 1007 ms: i = 3 1007 ms: i = 3 とほぼ同時に表示され i はすべて(ループを抜けた後の値)3…
    24キロバイト (3,176 語) - 2023年6月9日 (金) 01:50
  • equations can be integrated using the command t = linspace (0, 500, 1000); y = lsode ("f", x0, t); If you try this, you will see that the value of the result…
    17キロバイト (2,927 語) - 2022年11月23日 (水) 12:08
  • return this.l = n / 100; } get mm() { return this.l * 1000; } set mm(n) { return this.l = n / 1000; } } const l = new Length() l.m = 1.77; console.log(`${l…
    31キロバイト (3,684 語) - 2023年4月18日 (火) 21:52
  • {\mathit {Zipper}}_{F}=\mu F\times {\mathit {Context}}_{F}} 今、コンテキストは F μ F {\displaystyle F\,\mu F} の中から選択した特定のサブツリー μ F {\displaystyle \mu F}…
    46キロバイト (5,020 語) - 2014年11月9日 (日) 14:05
  • {\displaystyle {\ce {CO2 + C -> 2CO}}} 鉄鉱石は段階的に次のように還元される。 F e 2 O 3 → F e 3 O 4 → F e O → F e {\displaystyle \mathrm {Fe_{2}O_{3}\rightarrow Fe_{3}O_{4}\rightarrow…
    22キロバイト (3,432 語) - 2023年2月25日 (土) 11:39
  • エラトステネスの篩ではありませんが、素朴に素数を求めるアルゴリズムです。 const primes = []; for (let i = 2; i < 1000; i++) { if (primes.every(prime => i % prime !== 0)) { primes.push(i); } }…
    13キロバイト (1,902 語) - 2024年1月14日 (日) 07:55
  • とし、それに対応する度数を f 1 , f 2 , ⋯ , f r {\displaystyle f_{1},f_{2},\cdots ,f_{r}} とする。 このとき、総和は x 1 f 1 + x 2 f 2 + ⋯ + x r f r {\displaystyle x_{1}f_{1}+x_{2}f_{2}+\cdots…
    76キロバイト (9,596 語) - 2024年5月10日 (金) 09:43
  • {1}{\sqrt {LC}}}} である。この周波数を共振角周波数という。また、共振周波数 f 0 {\displaystyle f_{0}} は、 f 0 = ω 0 2 π = 1 2 π L C {\displaystyle f_{0}={\frac {\omega _{0}}{2\pi }}={\frac…
    8キロバイト (1,543 語) - 2023年4月4日 (火) 04:40
  • Mpは(&t).Mpと同等です。 f := t.Mv; f(7) // t.Mv(7)と同じです。 f := pt.Mp; f(7) // pt.Mp(7)のようになります。 f := pt.Mv; f(7) // (*pt).Mv(7)のようになります。 f := t.Mp; f(7) // (&t).Mp(7)のようになります。…
    68キロバイト (10,162 語) - 2022年6月5日 (日) 03:48
  • 「問題」の解説は指針を示すことにより、何を求めればよいかを明らかにした。 例題 1 - 1 (1) 小学校の算数でやった通り、1 km は 1000 m であり、1 h は 3600 s である。したがって、 72   [ k m / h ] = 72000   [ m ] 3600   [ s ]…
    17キロバイト (3,674 語) - 2015年10月30日 (金) 14:08
  • vec2 f_texcoord; uniform mat4 mvp; void main(void) { gl_Position = mvp * vec4(coord3d, 1.0); f_texcoord = texcoord; } フラグメントシェーダ: varying vec2 f_texcoord;…
    14キロバイト (2,018 語) - 2022年7月15日 (金) 03:01
(前の20件 | ) (20 | 50 | 100 | 250 | 500 件) を表示