Question: What is the wrong ? Write right answer please x-0.05; sum-0; for a' 0:158 Loop throught all values from 0 to 15 inclusive sclculate x
x-0.05; sum-0; for a'" 0:158 Loop throught all values from 0 to 15 inclusive sclculate x a, multiply it with factorial of a and store in temp temp (xa ) *factorial (a) Add it to sum sum+-temp; end send of for loop fprintf("%d ",sum);%finally, print the sum mmand Window ew to MATLAB? See resources for Getting Statted Undefined function or variable a Error in hw line 5) temp (x an factortal (a)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
