Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

I need to know how to express this equation in matlab code (Important!)

1 visualizzazione (ultimi 30 giorni)
Dear Matlab community,
I am working on an aeronautics project (writing code for the numerical lifting line method). Part of it involves calculating the following value called "dS_i":
As you see, I have to express the above equation as a matlab code so that matlab can internally calculate dS for each i value of 1 to N. In the above equation, every variable is previously entered by the user- I only need matlab to integrate the expression in the picture for a GENERAL i value, and then to take the derivative of that expression, and then calculate the derivative for values i=1:N.
I could just do it with my CAS calculator and type in the result directly- but the derivative turns out several lines long and it is just unfeasible to enter it with 100% certainty of not making a mistake.
SO, how do I then enter the two expresison in the picture directly into matlab, and let the script do all the work?
Thank you,
Danylo!

Risposte (0)

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by