Fy F= 40N 75 mm Fx 325 mm Figure 1 F = (4/5)F and F, = /5)F Total Moment at B = F,dy + (-F,)d, Where d, and dy, are the perpendicular distance in meter. In this example it is given that d, = 175mm and...


Fy<br>F= 40N<br>75 mm<br>Fx<br>325 mm<br>Figure 1<br>F = (4/5)F and<br>F, = /5)F<br>Total Moment at B = F,dy + (-F,)d,<br>Where d, and dy, are the perpendicular distance in meter. In this example it is given that<br>d, = 175mm and dy = 325 mm.<br>As a programmer it is your responsibility to write a code to solve for the total moment at B.<br>The requirement to find the total moment is as follows:<br>1) Please write a code using object-oriented programming to solve for the total<br>moment. (You can test your code using the data given above.)<br>2) Declare a class, Moment.<br>3) The user needs to enter the information for the d, and d,. Write a statement to ask<br>the user on the number of data that the user want to calculate the moment with<br>different n values of d, and dy.<br>4) Declare a constructor to initialize the input, decide which one of the inputs that you<br>want to use constructor for the initialization.<br>5) Print the output to the screen and a datafile name TotalMoment.txt<br>

Extracted text: Fy F= 40N 75 mm Fx 325 mm Figure 1 F = (4/5)F and F, = /5)F Total Moment at B = F,dy + (-F,)d, Where d, and dy, are the perpendicular distance in meter. In this example it is given that d, = 175mm and dy = 325 mm. As a programmer it is your responsibility to write a code to solve for the total moment at B. The requirement to find the total moment is as follows: 1) Please write a code using object-oriented programming to solve for the total moment. (You can test your code using the data given above.) 2) Declare a class, Moment. 3) The user needs to enter the information for the d, and d,. Write a statement to ask the user on the number of data that the user want to calculate the moment with different n values of d, and dy. 4) Declare a constructor to initialize the input, decide which one of the inputs that you want to use constructor for the initialization. 5) Print the output to the screen and a datafile name TotalMoment.txt

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here