Problem: Place random numbers between 10 and 40 in a one dimensional array that has 10 members and calculate the function outputs values according to the following function and store it to a new array, then find which numbers gives the minimum result. OBJECT ORIENTED PROGRAMMING LESSON LABORATORY EXERCISE-3 Example: Array1: 10 20 Array2: Results 1000 80 Write your program using Java and copy your codes to a text file which has your name and surname. Then load it into UZEM under the provided link. 4x f(x) = x³ -2x 12 13 1728 2197 Result: 20 gives the minimum number. if x ≥ 20 and x ≤ 30 if x ≥ 10 and x < 20 if x > 30 13 2197 14 2744 16 4096 20 80 22 88 21 84
Problem: Place random numbers between 10 and 40 in a one dimensional array that has 10 members and calculate the function outputs values according to the following function and store it to a new array, then find which numbers gives the minimum result. OBJECT ORIENTED PROGRAMMING LESSON LABORATORY EXERCISE-3 Example: Array1: 10 20 Array2: Results 1000 80 Write your program using Java and copy your codes to a text file which has your name and surname. Then load it into UZEM under the provided link. 4x f(x) = x³ -2x 12 13 1728 2197 Result: 20 gives the minimum number. if x ≥ 20 and x ≤ 30 if x ≥ 10 and x < 20 if x > 30 13 2197 14 2744 16 4096 20 80 22 88 21 84
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 12PE
Related questions
Question
please fast
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT