I with C ++ or MATLAB : Simpson's rule

  • Context: MATLAB 
  • Thread starter Thread starter xpoormanx
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary

Discussion Overview

The discussion revolves around the implementation of Simpson's rule in programming languages C++ and MATLAB. Participants explore the ease of using either language for this task, with a focus on coding and problem-solving rather than formal homework assignments.

Discussion Character

  • Debate/contested
  • Homework-related
  • Technical explanation

Main Points Raised

  • One participant emphasizes that the task is not homework but rather an extra project, seeking assistance on the implementation.
  • Another participant suggests that understanding what "Simpson's rule" entails is essential before proceeding with coding.
  • Some participants argue that if one is already familiar with MATLAB, it would likely be easier to use MATLAB due to its simplicity compared to C++, which has additional complexities.
  • There is a suggestion that the easiest approach is to use the programming language that the individual is most comfortable with.
  • Concerns are raised about the use of oversized images that disrupt the thread's layout, with requests for text-based communication instead.

Areas of Agreement / Disagreement

Participants express differing opinions on the ease of using C++ versus MATLAB, with no consensus reached on which is definitively easier. The discussion remains unresolved regarding the best approach for implementing Simpson's rule.

Contextual Notes

Some assumptions about familiarity with programming languages and the specific requirements of the task are present but not explicitly stated. The discussion does not clarify the exact nature of the "extra" project or its requirements.

xpoormanx
Messages
2
Reaction score
0
http://img55.imageshack.us/img55/3461/scan0001op5.jpg


Thank You !
 
Last edited by a moderator:
Physics news on Phys.org
You understand, don't you, that no one here is going to do your homework for you! The problem does say, after all, "you have to write the code yourself". You might start by writing out exactly what "Simpson's rule" is.
 
And please refrain from messing up the page layout by posting stupidly oversized imageshack images.
 
It is not homework it is something extra
I just need help on it

which one more easy using C ++ or MATLAB
 
xpoormanx said:
It is not homework it is something extra
I just need help on it

which one more easy using C ++ or MATLAB

If you already know how to use MATLAB then I am fairly certain that using MATLAB will be easier. C++ has various complexities which are not relevant or helpful to solving your particular problem which in MATLAB you will simply not have to worry about.
 
I hate this too big image. could you type these words in post instead?
 
xpoormanx said:
It is not homework it is something extra
I just need help on it

which one more easy using C ++ or MATLAB

It will be easiest to use whatever programming language you already know, and have installed on your computer.
 

Similar threads

Replies
6
Views
4K
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
5K