[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.7165364 [View]
File: 42 KB, 480x360, 2.jpg [View same] [iqdb] [saucenao] [google]
7165364

>> No.6298971 [View]
File: 50 KB, 480x360, 1390086838964.jpg [View same] [iqdb] [saucenao] [google]
6298971

physics and technology for future presidents, Muller

>> No.6167018 [DELETED]  [View]
File: 50 KB, 480x360, 1381493305804.jpg [View same] [iqdb] [saucenao] [google]
6167018

Hey /sci/,

C Questions:

Write a program that uses the div function in <stdlib.h>

div_t div(int numer, int denom);

to compute and print the quotient and remainder of 100 and 3.

Write a program that uses the asctime function in <time.h>

char *asctime(const struct tm *timeptr);

to print the homework due date (Mon Dec 9 17:00:00 2013)

Thanks a lot

>> No.6088407 [DELETED]  [View]
File: 50 KB, 480x360, 1381493305804.jpg [View same] [iqdb] [saucenao] [google]
6088407

Hey /sci/,

What's the moving average of a group of numbers?

I'm writing a C program that calculates the moving average (running average) of a given set of numbers:

I input say 5 numbers from a file given a "window width" and then I output 5 numbers.

What is a window width and a moving average?

Thanks

>> No.6083203 [View]
File: 50 KB, 480x360, 1376474308166.jpg [View same] [iqdb] [saucenao] [google]
6083203

Navigation
View posts[+24][+48][+96]