Question: Write a program in mips assembly language that is a math library. Have a menu presentation for the user, where the first option is to

Write a program in mips assembly language that is a math library. Have a menu presentation for the user, where the first option is to square root the user's input. Second option is to raise the input to a selected power (the user enters the number, and the number in which to raise it to x power). Thirs option is to do a logarithmic calculation. Fourth option is to do an "e" calculation where the user inputs a number and the value e (e = 2.718) is raised to the users input.

Make a function for each of the options that will perform each of its own calculations. The numbers must be decimal (either floats or doubles)

Example output:

Option 1.) Square root

Option 2.) Exponential math

Option 3.) Logarithmic Your choice (1 - 3):

Note: The numbers must be decimal numbers (either floats or doubles).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!