>>507

#include <stdio.h>
#include <math.h>

/* 重力加速度 */
#define G 9.8

int main(void) {

/* 傾斜角[ラジアン] */
double r = 0.5233;

/* 距離[cm] */
double x = 10.0;

printf("速度[m/s] = %d\n", (2 * G * sin(r) * x / 100) ** 0.5);

return 0;
}

こんな簡単な計算式をわざわざプログラミングする意味がわからん。