Solving an equation with one variable
Show older comments
How can I solve :
(q*a^4/(E*t^4)) = k1*y/t + k2*(y/t)^3;
q,a,t,E,k1,k2 are constants; where as y is the variable.
How to write matlab code to solve this in terms of y.
Accepted Answer
More Answers (1)
Andrei Bobrov
on 23 Oct 2019
syms q a t E k1 k2 y
eq = (q*a^4/(E*t^4)) == k1*y/t + k2*(y/t)^3;
sol = solve(eq,y,'MaxDegree', 3);
Categories
Find more on Calculus in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!