Timeline for Solve for two variables but output second variable in terms of first variable
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 14, 2020 at 12:27 | comment | added | Bob Hanlon |
Solve[ ..., h, {d}] means solve for h while eliminating d . Solve[ ..., d, {h}] means solve for d while eliminating h . Solve[ ..., d, h] means solve for d and constrain it to the domain h . Since h is not a domain, you get a warning and it uses h as a variable to be eliminated, i.e., it interprets the statement as if you had entered Solve[ ..., d, {h}] . The elimination variable(s) even when just one are in List brackets to avoid initially being interpreted as a domain.
|
|
Dec 14, 2020 at 6:37 | comment | added | Real Noob |
Hi @Bob. I noticed that changing the order of variables I am trying to find changes the final result as well. For example, h, {d}] and d to d, {h}] and h results in completely different outputs. Why does this happen?
|
|
Dec 14, 2020 at 6:29 | comment | added | Real Noob | Thanks @Bob. :) | |
Dec 14, 2020 at 6:28 | vote | accept | Real Noob | ||
Dec 14, 2020 at 6:10 | history | answered | Bob Hanlon | CC BY-SA 4.0 |