Taking derivative and putting it equal to 0 to find theta.

5 views (last 30 days)
S = (6*s*h) - ((3*s*s*cot(x))/2) + ((3*s*s*sqrt(3)*csc(x))/2)
This is the equation of surface area of a beehive. I have to take first derivative and put it equal to 0 to find the theta i.e x. Could someone help me with this.

Answers (2)

Stephan
Stephan on 1 Dec 2022
Edited: Stephan on 1 Dec 2022
syms s h S(x)
fun = S(x) == (6*s*h) - ((3*s*s*cot(x))/2) + ((3*s*s*sqrt(3)*csc(x))/2)
fun = 
sdot = diff(fun,x) == 0
sdot = 

VBBV
VBBV on 1 Dec 2022
syms x s h
S = (6*s*h) - ((3*s*s*cot(x))/2) + ((3*s*s*sqrt(3)*csc(x))/2)
S = 
Y = diff(S,x) == 0 % take derivative of equation w.r.t x
Y = 
sol = solve(Y,x) % find x (theta)
sol = 

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!