MaPal93

90 Reputation

4 Badges

2 years, 342 days

MaplePrimes Activity


These are questions asked by MaPal93

I have a linear system of 3 equations in 3 variables and have no issues with solving it using solve().

I am having issues with solving it by imposing assumptions on my parameters. The infolevel[solve] now outputs "Entering solver with 6 equations in 3 variables", so I am likely making mistakes in the syntax solve(Eqs, Vars, UseAssumptions) assuming ... first of all, do I even need to do this given the assume statements that I set up on top of my script? How do I make sure that all the assumptions are preserved throughout all the calculations in my worksheet?

Moreover, I don't know why I get SolutionsLost: setting solutions lost flag.

My script: 061123_solving_with_assumptions.mw

I have a system of 3 (very large) nonlinear equations in 3 variables. Since I cannot feed non-algebraic expressions into polynomial solvers, I want to extract only their numerators (which should be algebraic) and solve the three numerators for the 3 variables. These solutions should also solve the non-algebraic system then. 

This is the original system (sorry I don't know why but I was not able to include the massive expression in the startup code): System.mw

I think I am not understanding the syntax. To extract the numerators, I am using ((numer@evala@:-Norm@numer)~@eval)(Eqs) (scroll down to the very bottom of my script):

  1. Am I wrong?
  2. What exactly am I doing with this combined command?
  3. Why length(((numer@evala@:-Norm@numer)~@eval)(Eqs)) is much larger than length(Eqs)? Shouldn't it be smaller since I just extract the numerators?

Thank you.

I am using this command: plotsetup(png, plotoutput = "titleofmylistofplots", plotoptions = "width=1920,height=1080")

in the execution block right before a sequence of split execution blocks, each made of plots:-display( seq( plot( [$ 20], series1of8[1..20,j], color=cols1[j]), j=1..3)); (I have 8 series: series1of8, series2of8, series3of8 and so on...)

When I open the output .png file, it only contains the last plot, that is the plot of series8of8. I want my file to contain all 8 plots. How to change the plotsetup() command accordingly?

Hi,

I have a data structure/plotting question. How do I plot the 3 lambdas (singleaxis) and the 6 betas (dualaxis) for 12 calibrations (1000 runs each)? All the details are in the script 230523_different-calibrations.mw. Thank you!

For the beta plots and subplots, please follow the dualaxis example output format at the bottom of my script for each of the 12 calibrations.

For the lambda plots, I'd like to combine a few of them as follows (each plot with lambda_1 subplot, lambda_2 subplot, and lambda_3 subplot - note that the lambda plot example at the bottom of the script is dualaxis but I just need singleaxis):

PLOT 1 (singleaxis): lambda_1, _2, _3 for ncal2 and ncal3 (superimposed, 2 data series for each subplot)

PLOT 2 (singleaxis):  lambda_1, _2, _3 for ncal7 and ncal8 (superimposed, 2 data series for each subplot)

PLOT 3 (singleaxis):  lambda_1, _2, _3 for ncal4, ncal5, ncal6 (superimposed, 3 data series for each subplot)

PLOT 4 (singleaxis):  lambda_1, _2, _3 for ncal9, ncal10, ncal11 (superimposed, 3 data series for each subplot)

I have access to a powerful GPU, a NVIDIA Tesla A100.

How to leverage it to solve my system of 3 nonlinear equations in 3 variables? Script: 160523_stylized_problem_GPU.mw

I don't think that it is just by adding the following two lines right before my solve() block, right?
CUDA:-Enable(true)
CUDA:-IsEnabled()

(https://www.maplesoft.com/products/maple/features/cuda.aspx)

I also read https://mcsr.olemiss.edu/docs/gpus-on-maple/ and https://www.mapleprimes.com/posts/36412-GPU-Programming-CUDA-OpenCL-And-Maple but it's still not clear to me. Thanks!

1 2 3 4 5 6 Page 3 of 6