acer

32333 Reputation

29 Badges

19 years, 322 days
Ontario, Canada

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are replies submitted by acer

@Adam Ledger Your last attachment is hardly (if at all) more useful than what came before.

It doesn't contain the data except as marked-up 2D Input, which is no better than the 2D Output on which I previously commented. And there is no attached data file (even zipped).

And you've omitted the portion of the data that contains the DataFields, which is what your piecewise conditional references! So, yet again, you have not provided anything to reproduce the problem or re-run the example.

You've posted nine separate messages in this thread and -- despite several requests -- given us little to work with concretely. Good luck.

@Christopher2222 

So far what you're describing is not a path or environment issue, and neither is it a problem with need for extra quoting of filenames.

The ssystem in the GUI is different from that in the GUI. Yet, if I call ffmpeg from the ssystem in the GUI then (even without any stderr redirection) I can get it to work.

It helps to use a sensible example. If I pass a suitable value for ffmpeg's loglevel option, and specify an output target, then it works ok for me so far. I had to read and understand parts of the ffmpeg manual.

As someone else mentioned, passing arguments to a shell script (in which there is additonal control to manage ssystem quirks, stderr, etc) looks like a decent idea. Logging to a file -- even temporarily -- might also make a few aspects more manageable.

 

@dharr Well, Code Edit Regions behave differently, eg. navigation and evaluation work differently.

So switching to CERs may not be acceptable to all, as a means of getting good visual cues on code editing.

I find that working fast and efficiently, with multiple execution groups, using keyboard only, is *much* more difficult with CERs instead.

@Adam Ledger If the extension you need isn't allowed explicitly then... notice that .zip is allowed.

You can zip anything else, no?

@Adam Ledger And the final results shown are different, in your last uploaded Document. Some instances involving "VAGRANTASP\\Adam" in the previous Document's output are no longer there.

But we cannot tell for sure what different effect has been made, because you still haven't bothered to upload a data file that contains a representative example that reproduces the problem.

@Carl Love Use of those mixes of options to solve -- as well as a further real option, which also sometimes has effects that are not documented -- is one of the things that Calculus1:-Roots tries internally (using environment variables to control those options).

But Calculus1:-Roots also does more, including some checks that solutions are valid. In the recent past some version's solve would sometimes emit too many results, some of which weren't actual solutions. The trig case was one of the offenders. It still happens now and then when using solve and trig equations, though less often.

In addition, the call to solve which you've given does not work for this particular example in Maple 2018 and earlier. But this example works using Calculus1:-Roots at least as far back as Maple 11.

This is why I consider Calculus1:-Roots to be still the best choice for this particular class of problem (univariate, trig involved, real root required, and not too complicated). I have examples where it still does better than solve, even with the user trying all the special options combinations. I have less examples of the opposite. (I've looked at many examples.)

I agree that RealDomain:-solve is often not the best choice. It tries to "solve over the reals", in a sometimes stricter sense than merely restricting final results to the reals. That's not so tenable or practical in Maple.

@Adam Ledger I am not sure that you understood my point. It seems to me that your output shows that the string in the imported data is actually "VAGRANTASP\\Adam" . It ought to be easy enough to make a few checks to see whether that is the case.

You could simply lprint the imported data (before any processing) and look.

And if it is the case, then your predicate ought to use that same string in its test. It looks like it is not doing so. It looks to me as if your original predicate is using a string that doesn't actually contain a backslash character.

I could be mistaken, as you've only shown awkward 2D Input (which is not helpful here, as it adds another layer of possible error). And you haven't bothered to upload the actual data, so we only get to see the pretty-printed output.

@Zeineb I already knew some ways to demonstrate that it's true, thanks. I was simply suggesting that you could consider it, if you were wary that I'd taken off the sqrt on this example.

It wasn't clear whether you wanted a programmatic means.

@zjervoj97 So, why didn't you supply those ranges as arguments to fsolve?

My Answer's last example already showed how you could supply a complex box as domain, and supplying real ranges is done similarly and even more easily. All you had to do was type in the ranges that you knew.

You didn't mention the restriction when you originally asked the question here.

Your question is broad and vague. It would help if your query was as specific as possible for your goal.

Are you thinking of examples that might involve generating functions (possibly accessible via gfun, rsolve, dsolve, etc)?

Put you followup queries on this example here, as Reply to the original Question.

Duplicate question threads on this will be flagged as such, and may be deleted.

@Thomas Dean Thank you, and sorry if I was harsh.

We all sometimes have difficulty imagining the mindset of others. I know I do. That is as true of us here as it is of the authors of the manuals.

@Thomas Dean  It's disappointing when people ask questions here and provide only the vaguest reference and snippet with even a proper example that shows what they're asking.

It would have been polite and useful if you'd simply provided your example up front.

What work have you done so far with this homework question? Where did you get stuck?

Put all your Fibonacci homework questions here. Don't post them in multiple threads, where they'll get flagged as duplicates for deletion.

Show what work you've done so far; this is not a homework-service.

First 184 185 186 187 188 189 190 Last Page 186 of 591