How can I solve this two shaded equations for d1 and d2?

2 Ansichten (letzte 30 Tage)
Javier Negron
Javier Negron am 24 Nov. 2020
Kommentiert: Javier Negron am 7 Dez. 2020
This is the student version and I am a begginer user
  2 Kommentare
John D'Errico
John D'Errico am 24 Nov. 2020
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!
Javier Negron
Javier Negron am 24 Nov. 2020
yes, c is known; 0.15 to be exact.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Stephan
Stephan am 25 Nov. 2020
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

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by