Questions tagged [webmathematica]

For all questions relating to webMathematica. Not for questions relating to Mathematica Online.

This tag is intended for all questions concerning the creation, deployment, and execution of webMathematica projects.

106 questions
6
votes
1 answer

Put webMathematica folder outside Tomcat webapps folder?

Is it possible to put the webMathematica folder outside the usual Tomcat webapps folder and still have webMathematica work? webMathematica does work OK if its whole folder is placed inside Tomcat's webapps — and accessed in the browser as…
murray
  • 11,888
  • 2
  • 26
  • 50
6
votes
0 answers

POST request content type, huge performance difference

I have a page on web mathematica that reads the value of the POST request's payload and responds accordingly. I've noticed a huge difference in the time the server takes to respond depending on the content type of the request, and I can't really…
flagg19
  • 211
  • 1
  • 3
5
votes
1 answer

Are webMathematica functions totally different compared with Mathematica?

Recently, I configured WebMathematica in my system. I tested with inbuilt examples, all are working fine. Basically, Helloworld program returns Date[] output. I tried with Dynamic wrapper around Date[], the corresponding code is below. …
subbu
  • 2,304
  • 1
  • 13
  • 32
5
votes
1 answer

webMathematica interface for Mobile apps

I was reading about webmathematica but it has mentioned that it is for websites and mobile apps depend on wolfram alpha to get its work done. But since exact mathematica code doesn't work in alpha, it obviously puts serious limitations regarding the…
Pankaj Sejwal
  • 2,063
  • 14
  • 23
4
votes
1 answer

Where will I put packages?

Recently,I got WebMathematica. Initially I searched WebMathematica documentation in Mathematica documentation, but it doesn't return any results. For this I read tutorials; finally I placed the webMathematicaDocumentation folder in the following…
subbu
  • 2,304
  • 1
  • 13
  • 32
3
votes
0 answers

Use JavaScript to evaluate webMathematica tags?

In my HTML form I have 3 buttons. Each button calls different .mx files, based upon an .mx file data. listplot will be created in another jsp page. I placed all .mx files under WEB-INF/Applications. I wrote 3 functions in Javascript. Inside these…
subbu
  • 2,304
  • 1
  • 13
  • 32
2
votes
2 answers

padding with zero in Table

I am creating a grid as Print["no of grid points, lattice length, dz " , {max = 10, L = 10.,dz=L/max}] grid = Table[-L/2 + (n - 1) dz, {n, 1, max}] grid2 = Table[-L/2 + (n - 1) dz, {n, 1, max, 2}] The output is During evaluation of no of…
zenith
  • 549
  • 1
  • 8
  • 16
2
votes
0 answers

webMathematica evaluation gives unexpected results when imported dynamically

Let me know if this should be posted on StackOverflow instead - I'm not quite sure where it belongs When calling a page via the JSTL tag or the JSP Include action, webMathematica gives results that are not consistent with the other…
Daniel
  • 825
  • 4
  • 11
2
votes
0 answers

No Symbols Matching $InterfaceEnvironment

I'm running a webMathematica server (running Mathematica 9) and am getting some weird stuff in the log - specifically, I keep getting the following message: General pool request background 61 > [ ] Input MSP`Utility`DestroyRequest[] generated…
Daniel
  • 825
  • 4
  • 11
2
votes
0 answers

Where can I find example of good webMathematica programming?

Just now I started to work on webMathematica. I surprised that I can't do whatever I do with mathematica. Can any one suggest me where I can get good practice on webMathematica.
niren
  • 743
  • 4
  • 13
1
vote
1 answer

Using the error messages that gets generated while executing

While executing code it is normal to get the messages like shdw,argx etc. I wanted to know if there is anyway i can store all these messages into a array or a variable so that i can pinpoint where the error occurred. The scenario is that i have…
shiva
  • 11
  • 1
1
vote
0 answers

Dynamic Spreadsheet

Fellow Mathfolk, Please excuse if this question sounds like it’s coming from someone who doesn’t know what they’re talking about. I own iGrow.net & am trying to imbed a “dynamic spreadsheet,” modeling production capacity of a container farm & its…
SDH
  • 33
  • 2
1
vote
1 answer

Compute the polynomial interpolation of the points (xi, 1/(1 + x^2)) for xi = −2, 1, 0, 1, 2

How can I be able to setup a mathematica code using a Vandermonde matrix? We had to plot the interpolated polynomial and regular polynomial. I had this but we aren't supposed to use the built-in interpolating polynomial function: P = f[x_] = 1/(1 +…
Bob Duncan
  • 11
  • 1
1
vote
1 answer

Modulus of grad

f:= x^2 y^5 + y^3z^4; grad[x_, y_, z_] = Grad[f, {x, y, z}]; mat = {{ 2,1,0},{ 2, 1, 1 },{ 0,3,3 },{ 2,3,1 },{ 1, 3,1},{ 4,4,4 } }; grad[##] & @@@ mat //TableForm Is there a way to use Modulus 5 with grad in this Mathematica code?
pat
  • 11
  • 2
1
vote
1 answer

Use FIT to calculate regression line from two sets of data

I figure out how to figure out the regression line using fit {I need to use FIT} for one set of number. However, I have to combine two sets and figure out the regression line. numberset1 = {1,2,3,4,5} numberset2 = {6,5,6,7,8} I am doing this to…
1
2