> Let . Verify that the following expressions have the values shown, by typing in the correct MATLAB commands.
|
Mathematical expression |
Answer |
MATLAB command/Tips |
![\frac{1}{ \sqrt{2 \Pi } }e^{- \frac{1}{2}x^{2}} \frac{1}{ \sqrt{2 \Pi } }e^{- \frac{1}{2}x^{2}}](https://lo.unisa.edu.au/filter/tex/pix.php/a60c286b5c45363447b82c3f46f22724.gif) |
0.1942 |
1/sqrt(2*pi)*exp(-0.5*1.2^2) |
![\frac{ \sqrt[3]{5+cos4x} }{\left|sin3x\right|} \frac{ \sqrt[3]{5+cos4x} }{\left|sin3x\right|}](https://lo.unisa.edu.au/filter/tex/pix.php/76f7bcf13027c3676731133cba500fb4.gif) |
3.8866 |
(5+cos(4*1.2))^(1/3)/abs(sin(3*1.2)) |
![\sin^{2}\left( \pi x\right) \sin^{2}\left( \pi x\right)](https://lo.unisa.edu.au/filter/tex/pix.php/f3073af63a8cb483020515b8f31122c9.gif) |
0.3455 |
Sets of brackets required: 1 |
![\frac{e^{ \sin x}}{ \sqrt{x^{2}+1} } \frac{e^{ \sin x}}{ \sqrt{x^{2}+1} }](https://lo.unisa.edu.au/filter/tex/pix.php/e0d72c44e136b3a0e24dbb5ebf150916.gif) |
1.6259 |
Sets of brackets required: 3 |
![x \arctan x- \frac{1}{2} \ln \left(1+x^{2}\right) x \arctan x- \frac{1}{2} \ln \left(1+x^{2}\right)](https://lo.unisa.edu.au/filter/tex/pix.php/f0bd84b0c32cfc6462a7361d0254a287.gif) |
0.6053 |
Note: you will need to look up the arctangent function in the MATLAB help files (click on Help at the top menu). Sets of brackets required: 3 |