Matlab says that the 'e' is undefined
15 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I trying to get an integral of a simple function F(x) = 3*x.^2 + e.^(2*x) and matlab won't let me enter the equation, so I am stuck with figuring out how to enter in the function F(x) into the system.
The question I am struggling on is, "compute the integral of the function F(x) using symbolic manipulation functionality", and I have no clue where to start on..
Please help me start off! Much appreciated if you guys could provide me with some commands as well.
Thank you!
0 件のコメント
回答 (2 件)
Guillaume
2017 年 7 月 26 日
F(x) = 3*x.^2 + exp(2*x)
4 件のコメント
Stephen23
2017 年 7 月 26 日
編集済み: Stephen23
2017 年 7 月 26 日
@Sarah Park: you show that you defined three variables named x1, x2, and x3, but apparently you do not define any variable named x.
"I don't know what to do.."
You need to define a variable before you can use in in any calculation or operation.
Torsten
2017 年 7 月 26 日
See the examples under
https://de.mathworks.com/help/symbolic/int.html
Best wishes
Torsten.
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!