How can I solve this two shaded equations for d1 and d2?
2 次查看(过去 30 天)
显示 更早的评论
This is the student version and I am a begginer user
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/426738/image.png)
2 个评论
John D'Errico
2020-11-24
Is c known? As far as I can see, c has never been defined. Personally, I think c is 42, which we have been told by another welll known source to be the answer to all of the important questions. In fact, I have heard in the next version of MATLAB, they have plans to replace all undefined variables with the number 42. Hey. It might be the correct number after all.
But don't tell anyone I said this, as I might be leaking valuable product information to the world. It is a secret!
采纳的回答
Stephan
2020-11-25
syms d1 d2 Grin
eq = [d2 == Grin * d1; (d1+d2) / 2 == 0.15];
sol = solve(eq,[d1,d2]);
sol_d1 = sol.d1
sol_d2 = sol.d2
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!