The document shows the command and output of three different MATLAB commands used to solve the square root of 171/2. The commands are sqrt(), nthroot(), and sqrtm() and all return the same solution of 9.2466 when formatting the output to long.
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Please show the command and output of the three different commands- Wi.docx
1. Please show the command and output of the three different commands. Will rate thank you!
Use three different MATLAB commands to solve the following square root: c = 17 1/2
. Use
format long.
Solution
c = 171/2
sqrt(c)
X = [171/2]
nthroot(X,2)
A = (171/2)
sqrtm(A)
---output----------
sh-4.3$ octave -qf --no-window-system demo.m
octave: X11 DISPLAY environment variable not set
octave: disabling GUI features
warning: function ./demo.m shadows a core library function
c =Â Â 85.500
ans =Â Â 9.2466
X =Â Â 85.500
ans =Â Â 9.2466
A =Â Â 85.500
ans =Â Â 9.2466