Timeline for How do I make a function from a solution? [duplicate]
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 11, 2020 at 14:57 | history | duplicates list edited | Michael E2 | duplicates list edited from Assign the results from a Solve to variable(s) to Assign the results from a Solve to variable(s), How to use Solve rules as a function body? | |
| Apr 11, 2020 at 14:57 | history | closed | Artes Dunlop MarcoB m_goldberg Michael E2 equation-solving Users with the equation-solving badge or a synonym can single-handedly close equation-solving questions as duplicates and reopen them as needed. | Duplicate of Assign the results from a Solve to variable(s) | |
| Apr 9, 2020 at 20:00 | comment | added | Quark Soup | @MichaelE2 - That looks more promising. Let me work on that. | |
| Apr 9, 2020 at 19:59 | answer | added | Bill Watts | timeline score: 5 | |
| Apr 9, 2020 at 19:56 | comment | added | Michael E2 | You could define two function in my example, since it has two solutions, with {F, G} = Function[z, #] & /@ Values[sol]. (Tho, you should avoid starting names with a capital, esp. single-letter symbols.) | |
| Apr 9, 2020 at 19:55 | comment | added | Quark Soup | @MichaelE2 - No, that doesn't work. If you cut-and-paste your text exactly into Mathematica, then try Function[1024], all you get is 1024&. | |
| Apr 9, 2020 at 19:55 | review | Close votes | |||
| Apr 11, 2020 at 15:00 | |||||
| Apr 9, 2020 at 19:46 | history | edited | Quark Soup | CC BY-SA 4.0 | added 271 characters in body |
| Apr 9, 2020 at 19:46 | history | edited | Quark Soup | CC BY-SA 4.0 | added 271 characters in body |
| Apr 9, 2020 at 19:42 | comment | added | Quark Soup | @Artes - Not as far as I can see. I see several examples where substitution is used to get an answer, but I don't see any answers that show a function being created. Am I missing something? | |
| Apr 9, 2020 at 19:42 | comment | added | Michael E2 | Maybe this will help: it gives a list of pure Function, one for each solution: sol = Solve[a^2 + z a - 2 == 0, a]; Function[z, #] & /@ Values[sol] | |
| Apr 9, 2020 at 19:27 | history | asked | Quark Soup | CC BY-SA 4.0 |