コンテンツにスキップ

検索結果

  • main import ( "fmt" "math" // For math.MaxInt64 and math.MinInt64 ) func minmax(s ...int) (int, int) { min, max := math.MaxInt64, math.MinInt64 for _, v…
    17キロバイト (2,429 語) - 2023年2月28日 (火) 05:55
  • 数学メソッドの呼出例 Math.cos(引数) なお、引数の単位はラジアンです。 "use strict"; console.log(`\ Math.cos(Math.PI / 4) = ${Math.cos(Math.PI / 4)} Math.cos(Math.PI / 4) ** 2 = ${Math.cos(Math…
    33キロバイト (4,753 語) - 2023年6月9日 (金) 01:50
  • プロパティのキーは通常識別子で数値を指定すると文字列に変換されます。 const obj = {}; obj[10] = "xyz"; console.log(Object.keys(obj)); // ["10"] また、プロパティのキーにシンボルをとることも出来ます。プロ…
    31キロバイト (3,684 語) - 2023年4月18日 (火) 21:52
  • String Array や NodeList)に対して、反復処理を行います。 for-of "use strict"; const ary = [..."XYZ"]; for (const el of ary) { console.log(el); } 実行結果 X Y Z…
    28キロバイト (4,025 語) - 2024年1月21日 (日) 21:20
  • モジュールmathの関数「sin()」を使い正弦を求める import math print(math.sin(math.pi/4)) 実行結果 0.7071067811865475 モジュールmathの属性一覧 import math mod = math print(f"""\ {{| class="wikitable"…
    1キロバイト (43,573 語) - 2024年6月27日 (木) 05:29
  • = "xyz" print(f"forの前: {i=}、{j=}") for i in range(5): j = 2 * i print(f"forの中: {i=}、{j=}") print(f"forの後: {i=}、{j=}") 実行結果 forの前: i='abc'、j='xyz' forの中:…
    37キロバイト (4,617 語) - 2024年3月2日 (土) 10:09
  • number { const i = Math.PI / 180; const r = 6371.008; return ( Math.acos( Math.sin(this.latitude * i) * Math.sin(other.latitude * i) + Math.cos(this.latitude…
    110キロバイト (14,939 語) - 2024年5月5日 (日) 02:47
  • distance(other) i, r = Math::PI / 180, 6371.008 Math.acos(Math.sin(@latitude * i) * Math.sin(other.latitude * i) + Math.cos(@latitude * i) * Math.cos(other.latitude…
    275キロバイト (36,725 語) - 2024年3月14日 (木) 06:00
  • kotlin.math.abs import kotlin.math.atan2 import kotlin.math.hypot import kotlin.math.sin import kotlin.math.cos import kotlin.math.tan import kotlin.math.sinh…
    180キロバイト (28,736 語) - 2024年6月27日 (木) 04:46
  • ( x , y , z ) | z = f ( x , y ) } {\displaystyle \{(x,y,z)|z=f(x,y)\}} はxyz空間内の曲面を表し、関数fのグラフと呼ばれる。このグラフ z = f ( x , y ) {\displaystyle z=f(x,y)} とxy平面で挟まれた部分…
    18キロバイト (4,756 語) - 2023年2月22日 (水) 16:59
  • Math::BigFloat Math::BigFloat::Trace Math::BigInt Math::BigInt::Calc Math::BigInt::FastCalc Math::BigInt::Lib Math::BigInt::Trace Math::BigRat Math::Complex…
    3キロバイト (49,625 語) - 2023年7月5日 (水) 00:13
  • PHP_EOL; echo 'Math::$var1 --> ', Math::$var1, PHP_EOL; echo 'Math::$var1 = 4423;', PHP_EOL; Math::$var1 = 4423; echo 'Math::$var1 --> ', Math::$var1, PHP_EOL;…
    2キロバイト (40,852 語) - 2022年12月7日 (水) 00:06
  • y z {\displaystyle -10x^{4}y^{3}z^{2}+9x^{2}y^{3}z^{4}+8x^{2}yz-4xy^{2}z+xyz} 3 x {\displaystyle 3x} という単項式は、3という数と x {\displaystyle x}…
    49キロバイト (11,021 語) - 2024年8月29日 (木) 11:39