INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Fortran Programming... Help Please!!!!!

Fortran Programming... Help Please!!!!!

(OP)
Given two polynomials:
F1(x) = c1xn + c2xn-1 + ... + cnx + cn+1

F2(x) = β1xm + β2xm-1 + ... + βmx + βm+1


Write a fortran subroutine /function to add them, that is, F(x)= F1(x) + F2(x), when, n=m, n>m and n<m. Polynomials are added by adding the coefficients of the terms with the same exponent. Assume that the inputs to the subroutine/function are the vectors c=[c1 c2...cn cn+1] and β=[β1 β2...βm βm+1].

Check your script with the following data sets:
a) c = [43, 54, 55] and β = [77, 66, 88, 44, 33]
b) c = [11, 12, 13, 14] and β = [101, 102]; and
c) c = [1, 2, 3, 4] and β = [10, 20, 30, 40]

RE: Fortran Programming... Help Please!!!!!

What have you done so far and what are you stuck at?

RE: Fortran Programming... Help Please!!!!!

(OP)
I had my TA for this class try to break it down, but it just wasn't helping any of the class. I was hoping I'd find someone that can help me complete the assignment especially considering there is no office hours the remaining of the week.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close