Sponsored Content
Full Discussion: A little bit of XMAS fun...
The Lounge What is on Your Mind? A little bit of XMAS fun... Post 302988371 by bakunin on Sunday 25th of December 2016 10:16:37 AM
Old 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

copying or concatinating string from 1st bit, leaving 0th bit

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

migrating unix mp-ras 32 bit to linux suse 64 bit

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

How to handle 64 bit arithmetic operation at 32 bit compiled perl interpreter?H

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

Which version of Windows Vista to install with a product key? 32-bit or 64-bit?

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
vga_setcolor(3) 						Svgalib User Manual						   vga_setcolor(3)

NAME
vga_setcolor - set the current color SYNOPSIS
#include <vga.h> void vga_setcolor(int color); DESCRIPTION
Set the current color to color. You may only use vga_setcolor() in 256 or less color modes. For the other modes you must use vga_setrgb- color(3) instead. The color is used by vga_drawpixel(3) and vga_drawline(3). The fun(6) and vgatest(6) demos show the basic use of this function. SEE ALSO
svgalib(7), vgagl(7), libvga.config(5), fun(6), vgatest(6), vga_setrgbcolor(3), vga_setegacolor(3), vga_drawpixel(3), vga_drawline(3) AUTHOR
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced function as well as of the original documentation is unknown. It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>. Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual. Svgalib (>;= 1.2.11) 27 July 1997 vga_setcolor(3)
All times are GMT -4. The time now is 12:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy