T
T
tr1ck2014-07-13 21:56:01
Programming
tr1ck, 2014-07-13 21:56:01

Scilab - easy or hard?

I need to calculate the integral using the trapezoid method with accuracy E, is it hard to write such code or is there a function that will do all this for me? It seems that they said that there is a function and you should not bother with the code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Starkov, 2014-07-14
@tr1ck

And just looking at the docks is not fate
https://help.scilab.org/docs/5.3.3/en_US/inttrap.html
------------from the example-------- ---------
t=0:0.1:%pi
inttrap(t,sin(t))
------------------------ -----

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question