Java: Printing the Calendar Month / Year
This demo program prints the calendar month / year The month and year are given by user as two integer values. For example, for July 2010, they would enter 7 2007 The output will be July 2010 Su Mo...
View ArticleJava: Integration Using Composite Trapezoidal Rule
This article demonstrates how we could evaluate the integration of a function using interface definition in Java. We have used a simple composite trapezoidal rule to evaluate the integration....
View ArticleMixed C++/Assembly: Numeric Practice using x87 Math Coprocessor
This simple prgram demostrates the use of x87 numeric (math) coprocessor in numeric analysis. Here, the taylor expansion for sin is examined. Continue reading →
View ArticleC++: A Simple Command-Line Parser Add-in for Console-Based Applications
A well-structured non-trivial console-based application uses many options and variables which could be set by user in command-line. A unified way of handling the command-line options is an...
View ArticleJava: Spelling out a Number and Vice Versa with a Proposed Validating Method
This program attempts to provide a method to convert a number to text (spelling the number) and vice-versa. It also provides a method to validate texts containing a spelled number. Continue reading →
View ArticleJava: A Simplified Demo for Spelling Numbers
This article provides a simplified demo for previous article: Java: Spelling out a Number and Vice Versa with a Proposed Validating Method (Link:...
View ArticleTrue Modulo Operation According To Congruence Relation
In programming, I frequently need a modulo operation (a mod b) whose result (r) should fit in the range [0, b[. In fact. it is the case when both a > 0 and b > 0. I frequently encounter the...
View ArticleJava: Angular Helper
For engineering graphics, double type interpreted as radians is a perfect class for representing the unit for angles. all non-NaN and non-infinity values are valid and meaningful Besides user code...
View Article
More Pages to Explore .....