1

When using the FindRoot function on a certain function, the returned object is a rule. Specifically, the outcome is {t -> 5.19188}. My question is how I could retrieve the 5.19188 value from this answer, or if this is even possible.

kglr
  • 394,356
  • 18
  • 477
  • 896
Ushwald
  • 11
  • 2

1 Answers1

0

This is done with the ReplaceAll command's infix notation syntax /.

sol={t->5.19188}
t/.sol
(*5.19188*)
Chris Chiasson
  • 1,955
  • 12
  • 23