Heim  >  Fragen und Antworten  >  Hauptteil

根据以上规律,请写出公式来。

1    3

2    6
3    6

4    6

5    9
6    9

7    9

8    12
9    12
x    y

根据以上规律,请写出公式来。


大家讲道理大家讲道理2898 Tage vor832

Antworte allen(2)Ich werde antworten

  • 代言

    代言2016-11-11 11:33:13

    y = floor((x + 4) / 3) * 3

    floor向下取整。

    但是,通过多项式插值,可以产生无数的多项式,满足1-9的条件。


    Antwort
    0
  • 代言

    代言2016-11-11 11:33:02

    $ss=1;
    $sf=4;

    $xs=3;
    $xf=4;

    $zs=1;
    $sf+$sf*(int)(($zs-$ss-1)/$xs)+$xf;


    Antwort
    0
  • StornierenAntwort