Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Triangular number Series: A triangle number counts the objects that can form an equilateral triangle. The nth triangle number is the number of dots or

image text in transcribed
image text in transcribed
Triangular number Series: A triangle number counts the objects that can form an equilateral triangle. The nth triangle number is the number of dots or balls in a triangle with n dots on a side; it is the sum of the n natural numbers from 1 to n. - The formula for the nth triangular number can be expressed as: Tn=k=1nk=1+2+3++n=2n(n+1)=(n+12) - The first few triangular numbers are: 0,1,3,6,10,15, - Pictorially, the triangular numbers can be represented as below: Write a program that generates the triangular number series from the first term up until the nth term. In your program, the user will enter the n number, choose a large number! The sequence should be printed in the correct order. Regarding the number of threads/processes, try at least three different numbers (e.g.,2,4,8). Stage 2: Decision Time! Decide on using two parallelization tools from what you have studied throughout CS424 (i.e., the multithreading (Java OR OpenMP) AND message-passing (MPI) libraries). Stage 3: Deliverables. Solve the problem from Stagel using a sequential program and (two parallel programs) based on Stage2. Your solution should be delivered in a report that follows specific instructions as listed below. Report Instructions. The report should consist of the following sections: (1) Description of the problem and the sequential solution. (2) Two parallel algorithm designs. (3) Parallel codes. (4) Sample outputs (5) Performance evaluation in a comparison form (e.g., table). Submission Datelines. 1. Title and group members ( 3 students per group) by end of week 7 (Thursday 19/1/ 2023) 2. Description of the problem and the design of the parallel program by end of week 8 (Thursday 26/1/2023) 3. The complete report by week 10 (Sunday 5/2/2023 ). Assessment. Demonstration \& discussion during week 10. Grading Policy - Failing to submit on times specified above, it will result in 20% reduction (for each deadline) of your overall grade. - Failing to implement the system correctly and producing the correct output, it will result in 80% reduction of your overall grade. - If you do not follow the report instructions specified above, it will result in 20% reduction (for each point) of your overall grade. - Failing to answer the questions in the project discussion, it will result in 50% reduction of your overall grade

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems X Special Issue On Database And Expert Systems Applications Lncs 8220

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2013th Edition

3642412203, 978-3642412202

More Books

Students also viewed these Databases questions