Question: Task This assignment can be completed on odin.unomaha.edu or ist - cybrv . unomaha.edu or your own Linux installation. Please submit your scripts ( just

Task
This assignment can be completed on
odin.unomaha.edu or
ist-cybrv.unomaha.edu or your own Linux installation. Please submit your scripts (just scripts, please do not archive or compress them) to this Canvas assignment.
If you use odin, you will need to download the scripts to a computer that has a browser with Canvas. For downloading your scripts from odin to your local file system, use the command of "scp" on your local computer in the following way.
If using Mac or Linux open a terminal window on your computer. If you are using Windows, open a Powershell window on your compter.
Type the following in your local terminal window replacing the username, directory and file name to match your setup:
"scp
username@odin.unomaha.edu:/home/username/6-?.sh ./"
Complete assignment and upload your two scripts to Canvas.
Write a shell script "
6-1.sh" to calculate the exponentiation using a while loop. This script needs to take two inputs like , and outputs the only the result of ab. Note: You need to implement the operation using loops and basic math operations, DO NOT use the exponentiation arithmetic operation provided by bash.
Remember the following properties:
an=aadotsn times
0n=0
a0=1
an=1an=1a1adotsn times
00= undefined
0-n= undefined
or
an-={prodi=1naforn>01forn=0,a0prodi=n-11aforn0,a0undefinedforn0,a=0
See the rubric for the various input values that should be handled by your code.
2. Write a shell script "
6-2.sh" to calculate a number using the following algorithm and a while loop. This script needs to take one input like ./6-2.sh a , and outputs the result. Use the following properties:
01, otherwise
aa(a-a|a|)!
or
a!-={prodi=1aifora>01fora=0prodi=a-1ifora0
See the rubric for the various input values that should be handled by your code.
 Task This assignment can be completed on odin.unomaha.edu or ist-cybrv.unomaha.edu or

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!