How can I do this integration??

Hi guys. I want to solve the below integration problem by matlab. I cannot get the correct answer by integration function.

7 Kommentare

Torsten
Torsten am 25 Jul. 2022
Please describe and write down your problem in a comprehensible form.
I tried to integrate this problem to get the solution as described picture from 1st line to 2nd line. However, I couldn't get the answer.
syms G J S Theta_T STheta_T
F = Theta_T*STheta_T
ANS = -int(G*J/S^2*F,0,S)
Walter Roberson
Walter Roberson am 26 Jul. 2022
you did not indicate which variable to integrate over
syms G J S Theta_T STheta_T y
F = Theta_T*STheta_T
F = 
ANS = -int(G*J/S^2*F,y,0,S)
ANS = 
AppleNg
AppleNg am 26 Jul. 2022
Thank you so much!!! I did it now.
Also, I have another question. Instead of writing it as STheta_T, is there a way to describe it as greek symbol and compute it in the form of greek symbol? Thank you for helping me out! I really appreciate it.
Walter Roberson
Walter Roberson am 26 Jul. 2022
When you use the Live editor, then for the display of symbolic expressions, each identifier is examined. The identifier is split at _ and . Each segment is examined, and if it is the English name of a Greek letter then the corresponding Greek symbol is rendered. For components after the first, some key words such as dot and hat are recognized and indicate accents modifying what is rendered.
You cannot, for example, use β itself as an identifier but you can use beta and in appropriate context it will render as β
You cannot get an identifier to render as sθ or δθ but if you used delta_theta it should render as δ with subscript θ
Again this is only Livescript

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Labels and Annotations finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 25 Jul. 2022

Kommentiert:

am 26 Jul. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by