578 Topics

Member Avatar for
Member Avatar for Danny

In response to the moaning and groaning of book publishers, the world’s favorite search engine announced it won’t be scanning copyrighted books for a while. Last October, Google announced that it had launched its “Google Print" program. The program entails scanning books, and making their content searchable. For publishers, Google …

Member Avatar for tgreer
0
203
Member Avatar for ddanbe

Blink and you will see them appear in a Console window. This is a translation to C# of a Modula-2 implementation by N.Wirth, the inventor of Pascal. The tested integers are obtained by incrementing alternatively by 2 and 4, thereby avoiding multiples of 2 and 3 in the first place. …

Member Avatar for ddanbe
0
94
Member Avatar for ddanbe

A bunch of basic statistical functions. I could have made a class here and I could have used more features of C#. But just to keep it simple I left it as a console application. So the modifications you have to make if you're into C, C++, Java etc. should …

1
477
Member Avatar for ddanbe

[TEX]Solve an equation of the form Ax^2 + Bx + C = 0.[/TEX] The class is commented, but if you have any questions don't be affraid to ask. You may exercise this class in a console application with the following snippet : [CODE]QuadraticEquation z = new QuadraticEquation(1, 3, 3); z.Solve(); …

0
780
Member Avatar for ddanbe

Most of the time there are many ways to implement an algorithm. Here are two ways to implement the greatest common divisor algoritm, one of the oldest algorithms ever.

0
408
Member Avatar for ddanbe

If you have to convert an angle from degrees to radians and way back, here are some utility functions in C#, along with a program to test them. I made use of the "out" keyword here, which allows a function to return more than one value. An alternative would be …

0
342
Member Avatar for laghaterohan

Hey....hello all i am writing a very simple function of calculating a square of a number entered by the user and then displaying it. While writing the function in c# i am getting n number of errors regarding conversion type....plz help me out of this .....here is the function... [code] …

Member Avatar for ddanbe
0
114
Member Avatar for afr0

Hi All, I'm trying to implement the NORMSDIST function of MS excel in the C#. I found its implementation from the following link. [url]http://office.microsoft.com/en-us/excel/HP052091941033.aspx[/url] and I've written the following code for this i.e. [code] static double NORMSDIST(double z_score) { double z_ = - ( (z_score * z_score) / 2 ); …

Member Avatar for ddanbe
0
2K

The End.