12-25-2016
OK, first establish the constants:
beer-bottle=10, hamburger=5, beer-glass=2, hot dog=x
So we have the integral from 0 to infinity of 10sin(x) / 2x dx. This (the so-called "Dirichlet-Integral") is an improper integral. As the integral from 0 to infinity of sin( \omega ) / \omega d\omega = \pi/2 we get 5 \pi / 2 or, after applying the linguistic uncertainty-relation ("pi" => "pie"):
two pies and a half.
bakunin
Last edited by bakunin; 12-25-2016 at 05:49 PM..
This User Gave Thanks to bakunin For This Post:
4 More Discussions You Might Find Interesting
1. Programming
Hello,
If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit.
How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies
2. UNIX for Advanced & Expert Users
Hi.
I need to migrate the whole unix environment from a Unix mp-ras 32 bit to a Linux Suse 64 bit.
1) can i use cpio to copy the data?
2) can i just copy the users from unix to linux or do i have to create them by hand
3) are there any other concerns i should worry about?
thanx (1 Reply)
Discussion started by: mrodrig
1 Replies
3. Shell Programming and Scripting
Hi,
Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result.
perl interpreter info,
perl, v5.8.8 built for... (0 Replies)
Discussion started by: rrd1986
0 Replies
4. Windows & DOS: Issues & Discussions
Hello everyone.
I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
MODF(3) Linux Programmer's Manual MODF(3)
NAME
modf, modff, modfl - extract signed integral and fractional values from floating-point number
SYNOPSIS
#include <math.h>
double modf(double x, double *iptr);
float modff(float x, float *iptr);
long double modfl(long double x, long double *iptr);
Link with -lm.
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
modf(), modl(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc -std=c99
DESCRIPTION
The modf() function breaks the argument x into an integral part and a fractional part, each of which has the same sign as x. The integral
part is stored in the location pointed to by iptr.
RETURN VALUE
The modf() function returns the fractional part of x.
If x is a NaN, a NaN is returned, and *iptr is set to a NaN.
If x is positive infinity (negative infinity), +0 (-0) is returned, and *iptr is set to positive infinity (negative infinity).
ERRORS
No errors occur.
CONFORMING TO
C99, POSIX.1-2001. The variant returning double also conforms to SVr4, 4.3BSD, C89.
SEE ALSO
frexp(3), ldexp(3)
COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
2008-08-05 MODF(3)