#include <stdio.h> int main(void) { int pi=3.14,f=100;//piは円周率、fは周波数 double x; for (double t=0.0;t<10;t=t+0.1){//tは時間 x=2*pi*f*t; } return 0; }
Standard input is empty
0.000000 -0.304811 0.580611 -0.801153 0.945445 -0.999756 0.958916 -0.826812 0.616017 -0.346593 0.044182 0.262433 -0.544072 0.773929 -0.930128 0.997803 -0.970513 0.850856 -0.650219 0.387698 -0.088279 -0.219543 0.506470 -0.745194 0.912994 -0.993902 0.980216 -0.873239 0.683152 -0.428046 0.132202 0.176224 -0.467878 0.715003 -0.894078 0.988060 -0.988004 0.893916 -0.714750 0.467559 -0.175868 -0.132561 0.428373 -0.683416 0.873415 -0.980287 0.993862 -0.912847 0.744952 -0.506158 0.219190 0.088639 -0.388032 0.650494 -0.851046 0.970601 -0.997779 0.929995 -0.773700 0.543768 -0.262084 -0.044544 0.346932 -0.616302 0.827015 -0.959018 0.999748 -0.945327 0.800936 -0.580317 0.304466 0.000362 -0.305155 0.580906 -0.801369 0.945563 -0.999764 0.958813 -0.826608 0.615732 -0.346254 0.043821 0.262782 -0.544375 0.774158 -0.930261 0.997827 -0.970426 0.850666 -0.649944 0.387365 -0.087918 -0.219896 0.506781 -0.745435 0.913142 -0.993942 0.980144 -0.873062 0.682887 -0.427720