Clear Filters
Clear Filters

error using sym/subindex

2 views (last 30 days)
Fernando Moreno
Fernando Moreno on 9 Mar 2022
Answered: Torsten on 9 Mar 2022
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)

Torsten
Torsten on 9 Mar 2022
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!