error using sym/subindex

2 次查看(过去 30 天)
Fernando Moreno
Fernando Moreno 2022-3-9
回答: Torsten 2022-3-9
Im trying to solve a problem bt suddenly I encountered a error in sym/subindex every time I try to run it
syms f(x)
f(x)=sqrt(1-x^3)
f(x) = 
Volumen=pi*(int(f(x),[0,1]))^2
Volumen = 

回答(1 个)

Torsten
Torsten 2022-3-9
syms x
f(x) = sqrt(1-x^3);
V = pi* int(f^2,[0,1])

Community Treasure Hunt

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

Start Hunting!

Translated by