Skip to main content

New answers tagged

3 votes

What is the difference between Clear and Remove?

To see the the difference, try: a = 1; f[i_] := a + i f[1] 2 Clear[a] f[1] NameQ["a"] 1 + a True ...
Sjoerd Smit's user avatar
  • 23.6k
1 vote
Accepted

Import all files in NotebookDirectory, store each list in a variable with the file name without extension

...
rhermans's user avatar
  • 36.7k
2 votes
Accepted

Create a list of indexed variables and assign values in one line of code

index = {1, 3, 6, 8}; values = {2, 4, 6, 0}; Create an Association ...
eldo's user avatar
  • 74.7k
4 votes
Accepted

How to calculate a definite integral with a parameter

What you have posed is an example of an XY problem. In this case, the problem you actually want to solve has a straightforward approach. First turn the parametrized numeric integral into a "black ...
Daniel Lichtblau's user avatar

Top 50 recent answers are included