Question

1. (30 Points) Write a MATLAB program that displays The multiplication of 10 multiplied by integers of 1 through 15. Display3. (35 Points) Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and

0 0
Add a comment Improve this question Transcribed image text
Answer #1

\color{blue}\underline{1:}

for i=1:15
    fprintf("The multiplication of 10*%d=%.2f\n", i, 10*i)
end

The multiplication of 10*1=10.00 The multiplication of 10*2=20.00, The multiplication of 10*3=30.00 The multiplication of 10*

as per guidelines we are only allowed to answer first question Please make new post for remaining questions Thanks

Add a comment
Know the answer?
Add Answer to:
1. (30 Points) Write a MATLAB program that displays "The multiplication of 10 multiplied by integers...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write a program that displays as many integers in the Fibonacci sequence as the user wishes...

    Write a program that displays as many integers in the Fibonacci sequence as the user wishes to see. The user must be prompted for: • the starting two integers in the sequence • the number of integers to display in the series The resulting series must be printed to the screen. You must use some form of repetition to accomplish this (a loop). You must also use functions (in addition to main) C PROGRAMMING

  • MIPS CODE required to write an assembly program to find the maximum of an array of integers by...

    required to write an assembly program to find the maximum of anarray of integers by doing the following:1. Prompt user to input array size n (n <= 10)2. Prompt user to input element values of array A one by one3. Display the result on the console.This program must at least include one function. The main program will read the valuesof the array (as user inputs the element values) and stores them in the memory (datasegments section) and at the end...

  • In C++ The Multiplication Program Step 1: Write a program that stores a multiplication table in...

    In C++ The Multiplication Program Step 1: Write a program that stores a multiplication table in a 9-by-9 two-dimensional array. Generate the multiplication table with two loops. (So you will have a nested loop that will iterate 9 times and fill the 9x9 array with the values.) Step 2: Display the table for the user to see it. a 9x9 table Step 3: Create a function that returns the product of two numbers between 1 and 9by looking up the...

  • Write a C++ program that reads in a list of integers, separated by a space, into...

    Write a C++ program that reads in a list of integers, separated by a space, into an array of size N. The last number is -1 but should not be added to the array. The number of integers will be < N. Then output only those numbers, one per line, that are prime, perfect, the sum of a prime or perfect number, or a member of the well-known Fibonacci sequence.

  • Using Matlab Prompt the user for a number between 1 and 20. integers. Fill up each...

    Using Matlab Prompt the user for a number between 1 and 20. integers. Fill up each slot of the array with a random number from 1 to 100. Then display the contents of the array on the screen. You must use a loop. 7. Create an array that holds this number of

  • Write a program which: Prints out the Multiplication Table for a range of numbers (positive integers)....

    Write a program which: Prints out the Multiplication Table for a range of numbers (positive integers). Prompts the user for a starting number: say 'x' Prompts the user for an ending number: say 'y' Prints out the multiplication table of 'x' up to the number 'y' Sample outputs include:    SPECIFIC REQUIREMENTS You must use the following method to load the array: public static void loadArray(int table[ ][ ], int x, int y) You must use the following method to...

  • Assembly Language////Write a program that read in 10 integers from the user. Save the numbers into...

    Assembly Language////Write a program that read in 10 integers from the user. Save the numbers into an array; reverse the array and display the reversed array. .data arrayInt DWORD 10 DUP(?) Your program consists of 4 procedures: 1. main procedure: call procedures getInput, reverseArray, displayArray 2. getInput procedure: prompt user to enter 10 integer numbers, save the numbers into the memory for the arrayInt 3. reverseArray: reverse arrayInt 4. displayArray: display the reversed array

  • In Java Write a program that reads an arbitrary number of 25 integers that are positive...

    In Java Write a program that reads an arbitrary number of 25 integers that are positive and even. The program will ask the user to re-enter an integer if the user inputs a number that is odd or negative or zero. The inputted integers must then be stored in a two dimensional array of size 5 x 5. Please create 3 methods: 1. Write a method public static int sum2DArray( int [1] inputArray ) The method sums up all elements...

  • Write a program which: 1. Prints out the Multiplication Table for a range of numbers (positive...

    Write a program which: 1. Prints out the Multiplication Table for a range of numbers (positive integers). • Prompts the user for a starting number: say 'x' • Prompts the user for an ending number: say 'y' • Prints out the multiplication table of 'x' up to the number 'y' SPECIFIC REQUIREMENTS 1. You must use the following method to load the array: public static void loadArray(int table[][], int x, int y) 2. You must use the following method to...

  • Write a MATLAB code to compute the summation of the integers from 1 to 1000 by...

    Write a MATLAB code to compute the summation of the integers from 1 to 1000 by using for-end loop command. Your code should display the value of the summation within the following statement (using fprintf command): The value of the summation of the integers from 1 to 1000 is ???.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT