Skip to main content
Formatting issue
Source Link
zhk
  • 12k
  • 1
  • 23
  • 39

I would like to generate a table using a function of two variables. I tried the following: Table[{a,b,f[a,b]},{a,0,5},{b,0,5}]

Table[{a, b, f[a, b]}, {a, 0, 5}, {b, 0, 5}] 

which does work as I had hoped. I want the table to produce a,b,f[a,b]a, b, f[a, b] in columns using GridGrid. Thanks for suggestions!

I would like to generate a table using a function of two variables. I tried the following: Table[{a,b,f[a,b]},{a,0,5},{b,0,5}] which does work as I had hoped. I want the table to produce a,b,f[a,b] in columns using Grid. Thanks for suggestions!

I would like to generate a table using a function of two variables. I tried the following:

Table[{a, b, f[a, b]}, {a, 0, 5}, {b, 0, 5}] 

which does work as I had hoped. I want the table to produce a, b, f[a, b] in columns using Grid. Thanks for suggestions!

Source Link
CMoller
  • 175
  • 1
  • 6

Table of a two variable function

I would like to generate a table using a function of two variables. I tried the following: Table[{a,b,f[a,b]},{a,0,5},{b,0,5}] which does work as I had hoped. I want the table to produce a,b,f[a,b] in columns using Grid. Thanks for suggestions!