- #1

- 1

- 0

## Main Question or Discussion Point

**How to use C++ in studying calculus**

I'm having a hard time.

Last edited by a moderator:

- C/++/#
- Thread starter sherlin
- Start date

- #1

- 1

- 0

I'm having a hard time.

Last edited by a moderator:

- #2

BvU

Science Advisor

Homework Helper

2019 Award

- 12,728

- 2,904

What have you done/seen/learnt so far ?

- #3

anorlunda

Mentor

- 7,961

- 4,626

Why do you need any programming to learn calculus?

- #4

BvU

Science Advisor

Homework Helper

2019 Award

- 12,728

- 2,904

Maybe it's the other way around

- #5

- 11

- 0

Program the ti-84 to learn calculus

- #6

jedishrfu

Mentor

- 11,261

- 4,728

Rosetta Code has a numerical integration topic implemented in several languages for selected functions:

https://rosettacode.org/wiki/Numerical_integration

If you are instead trying to learn Calculus and want to use programming to verify your answers (not a good idea - as you'll be spinning your wheels and getting frustrated trying to understand why your answer isn't what the teacher gets exactly - and it wont help on tests or quizzes).

You could consider using MATLAB (popular in college with engineers) or Mathematica:

https://rosettacode.org/wiki/Numerical_integration#MATLAB_.2F_Octave

https://rosettacode.org/wiki/Numerical_integration#Mathematica

Other languages I forgot to mention are Julia (MAtlab like) and Python. Both of which have examples for numerical integration:

https://rosettacode.org/wiki/Numerical_integration#Julia

https://rosettacode.org/wiki/Numerical_integration#Python

https://rosettacode.org/wiki/Numerical_integration

If you are instead trying to learn Calculus and want to use programming to verify your answers (not a good idea - as you'll be spinning your wheels and getting frustrated trying to understand why your answer isn't what the teacher gets exactly - and it wont help on tests or quizzes).

You could consider using MATLAB (popular in college with engineers) or Mathematica:

https://rosettacode.org/wiki/Numerical_integration#MATLAB_.2F_Octave

https://rosettacode.org/wiki/Numerical_integration#Mathematica

Other languages I forgot to mention are Julia (MAtlab like) and Python. Both of which have examples for numerical integration:

https://rosettacode.org/wiki/Numerical_integration#Julia

https://rosettacode.org/wiki/Numerical_integration#Python

Last edited:

- #7

- 885

- 464

- #8

FactChecker

Science Advisor

Gold Member

- 5,238

- 1,862

- Last Post

- Replies
- 5

- Views
- 2K

- Replies
- 24

- Views
- 4K

- Replies
- 2

- Views
- 12K

- Last Post

- Replies
- 2

- Views
- 1K

- Last Post

- Replies
- 1

- Views
- 4K

- Last Post

- Replies
- 2

- Views
- 2K

- Last Post

- Replies
- 4

- Views
- 2K

- Replies
- 4

- Views
- 625