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

조회 수: 5 (최근 30일)
Muhammad
Muhammad 2022년 12월 1일
답변: VBBV 2022년 12월 1일
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.

답변 (2개)

Stephan
Stephan 2022년 12월 1일
편집: Stephan 2022년 12월 1일
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 2022년 12월 1일
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 = 

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품


릴리스

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by