# My Advanced Calculator (Console Based)

Page 1 of 1

## 4 Replies - 7496 Views - Last Post: 19 October 2009 - 12:53 AM

### #1 TheMagnitude

Reputation: 4
• Posts: 144
• Joined: 12-January 08

# My Advanced Calculator (Console Based)

Posted 20 April 2008 - 07:23 AM

Hello, my first major C++ project is this console based calculator. It has over 50 different operations and functions which are all documented in "documentation.rtf".

Some of it's functions are:

Standard Deviation:

stddev{1,5,1,2,4,9,1,2,100,0.6,-4}

Pearson's Moment Correlation Coefficient (Will be in next version):

{1,5,1,2,4,9,1,2,100,0.6,-4}pmcc{1,5,1,2,4,9,1,2,100,0.6,-4}

Angle between vectors:

[1,2,3]angle[76,1,3]

Dot product:

[1,2,3]dot[76,1,3]

Cross Product

[1,2,3]cross[76,1,3]

Triple Scalar product:

[8,21,3]dot[1,2,3]cross[76,1,3]

Greatest Common Divisor:

12gcd18

And really theres far too many good functions to list here so I'll stop there and you can look in the documentation if you want to see them.

An example executing a calculation:

5+2/10+sin80-([1,5]angle[6,1]+2log8)

The source is also avaliable on my website for members if you want to learn from that.

Is This A Good Question/Topic? 0

## Replies To: My Advanced Calculator (Console Based)

### #2 TheMagnitude

Reputation: 4
• Posts: 144
• Joined: 12-January 08

## Re: My Advanced Calculator (Console Based)

Posted 24 April 2008 - 03:45 PM

I can see the tumbleweed now...

### #3 Spikes of Christ

Reputation: 3
• Posts: 30
• Joined: 19-December 07

## Re: My Advanced Calculator (Console Based)

Posted 26 April 2008 - 09:26 PM

It needs a GUI to get people interested.. maybe I'll do it once I take a look at it.

### #4 Tom9729

• Segmentation fault

Reputation: 181
• Posts: 2,642
• Joined: 30-December 07

## Re: My Advanced Calculator (Console Based)

Posted 27 April 2008 - 09:14 AM

Cool but I usually just use Lisp to do my math homework.

### #5 cmsasr

Reputation: 0
• Posts: 1
• Joined: 19-October 09

## Re: My Advanced Calculator (Console Based)

Posted 19 October 2009 - 12:53 AM

TheMagnitude, on 20 Apr, 2008 - 06:23 AM, said:

Hello, my first major C++ project is this console based calculator. It has over 50 different operations and functions which are all documented in "documentation.rtf".

Some of it's functions are:

Standard Deviation:

stddev{1,5,1,2,4,9,1,2,100,0.6,-4}

Pearson's Moment Correlation Coefficient (Will be in next version):

{1,5,1,2,4,9,1,2,100,0.6,-4}pmcc{1,5,1,2,4,9,1,2,100,0.6,-4}

Angle between vectors:

[1,2,3]angle[76,1,3]

Dot product:

[1,2,3]dot[76,1,3]

Cross Product

[1,2,3]cross[76,1,3]

Triple Scalar product:

[8,21,3]dot[1,2,3]cross[76,1,3]

Greatest Common Divisor:

12gcd18

And really theres far too many good functions to list here so I'll stop there and you can look in the documentation if you want to see them.

An example executing a calculation:

5+2/10+sin80-([1,5]angle[6,1]+2log8)

The source is also avaliable on my website for members if you want to learn from that.

Thanks
CM SASR

Page 1 of 1

 .related ul { list-style-type: circle; font-size: 12px; font-weight: bold; } .related li { margin-bottom: 5px; background-position: left 7px !important; margin-left: -35px; } .related h2 { font-size: 18px; font-weight: bold; } .related a { color: blue; }