MathGroup Archive 2010

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

Search the Archive

Tabulating expressions dependent on two variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112403] Tabulating expressions dependent on two variables
  • From: Leslaw Bieniasz <nbbienia at cyf-kr.edu.pl>
  • Date: Tue, 14 Sep 2010 05:14:14 -0400 (EDT)


Hi,

How should one modify the following code, in order to accurately tabulate 
a function f[x,y] of two variables, instead of the function f[y] of one 
variable? The values of x and y should be all combinations of the values
of y indicated below.

Leslaw

-----------------

In[1]:= Table[{N[y],SetPrecision[f[y], 70],Precision[f[y]]},
   {y,  {
     1/10^19, 2/10^19, 5/10^19,
     1/10^18, 2/10^18, 5/10^18,
     1/10^17, 2/10^17, 5/10^17,
     1/10^16, 2/10^16, 5/10^16,
     1/10^15, 2/10^15, 5/10^15,
     1/10^14, 2/10^14, 5/10^14,
     1/10^13, 2/10^13, 5/10^13,
     1/10^12, 2/10^12, 5/10^12,
     1/10^11, 2/10^11, 5/10^11,
     1/10^10, 2/10^10, 5/10^10,
     1/10^9,  2/10^9,    5/10^9,
     1/10^8,  2/10^8,    5/10^8,
     1/10^7,  2/10^7,    5/10^7,
     1/10^6,  2/10^6,    5/10^6,
     1/10^5,  2/10^5,    5/10^5,
     1/10^4,  2/10^4,    5/10^4,
     1/10^3,  2/10^3,    5/10^3,
     1/10^2,  2/10^2,    5/10^2,
     1/10^1,  2/10^1,    5/10^1,
     10^0,        2 10^0,    5 10^0,
     10^1,        2 10^1,    5 10^1,
     10^2,        2 10^2,    5 10^2,
     10^3,        2 10^3,    5 10^3,
     10^4,        2 10^4,    5 10^4,
     10^5,        2 10^5,    5 10^5,
     10^6,        2 10^6,    5 10^6,
     10^7,        2 10^7,    5 10^7,
     10^8,        2 10^8,    5 10^8,
     10^9,        2 10^9,    5 10^9,
     10^10,      2 10^10, 5 10^10,
     10^11,      2 10^11, 5 10^11,
     10^12,      2 10^12, 5 10^12,
     10^13,      2 10^13, 5 10^13,
     10^14,      2 10^14, 5 10^14,
     10^15,      2 10^15, 5 10^15

     }}]
TableForm[%]




  • Prev by Date: Re: polynomial long division using Series[] and changing polynomial
  • Next by Date: Re: polynomial long division using Series[] and changing polynomial default
  • Previous by thread: Re: polynomial long division using Series[] and changing polynomial
  • Next by thread: Re: polynomial long division using Series[] and changing