error using sym/subindex

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 = 

Answers (1)

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

Asked:

on 9 Mar 2022

Answered:

on 9 Mar 2022

Community Treasure Hunt

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

Start Hunting!