Help!: int(expr,var) function returns the int(expr,var) function
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Daniel Møgelbjerg
il 16 Apr 2021
Commentato: Daniel Møgelbjerg
il 20 Apr 2021
When i try to make a fucntion described by two indefinite integrals, one of the indefinite integrals returns without being solved.
The variable x an angle between 0 and pi/2.
F_1 is a force.
R_1 and R_2 are lenghts.
%% Variables
syms x;
F_1 = 200; %N
R_1 = 30; % mm
L = 40; % mm
H = 20; % mm
R_2 = 20*(4*cos(x)^2 + sin(x)^2)^(1/2);
%% Equations
m_1(x)= F_1*sin(x)*R_1;
md_1(x)=sin(x)*R_1;
m_2(x)=F_1*R_2*cos(x);
md_2(x)=R_2*cos(x);
ex_1=R_1*m_1(x)*md_1(x);
ex_2=simplify(R_2*m_2(x)*md_2(x))
%% Integration
f(x)=int(ex_1,x) + int(ex_2,x)
f(x) =
2700000*x - 1350000*sin(2*x) - int(1600000*(4 - 3*sin(x)^2)^(3/2)*(sin(x)^2 - 1), x) - It should solve this one, but indstead it just spit out int(expresion,var) just as it was inserted.
0 Commenti
Risposta accettata
Cris LaPierre
il 17 Apr 2021
That likely means it couldn't solve that one.
Consider using one of the techniques mentioned in these two examples.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!