moses

119 Reputation

8 Badges

15 years, 163 days

MaplePrimes Activity


These are replies submitted by moses

Hi Tim,

My goal is to calculate the distances between two points like

d := sqrt( (x2 - x1)^2 + (y2 - y1)^2), what I'm missing that is causing the error.

Regards

Moses

Good Afternoon Acer,

Here are the correct data and spelling. Please, how can I read the list x in the procedure to generate a list of values for AY. Kindly demonstate the approach.

x := [0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 7.5, 10.0, 12.5, 15.0, 17.5, 20.0, 22.5, 25.0, 30.0]*[ft]

T := 1.887*[m]

AY := proc(x, T)
             local Z, Ay, Ratio, beta;
                Ratio := simplify(evalf(x / T));
                Z := [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 3.0, 4.0, 5.0];
                Ay := [2.435, 2.273, 2.112, 1.952, 1.796, 1.644, 1.496, 1.353, 1.216, 1.086, 0.962, 0.738, 0.544, 0.381, 0.247, 0.142, -0.075, -0.050, -0.009];
                 beta := evalf[4](CurveFitting:-ArrayInterpolation(Z, Ay, Ratio));
         end proc;

Regards

Moses

Good Afternoon Acer,

Here are the correct data and spelling. Please, how can I read the list x in the procedure to generate a list of values for AY. Kindly demonstate the approach.

x := [0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 7.5, 10.0, 12.5, 15.0, 17.5, 20.0, 22.5, 25.0, 30.0]*[ft]

T := 1.887*[m]

AY := proc(x, T)
             local Z, Ay, Ratio, beta;
                Ratio := simplify(evalf(x / T));
                Z := [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 3.0, 4.0, 5.0];
                Ay := [2.435, 2.273, 2.112, 1.952, 1.796, 1.644, 1.496, 1.353, 1.216, 1.086, 0.962, 0.738, 0.544, 0.381, 0.247, 0.142, -0.075, -0.050, -0.009];
                 beta := evalf[4](CurveFitting:-ArrayInterpolation(Z, Ay, Ratio));
         end proc;

Regards

Moses

Good Afternoon,

 

Thank you for your help, I have modify the worksheek as per your comment and the procedure works.

My second question is not being answered. I have a variable   x := [0, 2.0, 4.0, 6.0, 10.0, 15.0, 20.0, 25.0, 30.0]*ft which is the different depth of pile below the ground surface, my question is how could I modify the procedure such that its take a list as a variable and then output a list of values for each A_y(x,T) and B_y(x, T).

Anybody, Please Help.

Regards,

Moses

View 11162_Action Of Vertical Pile Under Lateral Load_modify_conc.mw on MapleNet or Download 11162_Action Of Vertical Pile Under Lateral Load_modify_conc.mw
View file details

 

Good Afternoon,

 

Thank you for your help, I have modify the worksheek as per your comment and the procedure works.

My second question is not being answered. I have a variable   x := [0, 2.0, 4.0, 6.0, 10.0, 15.0, 20.0, 25.0, 30.0]*ft which is the different depth of pile below the ground surface, my question is how could I modify the procedure such that its take a list as a variable and then output a list of values for each A_y(x,T) and B_y(x, T).

Anybody, Please Help.

Regards,

Moses

View 11162_Action Of Vertical Pile Under Lateral Load_modify_conc.mw on MapleNet or Download 11162_Action Of Vertical Pile Under Lateral Load_modify_conc.mw
View file details

 

Thank you so much.

Regards,

Moses

Thank you so much.

Regards,

Moses

Gentlemen,

My special thanks to all of you for the discussion.

Regards,

Moses 

Gentlemen,

My special thanks to all of you for the discussion.

Regards,

Moses 

Good Afternoon Dr Israel,

Thanks for your help. The worksheet works as per your comments with the exception of the

xbar := sum(abs(x[i]) , i = 1..n_pile)

and

ybar := sum(abs(y[i]) , i = 1..n_pile)

Please see the attached file for the modified worksheet.

Regards,

Moses

View 11162_Pile Subjected To Moment_test.mw on MapleNet or Download 11162_Pile Subjected To Moment_test.mw
View file details

Good Afternoon Dr Israel,

Thanks for your help. The worksheet works as per your comments with the exception of the

xbar := sum(abs(x[i]) , i = 1..n_pile)

and

ybar := sum(abs(y[i]) , i = 1..n_pile)

Please see the attached file for the modified worksheet.

Regards,

Moses

View 11162_Pile Subjected To Moment_test.mw on MapleNet or Download 11162_Pile Subjected To Moment_test.mw
View file details

Good Morning Jakubi,

 

Thank you so much for your help. The worksheet is working fine, of course with your help.

Regards,

Good Morning Jakubi,

 

Thank you so much for your help. The worksheet is working fine, of course with your help.

Regards,

Good Morning  Jakubi,

 

Thank you so much for your help, I stiil have one problem in the output of inertia, the values of the list Lx, Ly and Lz coordinate would not substitute in the output, after making the changes as per your comments. Please see attached.

Regards,

View 11162_test.mw on MapleNet or Download 11162_test.mw
View file details

Good Morning  Jakubi,

 

Thank you so much for your help, I stiil have one problem in the output of inertia, the values of the list Lx, Ly and Lz coordinate would not substitute in the output, after making the changes as per your comments. Please see attached.

Regards,

View 11162_test.mw on MapleNet or Download 11162_test.mw
View file details

1 2 3 4 Page 3 of 4