Search found 3 matches

by confused student
5 years ago
Forum: Syntax
Topic: How to save results to a txt or xlsx file
Replies: 1
Views: 2789

How to save results to a txt or xlsx file

Hello everyone. I have solved a problem and found the fastest route to go from one point to another. However, I don't know how to save my results to later plot it with another software, like Matlab or Excel. This is my program: $set n 10 set j /0*%n%/; sets jlast(j) jnotlast(j); jlast(j)$(ord(j)=car...
by confused student
5 years ago
Forum: Modeling
Topic: Question about Simpson's integration.
Replies: 2
Views: 2379

Re: Question about Simpson's integration.

Edit: I have already found what was wrong. It was a licence problem; the functioning code is as follows: $set n 10 set j /0*%n%/; sets jlast(j) jnotlast(j); jlast(j)$(ord(j)=card(j))=yes; jnotlast(j)=not jlast(j); scalar n number of intervals /%n%/ m mass /5000/ S surface /21.55/ CD0 drag /0.023/ k ...
by confused student
5 years ago
Forum: Modeling
Topic: Question about Simpson's integration.
Replies: 2
Views: 2379

Question about Simpson's integration.

Hello everyone. I have recently made a model to maximize the distance traveled by a glider. In this program, I have used the trapezoidal rule. However, my proffesor thinks that I can do it with Simpson's rule instead. I have been given a small .pdf which can be sumarized (using LATEX code) as: $y_{k...