edmundac

5 Reputation

One Badge

7 years, 207 days

MaplePrimes Activity


These are replies submitted by edmundac

@Axel Vogt

The break statement functionality was updated in Maple 2022. See the current help page for break here.

There are actual code snippets in the built-in help page for break in Maple 2022, which I am able to successfully execute. 

@Preben Alsholm Yes, usually I'll run a restart after I change the code to update the results. I see what you mean about running it multiple times. It works when I run it on a new Maple start as well, but at some point it starts to define the matrices with the _rtable. 

On my system, after I run restart, I get the weird _rtableRandomNumbers as the assignment to the variable, not the matrix. I have to either restart Maple completely or add/remove a colon for the matrix to be assigned to the variable. My system is Windows 10 64-bit.

Prob2v2.mw
 

restart:

with(LinearAlgebra):

A := 12*10^(-4):

alpha := 10.5*10^(-6):

E := 207*10^9:

k := A*E*(Matrix(4, 4, {(1, 1) = C^2, (1, 2) = C*S, (1, 3) = -C^2, (1, 4) = -C*S, (2, 1) = C*S, (2, 2) = S^2, (2, 3) = -C*S, (2, 4) = -S^2, (3, 1) = -C^2, (3, 2) = -C*S, (3, 3) = C^2, (3, 4) = C*S, (4, 1) = -C*S, (4, 2) = -S^2, (4, 3) = C*S, (4, 4) = S^2}))/L

T__l := Matrix(2, 4, {(1, 1) = C, (1, 2) = S, (1, 3) = 0, (1, 4) = 0, (2, 1) = 0, (2, 2) = 0, (2, 3) = C, (2, 4) = S})

 

``


 

Download Prob2v2.mw

 

@tomleslie Sorry, didn't see that and this was my firat post.

Page 1 of 1