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
1
vote
0 answers

Maxima returns false when comparing two equal list elements

I'm trying to check if the increment from one number to the next is the same from the second to it's next and so on but found that it returns "false" when it should say "true". Here is what i found out after an hour of tinkering. Does anyone know…
1
vote
1 answer

Where can I find the Scilab balanc() function to calculate the similarity transform to program it in Maxima

I'm trying to program the z-transform in wxMaxima which doesn't have it programmed but not by definition but by using the Scilab approach. Scilab to calculate the z-transform first converts the transfer function to the state space, after that the…
vram
  • 85
  • 8
1
vote
0 answers

Incorrect Results from the Solve Command in Maxima

I am trying to solve a set of two equations for two complex variables in terms of the other terms. I put the two equations in a list and tried to solve for both the variables together, but this kept giving me incorrect results. However, if I can…
Nidish Narayanaa
  • 338
  • 3
  • 12
1
vote
1 answer

When copying and pasting the output of partial derivative of a function in Maxima, the pasted text stands instead for a total derivative

When I write the expression for the partial derivative of a function, diff(f(x_1,x_2),x_1,1), for a function f created with funmake(f,[x_1,x_2]), the returned output is However, when copying and pasting the output of the partial derivative, what I…
User1234321
  • 321
  • 1
  • 10
1
vote
0 answers

(wx)Maxima: enumerate lists so they start at 0?

Is it possible to change Maxima's default enumeration of list items so it starts at 0 as opposed to 1?
Rax Adaam
  • 790
  • 3
  • 11
1
vote
1 answer

(wx)Maxima: list factors of an integer

How can one return the factors of an integer in a list? e.g. list_factors(6); > [1,2,3,6]? Is something like this possible? I looked through the documentation but didn't find anything like this tied to "factor" or "prime".
Rax Adaam
  • 790
  • 3
  • 11
1
vote
0 answers

WxMaxima: how to plot functions defined on surfaces

Is it possible to plot with WxMaxima a function defined on a surface of R^3? The outcome I would like is to see the surface (say a sphere), colored according to the values that the function takes on it. Thanks in advance.
GG1
  • 11
  • 1
1
vote
1 answer

Plotting a Graph with EzUnits

I'm trying to plot a graph of the function Fh_1, but it looks like ezunits is causing problems. I can get results from it, when I enter x-values. But plotting isn't working, not even with dimensionally(). How can I get it to work? (%i2) kill(all);…
Dux
  • 101
  • 4
1
vote
1 answer

How to solve four unknown variables with four equations, but for more complicated input?

I'm trying to solve four unknown variables x_Trag, y_Trag, x_Zug, y_Zug with four equations eqx, eqy, Py_Trag, Py_Zug. Sadly only the easy testcase is working. Here's the Wxmaxima paste: (%i1) kill(all); load(ezunits); Warning: Can set maxima's…
Dux
  • 101
  • 4
1
vote
1 answer

Convert an expression to a function

If I have a named expression, how can I convert that to a function? Here's an example: argx: 2*x; f(x) := argx; I'd like then this to be equivalent to: f(x) := 2*x But I know somehow I have to force "unquoting" or something of argx
mpettis
  • 3,222
  • 4
  • 28
  • 35
1
vote
2 answers

WxMaxima solving Equation leads to complex numbers?

I'm trying to solve the equation "eq" for "mu". How do I tell maxima that I only want the positive result, is this the best way var : abs(mu), res;? But, my main problem is, that the results contains %i, where does that come from? Shouldn't it be…
Dux
  • 101
  • 4
1
vote
3 answers

Round-off to zero behavior in Maxima float coefficients

So I am working on a Maxima program that involves a bunch of iterations (the Souriau-Frame Drazin Inverse Algorithm, to be specific), each step of which yields a polynomial. I need to check and stop my iterations when the polynomial goes to zero…
Nidish Narayanaa
  • 338
  • 3
  • 12
1
vote
0 answers

Is there a way to solve this irrational equation in wxMaxima?

it seems that wxMaxima normally can't solve this simple irrational equation: 10=x-2*sqrt(x) Here's my input and output: (%i1) f1(x):= x-2*sqrt(x)$ (%i1) solve(f1(x)=10, x); (%o1) x=2sqrt(x)+10 I've also tried other ways of solving this but…
FEA-eng
  • 106
  • 6
1
vote
2 answers

get the expression out of solve results

Cosider the simple solution: sol: solve(b * x - a, x); a [x = -] b how can I get the expression part sol: a / b out of the above result? solution was offered to me here.
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193
1
vote
0 answers

(wx)Maxima: apply scalar function to all elements of a list

Currently, if I want to apply the transformation effected by a function of a single variables f to all values in a list, I use makelist, e.g. f(x):= x^2; aList: [1,2,3,4]; f_aList: makelist(f(aList[i]), i, length(aList)); I have to do this so often…
Rax Adaam
  • 790
  • 3
  • 11