Questions tagged [wxmaxima]

WXMAXIMA QUESTIONS MUST BE PROGRAMMING RELATED. A GUI front-end Maxima built with wxWidgets

A GUI front-end Maxima built with wxWidgets. https://github.com/wxMaxima-developers/wxmaxima.

154 questions
0
votes
0 answers

(wx)Maxima: how to apply a list-function to an array of lists?

I know that one can act a function on every member of a list using the map function, e.g., f(x):=block([x:x], x^2)$ foo:[1,2,3]; map('f,foo); However, I haven't been able to work out how one would do the equivalent with an array of lists, and a…
Rax Adaam
  • 790
  • 3
  • 11
0
votes
0 answers

(wx)Maxima: what are the best practices for using `equal` with floats?

I am working with data that has the following form: /* initial value */ xi:-8$ /* intermediate value */ a:-0.2$ /* final value */ xf:8$ /* step size */ dx:0.1$ /* first list of values */ x1:makelist(i,i, xi, a, dx)$ /* second list…
Rax Adaam
  • 790
  • 3
  • 11
0
votes
0 answers

(wx)Maxima: recommended method for extending / defining predicate tests for lists

I thought there was a built in method for determining whether all / any members of a list satisfied a predicate test, but searching the documentation for lists, as well as searching the index for any of the keywords (at least those I could think of)…
Rax Adaam
  • 790
  • 3
  • 11
0
votes
0 answers

(wx)Maxima: Assignments

I'm not certain of the language to use for describing the issue I've encountered, so I'll just illustrate it with an example. Essentially, it seems that variable assignment with arrays works differently from variable assignment with…
Rax Adaam
  • 790
  • 3
  • 11
0
votes
0 answers

How to stop the execution of a session of wxmaxima by command?

how are you?. I'm interested in stopping the execution of the wxmaxima session conditionally, this is by example using an if like follows if(a > b) then "stop" else "continue I want to completelly stop the wxmaxima session on the line then…
vram
  • 85
  • 8
0
votes
1 answer

How can I solve a trigonometric equation in wxMaxima such as sin(x)=0.3 across a range of x (range is [0, 4%pi])

How can I structure this equation? I have tried doing this: x:[0,4%pi]; solve(sin(x)=0.3,x); and then solving for the equation but that didn't work because: %pi is not an infix operator Any suggestions and also how to solve the following in…
CoderCowMoo
  • 3
  • 1
  • 3
0
votes
0 answers

How can I detect the variable used by student (STACK on Moodle)?

I use a set to describe a line in the space, such as (Maxima, STACK on Moodle) te:{[x,2*x-3,4*x+5]} (1) that means: line with direction (1,2,4) , and (0,-3,5) belongs to the line. But the student can describe the same line with a completely…
JOM
  • 119
  • 3
0
votes
1 answer

(wx)Maxima: turn off scientific notation

Currently, something like 0.9*120 returns 1.08+2 whereas I'd like to set the default for all numbers to be returned in non-scientific notation. I found fix in the documentation; however, this solution is only appropriate for integer values. I found…
Rax Adaam
  • 790
  • 3
  • 11
0
votes
1 answer

How to get the correct solution of this simple equation in wxMaxima?

I am trying to solve the following simple equation in wxMaxima: 21.3874=0.00202415/(d^3) When I use solve(), I get 3 solutions (2 complex and 1 real). I know that d is real and positive (because it's a diameter) so I'm only interested in the third…
FEA-eng
  • 106
  • 6
0
votes
1 answer

Line in Wxmaxima not high enough to show exponent of exponent [solved]

when I type: in Wxmaxima: exp(-x^2/2); the result shown then in Wxmaxima cuts off the exponent of x, i.e. from 2 I see only the base line. I am running on Lubuntu 20.4: _wxMaxima version: 19.07.0 using wxWidgets version: wxWidgets 3.0.4 Maxima…
Karl
  • 263
  • 3
  • 10
0
votes
0 answers

(wx)Maxima: argument assignment for texput with anonymous / lambda functions

I seem to be getting inconsistent results from texput and lambda functions for returning strings. I'm almost certain I must be overlooking something, but just can't see it, right now. These two functions look identical to me, and yet one parses and…
Rax Adaam
  • 790
  • 3
  • 11
0
votes
1 answer

Maxima fills 3D object

I tried to plot a 3D surface using Maxima, which I did achieve using the following code load(draw); draw3d(xlabel="x", ylabel="y", zlabel="z", proportional_axes=xyz, enhanced3d=true, colorbox=false, xtics=0.5, ytics=0.5,…
Voz bonita
  • 360
  • 2
  • 10
0
votes
1 answer

How to set tex1 output for all types of fractions in wxMaxima?

This question asked about setting the output of tex1 for a numerical fraction (i.e. x where ratnump(x) = true); however, this does not seem to cover all objects that are printed as a fraction, e.g. 1/x or diff(ln(x),x)). Following this answer, I…
Rax Adaam
  • 790
  • 3
  • 11
0
votes
1 answer

wxMaxima: simple / efficient method of printing content of multiple files so that it can be copied in one chunk?

I have been building a local library of .mac files, and calling them from a single .mac file containing a push of my local directory & then load's for each individual script. This works perfectly on my desktop; however, I also need to copy the full…
Rax Adaam
  • 790
  • 3
  • 11
0
votes
1 answer

Maxima: How to define built-in functions?

Is there a way to define built-in functions in Maxima? I have a function which I would like to use in several .wxm files without defining them in every file.
Sr. Schneider
  • 647
  • 10
  • 20