Question: 1 . 1 4 Change the current directory to mynewdir. Then open an Edit / Debug Window and add the following lines: ? ? %
Change the current directory to mynewdir. Then open an EditDebug Window and add the following lines:
Create input array from
::
& calculate
;
& plot result
plot ;
Details
Statements added in the Edit Debug window. Line Create an input array from negative asterisk pi to asterisk pi Line negative asterisk pi colon pi colon asterisk pi semicolon. Line Blank. Line Calculate, pipe, s i n left parenthesis, tright parenthesis, pipe. Line x a b s left parenthesis, s i n left parenthesis, right parenthesis, right parenthesis, semicolon. Line Blank. Line Plot result. Line plot, left parenthesis, t comma, right parenthesis, semicolon.
Save the file with the name test and execute it by typing test in the Command Window. What happens?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
