Ansi C one dimensional array

SoccerBoss
Category:
Programming
Price: $30 USD

Question description

Consider the loads F1  ,F2 , …………, FN and their locations  D,D2 , …………, Das elements of the arrays F and D. Feed all the elements FJ and DJ into the computer.

Note: Refer to figure as shown to obtain values for the elements FJ and D(J). An applied load FJ is to be considered positive if it acts toward the beam, negative if it acts away from the beam.

Write an Ansi C program to compute beam reaction (R) for each case using ONE DIMENSIONAL arrays and FUNCTION.

Definition of terms:

F1  ,F2 , …………, FN   Loads applied to the beam

D1  ,D2 , …………, DN   Location of applied loads

N  Maximum number of applied loads

R1  ,R2  Beam reactions at the simple supports

L1  ,L2      locations of the reactions R1 and R2 from the 

    reference 

use proper out-put formatting to display you output

Your logic must handle external file(s). Your output not only must have interactive output, but the output should be copied to external file.

Display all the external output.


Tutor Answer

(Top Tutor) Daniel C.
(997)
School: Duke University
PREMIUM TUTOR
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1825 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors