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

5 visualizzazioni (ultimi 30 giorni)
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.

Risposte (2)

Stephan
Stephan il 1 Dic 2022
Modificato: Stephan il 1 Dic 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 il 1 Dic 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 = 

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti


Release

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by