Code & Math

C++ Mortgage Payment Calculator

C++ College Lab Assignment

C++ college lab assignment for CIS 130 C++ course.

C++ Mortgage Payment Calculator {Code}

// Mortgage Payment Calculator program
// This program determines the monthly payments on a mortgage given
// the loan amount, the yearly interest, and the number of years.

#include // Access cout
#include // Access power function
#include // Access manipulators
using namespace std;

const float LOAN_AMOUNT = 500000.00; // Amount of the loan
const float YEARLY_INTEREST = 5.5; // Yearly interest rate
const int ...

Read more →

Six Trigonometric Functions in Terms of Others

Trigonometric Identities

“In mathematics, the trigonometric functions (also called circular functions) are functions of an angle. They are used to relate the angles of a triangle to the lengths of the sides of a triangle. Trigonometric functions are important in the study of triangles and modeling periodic phenomena, among many other applications.

The most familiar trigonometric functions are the sine, cosine, and tangent. In the context of the standard unit circle with radius 1, where a triangle is formed by a ...

Read more →

Six Trigonometric Functions

Trigonometry Mnemonic

Sohcahtoa, the Indian princess of Trigonometry

sin θ = opposite/hypotenuse

cos θ = adjacent/hypotenuse

tan θ = opposite/adjacent

Basic Trigonometry Videos:

Basic Trigonometry : Introduction to trigonometry

Basic Trigonometry II: A few more examples using SOH CAH TOA

Radians and degrees : What a radian is. Converting radians to degrees and vice versa.

Using Trig Functions : Using Trigonometric functions to solve the sides of a right triangle

Using Trig Functions Part II

The unit circle definition ...

Read more →

Intro to Logarithm Properties

Advanced Algebra: Intro to Logarithm Properties

Logarithm Addition Property

ab = c | loga c = b

 logB + logB C = logB (A*C)     (B = Base)

log2 8 + log2 32 = log2 (256)

3           5                 8

Logarithm Subtraction Property

ab = c | loga c = b

logB A – logB C = logB (A/C) (B = Base)

log3 1/9 + log3 89 = log3 (1/9 * 1/81) 

-2           -4              -6

Logarithm Multipication Property

A * logB C = logB (CA) (B = Base)

3 * log2 8 = ...

Read more →

Divide & Conquer

This post is being created to display the Divide and Conquer problem solving strategy.

While taking a C++ programming class, I was suddenly hit with a great deal work than I had expected. The work seemed completely overwhelming, and I felt a bit overwhelmed. To reduce the work load I have decided to break down the work to be performed into much smaller, byte size pieces. To do this, I must take the full scope of each assignment and break it ...

Read more →

What is JavaScript?

First and foremost JavaScript is a client side scripting language used to improve the usbability and functionality of web sites and web applications.

A simple example of this is client-side validation. Without client side validation, a programmer would have to process the contents of a form via a web server, and then send a response back if the form was completed incorrectly. JavaScript can eliminate this by simply validating the data directly in a web browser.

JavaScript is also not the best ...

Read more →
Page 5 of 9 «...34567...»