symbolic integral with symbolic integral limits , how do i code this
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dan Mathotaarchchi
el 14 de Mayo de 2017
Comentada: Walter Roberson
el 23 de Mayo de 2017
hi all, kindly help me to solve above 2 equations . all symbols are constant and subject is r .thanks

0 comentarios
Respuesta aceptada
Walter Roberson
el 14 de Mayo de 2017
Editada: Walter Roberson
el 14 de Mayo de 2017
syms r A1 A2 R
M1 = int( sqrt(A1+A2*r^2)*r, r, 0, R)
L1 = int( sqrt(A1+A2*r^2)/(1+4*r), r, 0, R)
You will see M1 given as a piecewise output. That is telling you that if you were able to give some constraints on your inputs, you might be able to come out with a simpler output.
In particular, if you are able to confine your symbols to be real-valued,
syms r A1 A2 R real
then you get a useful closed-form solution for M1.
MATLAB cannot find a closed-form solution for L1. (Some other programs I have tried think about it for a long time; I am not sure yet whether they will come out with anything.)
5 comentarios
Walter Roberson
el 23 de Mayo de 2017
Mathematica says that the closed form for L is
(1/(32 Sqrt[16 A1+A2]))(-8 Sqrt[A1 (16 A1+A2)]+8 Sqrt[(16 A1+A2) (A1+A2 R^2)]+Sqrt[A2 (16 A1+A2)] Log[A1 A2]+2 (16 A1+A2) Log[4 A1+Sqrt[A1 (16 A1+A2)]]+32 A1 Log[1+4 R]+2 A2 Log[1+4 R]-2 Sqrt[A2 (16 A1+A2)] Log[A2 R+Sqrt[A2 (A1+A2 R^2)]]-32 A1 Log[4 A1-A2 R+Sqrt[(16 A1+A2) (A1+A2 R^2)]]-2 A2 Log[4 A1-A2 R+Sqrt[(16 A1+A2) (A1+A2 R^2)]])
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!