How can i solve a function for A, a constant ......... if the function's intragrand is (x +A) and limits are 0 - 10 when function==0 ????
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Asif Arshid
am 14 Aug. 2016
Beantwortet: John D'Errico
am 14 Aug. 2016
How can I solve the following equation in Matlab for A, when z=0 ?
z = integral 0-10 (x + A)dx
Thanks,
0 Kommentare
Akzeptierte Antwort
John D'Errico
am 14 Aug. 2016
Just do exactly what you said. WTP?
See that:
syms x A
int(x+A,x,[0,10])
ans =
10*A + 50
Then in one line:
solve(int(x+A,x,[0,10]) == 0,A)
ans =
-5
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!