Carl Love

Carl Love

28150 Reputation

25 Badges

13 years, 352 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

@Remalisa Do you expect Xa, Xb, Ya, Yb (and we may as well include Xc and Yc) to be scalar variables, i.e., to have specific numeric values, rather than to be functions (of t)?

Let's describe the set of information that you have: 5 second-order ODEs with the same functional variable varphi(t), 6 presumably scalar variables, and only 1 initial condition varphi(0) = 0. Is that right?

@pooyan1990 How long does it run, roughly, before you get the error message? Less than a second? Several seconds? Several minutes?

Your initial condition is the most complicated that I've ever seen on a differential equation, and it's amazing that dsolve can solve it even when you give numeric values to those three symbols, because C and especially theta are still symbolic.

An assuming clause applies the assumptions only to the command to which it's attached. If instead you use an assume command, the assumptions will always be in effect. This may allow you to get a fully symbolic solution if you have enough time and memory. First free up as much memory as possible on your system. Make your first command after restart

assume(B/L__1 >= 2, B > 0, H > 0, L__1 > 0);

and keep everything else the same. I let the dsolve run until it consumed 6 Gig memory. If I'd let it run longer, maybe I would've gotten a solution.
 

@vv You are computing the the integral from -1 to 1, wheras the problem says 1 to -1. And how do you know that you're going along the bottom half? The integral is not independent of path: The integral clockwise around the unit circle is 4*I, not 0.

@mmcdara What you describe is the default behavior of Heaviside at 0; that default can be changed. According to ?Heaviside

  • When converting Heaviside to piecewise you may want to have the conversion performed taking Heaviside(0) = 1. For that purpose set the Environment Variable _EnvUseHeavisideAsUnitStep to true....

That variable declarations (such as local) can be given initial values is NOT an undocumented feature: It's documented in section 6.5 of the Programming Guide, which is available in the built-in help system. Indeed, you can also give an initial value to an export or a global or give a default value to a proc parameter using nearly identical syntax. 

 

Do you have some reason to believe that such a k exists?

I suspect that when your instructor gave you this assignment, there was a diagram showing what was meant by "the confined region." Is it something like this?

Hint: Each of the procedures list_to_set, set_to_list, PowerSet, and RandSet can be composed as a single arrow expression using only two neatly formatted lines, one for header and one for body, with no line exceeding half the width of the screen. I give this hint to express the simplicity of the exercises, not to encourage you to write it as short as possible. So, if it takes you 5 lines, fine; but if you find yourself not done at 20 lines, you're probably going about it wrong and should post your partial code and ask for help.

One implication of the above is that no local variables, no global variables, and no assignment statements are needed; however, if you want to use local variables and assignment statements, there's nothing wrong with that.

I'm sorry, but as a Moderator here I felt that I couldn't let such a shoddy[*1] piece of work remain as a Post, so I made it a Question. As such, some of its inaccuracies and misconceptions can be addressed with proper Answers.

[*1] It's shoddy in terms of English usage, Maple usage, layout, and mathematics.

@mehdi jafari Such a function is 1 - Heaviside(x).

@vv Thank you, VV. Part of the problem is that types and properties get conflated when they have the same name, as with rational, and is falls back to checking the type only. Certainly type(Pi + exp(1), rational) is correctly false.

Compare your sqrt(2) examples with 

simplify((cos(sqrt(2)) + I*sin(sqrt(2)))^infinity);
                                    undefined + undefined*I

@acer Thank you, Acer; that's a wealth of specific technical information.

I think that you'll need to define "min max algebra" or provide a link to a reference before you'll get an Answer. 

@acer Yes, of course, I meant that it was nearly impossible via the characteristic polynomial via the route in the OP's worksheet.

For this purpose, it would be nice to compute the dominant eigenvalues or singular values without needing to spend the effort to compute them all. Is there a way to facilitate that? 

@asmakhan What variable or quantity in your problem represents temperature? In other words, what variable do you want isoclines (isotherms) for? What are the ranges of the parameters that you want to consider?

First 248 249 250 251 252 253 254 Last Page 250 of 711