|
[Date Index]
[Thread Index]
[Author Index]
FindROot and substitutions
- To: mathgroup at smc.vnet.net
- Subject: [mg89811] FindROot and substitutions
- From: Aaron Fude <aaronfude at gmail.com>
- Date: Sat, 21 Jun 2008 05:30:31 -0400 (EDT)
Hi,
I have found a workaround for this problem, but I would like to
understand how Mathematica wants you to think so I'm asking the
question anyway.
Why does "bad" not work, while "good" works?
g := x z;
bad[z_] := FindRoot[ g == 5, {x, -10, 10 }];
bad[5]
good[k_] := FindRoot[ g == 5 /. z -> k, {x, -10, 10 }];
good[6]
Thanks!
Aaron
Prev by Date:
delta function
Next by Date:
Re: solving for 2 angles
Previous by thread:
Re: delta function
Next by thread:
Re: FindROot and substitutions
|