Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C
Math 67 codes
Home
C
Math
1 A random number is chosen between 1 and 100
2 A random thought for the day
3 Calculate arccosine
4 Calculate arcsine
5 Calculate arctangent
6 Calculate arctangent, 2 parameters
7 Calculate cosine
8 Calculate exponential
9 Calculate hyperbolic cosine
10 Calculate hyperbolic sine
11 Calculate hyperbolic tangent
12 Calculate logarithm base 10
13 Calculate natural log
14 Calculate numeric power
15 Calculate sine
16 Calculate square root
17 Calculate tangent
18 Circle Through Three Points
19 Compute sine using very simple floating arithmetic
20 Copy one file to another
21 Divide two integer values
22 Divide two long integer
23 Factorial series-e^x
24 Floating-point remainder value function
25 Generate a bunch of random data
26 Generate random number
27 Get absolute value of long integer parameter
28 Get floating-point value from mantissa and exponent
29 Get mantissa and exponent of floating-point value
30 Get the square root
31 How to get absolute value for float
32 How to use acos
33 How to use asin
34 How to use atan
35 How to use atan2
36 How to use cos
37 How to use cosh
38 How to use log
39 How to use log10
40 How to use pow
41 How to use sin
42 How to use tan
43 Hyperbolic sine
44 Hyperbolic tangent
45 Initialize random number generator
46 Mod and divide
47 Our own power function
48 Output a random number
49 Output random sequence
50 Progam that gives all details of a Triangle given the lengths of its sides
51 Program for Decimal to Roman Number conversion
52 Program to calculate Area of a Polygon
53 Program to find your Day of Birth given Date of Birth
54 Quotient and remainder
55 Quotient and remainder for long
56 Read int value and output the divide result
57 Return absolute value of floating-point
58 Return absolute value of integer parameter
59 Return remainder of floating point division
60 Round down value
61 Round up a value
62 Seed rand() with the system time and display the first 10 numbers
63 Split floating-point value into fractional and integer parts
64 Square Root of a number by using simple calculations
65 Use the mod % operator
66 Volumes & Areas
67 Work with random number