Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to change symbolic values to numbers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77030] How to change symbolic values to numbers
  • From: "krzysztof.lisowski at wp.pl" <krzysztof.lisowski at wp.pl>
  • Date: Fri, 1 Jun 2007 02:40:11 -0400 (EDT)

Hello for all.
I have a problem with changeing symbolic to number values:

f1[{x1_,x2_}]=Block[{},
	L={x1, 1-x1};

Print[L]; (*Print prints  {x1, 1-x1} but I want to get value {.5, .
5)*)

];

fCE=f1[{x1,x2}]; fC[{x1_, x2_}]=fCE;
fCi:=(N[f1[#]])&;
fCa=fCi[{.5,.5}];
fCa

Any help would by very appreciated.
With best regards,
Krzysztof Lisowski



  • Prev by Date: Re: Ellipse equation simplification on Mathematica:
  • Next by Date: Re: Integer Solutions
  • Previous by thread: Re: Ellipse equation simplification on Mathematica:
  • Next by thread: Re: How to change symbolic values to numbers