moses

119 Reputation

8 Badges

16 years, 82 days

MaplePrimes Activity


These are questions asked by moses

Good Evening Everybody,

Would anybody show me how to subtract a scalar from each value in a list and output the results as list. Below is the problem am trying to solve, transforming the coordinate of the list to the origin (C.G). My goal is to output w =[ .....] and z = [.....]

 #msub(mi("x"),mi("coord")) := [0., 2., 8., 10., 5., 5., 7.5, 7.5, 2.5, 2.5, 

5.0, 5.0, 0]
#msub(mi("y"),mi("coord")) := [0., 10.0, 10.0, 0., 0., 2.0, 2.0, 3.0, 3.0,

Good Afternoon,

Would anybody be kind to help me with the attached file. I have created procedures to calculate the Area, center of gravity , section modulus and moment of inertia of a cross section.

I'm testing the worksheet with an existing example from a text book, and the results are as follows

Area = 75*in2

Zxxtop = 119.219*in3

Zxxbott = 133.245*in3

Ixx = 629.212*in4

Zyyleft = 88.583*in3

Zyyright = 88.583*in3

Iyy = 442.917*in4

xbar = 4.722*in

ybar = 5.0*in

Good Morning,

Would anybody in the community please help me  to trouble shoot the problem with fsolve not producing result.

Regards,

Good Morning Everyone,

Would anybody help me in the following if statement. What I would like is to compare the value of Az with the allowable, if it is less than allowable, I would like to print "O.K" , if not I would like toprint "N.G". In Maple I'm getting an error message, invalid terms in product. Please Help.

if (Az < 0.25*mm) then print "O.K" else print "N.G" end if;

 

<p>Good Morning Everybody,</p>
<p>I'm wondering what is wrong with the Maple code below, the worksheet works but Maple could not read L[1], L[2], L[3], and L[4] from the list param to give numerical solution. Would anyone be kind to tell me what is wrong with the code.</p>
<p>Regards,</p>
<p>restart:</p>
<p>n :=4</p>
<p> > n := 4;<br />
print(??); # input placeholder</p>
1 2 3 4 5 6 Page 3 of 6