Carl Love

Carl Love

28035 Reputation

25 Badges

12 years, 320 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

@mmcdara Well, maybe that's what they want, with the addition that the initial conditions have consistently been given as x(0)=10, D(x)(0)=0. But the first statement of the problem has as the coefficient of the 2nd derivative and now it's been changed to LC. All that I need to know is which of those two is correct.

@glcrawfo Okay then, all I need is for you tell me why you switched R to LC and to RC

@glcrawfo You have many, many typos. First answer my question about RC and LC. Once you do that I can finish the problem, and I'll post a worksheet done in plaintext Maple Input. 2D Input is crap, which is not your fault, because Maple stupidly made it the default input mode.

@glcrawfo Why have you changed the ODE so fhat the coefficient of the 2nd derivative is L*C when it used to be R and that of the 1st derivative is R*C when it used to be L? Which version is correct?

It will be much easier for me to explain the rest of your numerous typos to you if you switch your entry style to Maple Input. It's currently 2D Input. You could simply open the worksheet that I attached to a previous Answer. It's written in Maple Input (all the input code is reddish-brown bold monospaced characters). Let me know if you can do that. 

@glcrawfo Are you sure that there's supposed to be an x(t) on the right side on the ODE? That's not what you had at first, and it's not the standard way that ODEs are written, (although it's still mathenatically valid). So, it seems strange.

@glcrawfo Okay, that's better; I'm begining to understand. Should "(-1) and n" actually be "(-1) to the nth power", which is denoted in Maple (-1)^n?

I told you before that your piecewise function makes no sense, and you haven't changed it! It doesn't even have balanced parentheses! I understand the rest of the problem fine. A piecewise function (for this context) has alternating inequalities and algebraic expressions. You just have a single algebraic expression inside piecewise(...); you have no inequalities.

Do not post this as a new Question! If you do it again, I'll delete it. Edit this version instead.

@Oliveira Are you saying that when you solved this in Maple, you only got the middle piece of the piecewise, as shown by the plaintext result in your Question?

Please re-enter the problem. The piecewise part makes no sense to me. I don't think that you've accurately transcribed what your professor wrote.

@glcrawfo See the Answer that I just posted below.

I deleted the Question where you asked essentially the same question as this but tried to put the whole problem in the title box. Please keep titles somewhat general and word-based and put specifics like actual equations in the main body box.

I am not familiar with the term "component graph". Can you define it? I can certainly show you how to plot x(t) over 0 <= t <= 5, or any other interval.

@mmcdara Yes, the error you got is a version issue. You'll need to change TRX1 from

(n::posint)-> add(GG(TRS(X), TRS(Y)), 1..n)

to

proc(n::posint) local k; add(GG(TRS(X), TRS(Y)), k= 1..n) end proc

@mmcdara The binary-infix-operator precedence of = is higher than that of ->, so 

':-Mean'= ()-> 1/Pi 

is equivalent to

(':-Mean'= ())-> 1/Pi,

which is nonsense. Hence, Acer's parentheses. See ?operators,precedence.

@syhue Ah, you're using Maple's 2-D Input (which is total garbage, for reasons such as you're about to see). In that case, use

C &\^ d mod n

The backslash will not appear as you type it. It's an escape character that tells it that the ^ is attached to the & and it's not meant to perform its usual 2-D Input function, which is superscripting. If you switch to 1-D input (aka Maple Input), which is what I always use, then just enter what I said before

C &^ d mod n

In other words, don't use backslash in this context in 1-D input.

To avoid the risk of numeric overflow, you should do this for all modular exponentiation (unless the exponent is -1). So, do

C:= M &^ e mod n

also, even though e is fairly small in this case.

@acer Is it possible to use Statistics:-Specialize to achieve the goal that I stated in the first paragraph of my Reply above? That is, the creation of custom parametrized Distributions that can be used exactly like the stock parametrized distributions? If so, then that's the way to do it.

First 258 259 260 261 262 263 264 Last Page 260 of 708