Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

University of California Irvine Leaderboard
University of Maryland Masters of Economics  Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
Click here
MAFI_728x90
RPI Leaderboard
Click here
Click here
University of Maryland Masters of Economics Leaderboard
NYU Tandon School of Engineering Leaderboard
University of California Irvine Leaderboard
MAFI_728x90
  • Business
  • Culture
  • Technology
  • International Rankings
    • Bangladesh
    • Canada
    • Egypt
    • India
    • Nigeria
    • Pakistan
    • Philippines
    • United Kingdom
    • United States of America
  • Masters Rankings
    • Accounting
    • Business Analytics
    • Chiropractic
    • Computer Engineering
    • Computer Science
    • Economics
    • Education
    • Finance
    • Financial Economics
    • Financial Engineering
    • Law
    • Management
    • Marketing
    • MBA
    • Nursing
    • Social Work
  • Resources
    • C++
      • Beginner’s Guide to C++
      • An Introduction to the Imperative Part of C++
      • C++ Code
        • Sorts
        • Binary Search Trees
        • Strings
        • Binary Search
        • Math
        • Quant
        • Puzzles/Games
        • Language Concepts
        • Graphics
        • OS Operations
        • Graphs
      • C++ Full Course
      • C++ Crash Course
      • C++ Interview Questions
      • C++ Q/A
      • C++ Books
      • C++ Free Books
      • C++ Videos
    • C Questions
    • C Programming Tips
    • Java Questions
    • Quant Data Sources
    • Quant Questions

Tag: c

C++: Black Scholes Put Option Vega

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged black, c, option, put, scholes, vega
C++: Black Scholes Put Option Vega

// Calculate the Black Scholes European put option Vega double BS_Put_Option_Vega(double S, double K, double r, double v, double T) // Parameter

Continue Reading

C++: Random Number Generator

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, generator, random number
C++: Random Number Generator

Rule 30 is considered to be chaotic enough to generate good pseudo-random numbers. As a matter of fact, rule 30 is used by the Mathematica software fo

Continue Reading

C++: Multifactorial

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, factorial, multi, multifactorial
C++: Multifactorial

The factorial of a number, written as n! is defined as n! = n(n − 1)(n − 2)...(2)(1) A generalization of this is the multifactorials where:

Continue Reading

C++: Simple Moving Average

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged average, c, moving, simple
C++: Simple Moving Average

Computing the simple moving average of a series of numbers. The task is to: Create a stateful function/class/instance that takes a period and

Continue Reading

C++: GUI Component Interaction

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, component, components, display, graphics, gui, interaction, logic, visuals
C++: GUI Component Interaction

Almost every application needs to communicate with the user in some way. Therefore, a substantial part of the code deals with the interaction of progr

Continue Reading

C++: Hofstadter-Conway $10,000 Sequence

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged 10000, c, conway, hofstadter, hofstadter. sequence, sequence
C++: Hofstadter-Conway $10,000 Sequence

The definition of the sequence is colloquially described as: Starting with the list [1,1], Take the last number in the list so far: 1, I'll ca

Continue Reading

C++: Root Mean Square

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, mean, Root, square
C++: Root Mean Square

Compute the Root mean square of the numbers 1..10. The root mean square is also known by its initial RMS (or rms), and as the quadratic mean. Th

Continue Reading

C++: Matrix Exponentiation Operator

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, exponent, exponentation, iation, matrices, matrix, matrix exponentiation operator, operator
C++: Matrix Exponentiation Operator

Most programming languages have a built-in implementation of exponentiation for integers and reals only. Demonstrate how to implement matrix expone

Continue Reading

C++: Forward Difference

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, forward difference, integer, pascal's triangle
C++: Forward Difference

Provide code that produces a list of numbers which is the n-th order forward difference, given a non-negative integer (specifying the order) and a lis

Continue Reading

C++: Balanced Ternary

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged balanced, c, ternary
C++: Balanced Ternary

Balanced ternary is a way of representing numbers. Unlike the prevailing binary representation, a balanced ternary integer is in base 3, and each digi

Continue Reading

Posts navigation

Older posts
Newer posts
University of Maryland Masters of Economics Sideboard
output_8BgzjE
University of Maryland Masters of Economics Sideboard
NYU Tandon School of Engineering Sideboard
University of California Irvine Leaderboard
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
Click here
  • Best Restaurants in Cocoa Beach, Florida: 15 Standout Places to Eat — illustrative food collage

    Best Restaurants in Cocoa Beach: 15 Standout Places to Eat

    September 22, 2026September 20, 2026 by TFE Times
  • Price And Rent Changes Across Major Cities

    September 22, 2026June 20, 2026 by TFE Times
  • Two limestone-colored architectural models on a neutral surface: a broad classical rectangular high-rise beside a smaller stepped skyscraper form, both casting long shadows.

    History of Equitable Holdings

    September 21, 2026September 13, 2026 by TFE Times
  • Best Restaurants in Gainesville, Florida: 15 Standout Places to Eat — illustrative food collage

    Best Restaurants in Gainesville: 15 Standout Places to Eat

    September 21, 2026September 21, 2026 by TFE Times
  • The Income Needed To Join The Top 1%

    September 21, 2026June 20, 2026 by TFE Times
  • Roman-inspired hotel and casino buildings with columns, pediments, statues, and palm trees beside a broad paved drive at golden hour.

    History of Caesars Entertainment

    September 20, 2026September 13, 2026 by TFE Times
  • Best Restaurants in Amelia Island, Florida: 15 Standout Places to Eat — illustrative food collage

    Best Restaurants in Amelia Island: 15 Standout Places to Eat

    September 20, 2026September 20, 2026 by TFE Times
  • Top 10 Restaurants in Atlanta, Georgia

    September 20, 2026June 20, 2026 by TFE Times
  • A wide grocery interior with wooden displays piled with peaches, greens, carrots, peppers, melons, and other produce, transitioning from a sunlit stucco market entrance on the left to bulk dispensers and refrigerated cases on the right.

    History of Sprouts Farmers Market

    September 19, 2026September 13, 2026 by TFE Times
  • Top 10 Restaurants in Brussels, Belgium

    September 19, 2026June 20, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes