]> Examples

Examples

  1. Enter commands in the Command Window to do the following.
    1. Create a vector of x values from 0.1 to 0.6.
    2. Calculate values, a, b, c, and d, for each of the x terms with a coefficient. Hint: These must be element-wise operations for the input vector named x.
    3. Compute the final value of the formula.
    e(x)=1 1 (1+0.278393x+0.230389 x 2 +0.000972 x 3 +0.078108 x 4 ) 4 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadwgacaGGOaGaamiEaiaacMcacqGH9aqpcaaIXaGaeyOeI0YaaSaaaeaacaaIXaaabaGaaiikaiaaigdacqGHRaWkcaaIWaGaaiOlaiaaikdacaaI3aGaaGioaiaaiodacaaI5aGaaG4maiaadIhacqGHRaWkcaaIWaGaaiOlaiaaikdacaaIZaGaaGimaiaaiodacaaI4aGaaGyoaiaadIhadaahaaWcbeqaaiaaikdaaaGccqGHRaWkcaaIWaGaaiOlaiaaicdacaaIWaGaaGimaiaaiMdacaaI3aGaaGOmaiaadIhadaahaaWcbeqaaiaaiodaaaGccqGHRaWkcaaIWaGaaiOlaiaaicdacaaI3aGaaGioaiaaigdacaaIWaGaaGioaiaadIhadaahaaWcbeqaaiaaisdaaaGccaGGPaWaaWbaaSqabeaacaaI0aaaaaaaaaa@6175@

    Once, you have correctly computed the values, publish your solution code and results to HTML. Review the HTML results, add appropriate cell headers, comments, and make edits to your M-file and republish until you are satisfied with your HTML results for this problem.

    Enter the commands in the Command Window.
    Select the commands from the Command History.
    Right-click and save to M-File.
    commands in the history window and right-click save to m-file
    Add Cell headers.
    Add Cell comments.
    Include your name.
    with cell comments
    File -> Publish to HTML.
    Review results in a Web Browser.
    Print to handin final copy.
    HTML results