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
2
votes
1 answer

Maxima collecting specific terms in an expression

I have an expression that actually can be expressed in simple form by collecting the specific terms. I have problem in Maxima to substitute or simplify the expression to the known terms. (%i1)…
Lele Mabur
  • 97
  • 7
2
votes
1 answer

Is there a way to force code to be run inside maxima block?

I am trying to evaluate some code inside a block in Maxima but it does not seem to be working. If I want have something of the form block( load("my_file.mac"), do_stuff ) it does not seem to load the file. I wanted to circumvent this problem by…
Misha
  • 21
  • 1
2
votes
1 answer

wxMaxima ezunits funny business

Is the handling of the units broken or what am I missing? load(ezunits); σ_N: 10000`N/(50`mm*10`mm); newts: 123`kg*m/s^3; newts `` N; newts + 321 `kg*m/s^2; produces not what one would have hoped for: (%i1) load(ezunits); (%o1) …
Dux
  • 101
  • 4
2
votes
1 answer

Simplification with letsimp in Maxima, what is going on?

Here is a simple session with maxima, in which im trying to make the simplification (r-r0)=h (%i1) ax: G*M*m*(r-r0)/r0^2 - G*M*m/r0 ; G M m (r - r0) G M m (%o1) -------------- - ----- …
user22866
  • 231
  • 4
  • 15
2
votes
1 answer

Coeficient Matrix with Maxima of taylor series

I am trying to get the coeficient matrix of the following taylor series expansion (%i47) SS: taylor( matrix( [sin(h)], [cos(t)] ) , [h,t], [h_0, t_0], 1 ); […
mkuse
  • 2,250
  • 4
  • 32
  • 61
2
votes
1 answer

Plotting a function in Maxima

I am trying to plot two functions (two differential equations) in Maxima using the wxdrawdf() function, my code is wrong because I get the following error when I try running it 2D graphic object not recognized, * The two functions I am trying to…
Daniel
  • 21
  • 1
2
votes
1 answer

debug mode : MACDOC;TRDEBG USAGE

I try to understand how to use the debug mode in wxmaxima. In the documentation is specified "See MACDOC;TRDEBG USAGE for more information. Consult GJC for more help". I can't find the reference to "MACDOC;TRDEBG USAGE" nor "GJC". Could you help me…
Antoine
  • 173
  • 1
  • 7
2
votes
1 answer

Vector substitution

I have a huge dynamic system in wxmaxima, and I need to do some vector substitution but it ends up just with some crazy results. This is what I need to do: forces:[ F1=[x1,y1,z1], …
daaan
  • 47
  • 5
2
votes
1 answer

Solve() and Assume() in Maxima

I'm trying to solve a trigonometric function assuming positive values of the independent variable. However seems like Maxima does not take into account such assumption for the solve routine. assume(t >0); solve(sin(t) = 0); The expected…
Marco Repetto
  • 336
  • 2
  • 15
1
vote
1 answer

need to reduce an expression in wxmaxima with complex numbers and units

I have this expression in WXMAXIMA: 100/(25.00079433726757*%i+20) How can i reduce to the form a + %i b? I tried rectform, float, polarform... Any of those functions seem to simplify that simple calculus. Just two numbers. Dont imagine how... Full…
1
vote
0 answers

Trouble Calculating Integral of Absolute Value of Polynomials using Maxima and abs_integrate

I am currently working on a Maxima script that is supposed to calculate the definite integral from -1 to 1 of the absolute value of any given polynomial 'p'. In my case, I've chosen 'p' to be 'x^3-1/4', but it could be any other…
nehemuel
  • 61
  • 1
  • 5
1
vote
1 answer

Where can I find documentation for table_form?

Motivation Maxima has a function to display a table. table_form (makelist (100*(1.05)^n, n, 0, 4)); But what if I want a two column table? For instance, it would be nice to show n from the above equation. table_form (makelist (n,n,0,4), makelist…
dotnetCarpenter
  • 10,019
  • 6
  • 32
  • 54
1
vote
1 answer

Solving Trigonometric Equations in wxMaxima

I am new in wxmaxima and i try to learn how can i solve trigonometric equations. Can you help me with the sample program ? for example Sin(X)+Cos(Y) = sqrt(3) Sin(X)*Cos(Y) = 3/4 How can i get X,Y [0,2*pi] ?
1
vote
2 answers

I'm try to send object in maui to function with XAML and RealCommand when i used in Binding

I'm trying to insert text into Entry and when I try to run this code I get an error message: "System.ArgumentException: 'Parameter "parameter" (object) cannot be of type Pension.ViewsModels.MainViewModel, as the command type requires an argument of…
1
vote
1 answer

How to I assign the output of a function to a variable in Maxima?

I have the following script: (%i45) g(x):=(2*x^4-5*x^3+4); (%o45) g(x):=2*x^4-5*x^3+4 (%i46) dg(x):= diff(g(x), x); (%o46) dg(x):='diff(g(x),x,1) (%i49) a: find_root(dg(x), x, 1, 5); (a) 1.875 (%i55) g(a); (%o55) -4.23974609375 (%i54) b:…
Duncan Marshall
  • 530
  • 1
  • 6
  • 15
1 2
3
10 11