# All Questions

71 views

### Module that finds the sum of digits of any given positive integer

How can I make a module that finds the sum of digits of any given positive integer? I use this command F[x_]:= Apply[ Plus, IntegerDigits[x] ] Is there another ...
95 views

### How do I construct a non-linear model from experimental data?

I want to find a function $w=f(x,y,z)$ that fits experimentally determined values of w. For example, assume ...
141 views

135 views

### Problem with Integrate

...
123 views

I am trying to read in the FITS file into Mathematica. My FITS file is very simple, it should be 2 columns of numbers. What should be the correct Mathematica command to convert this fits file into ...
152 views

### Locator following other locator in DynamicModule

I'm trying to create a dynamic environment where I specify, using two locators, the initial condition (position (x,y) and velocity angle (alpha)) of a 2D particle. To simplify, I'm assuming the ...
108 views

### Equating two lists, element by element

Say you have two lists: listA = {a, b, c} listB = {d, e, f} How would you produce a listC that equates each of the two's ...
I have a function f[x_, y_, z_] := Exp[-x^2]*Exp[-z^2] which traces out a tube along $y$. Is there a way to plot this 4D function, where the plot color is the ...