
{"id":69,"date":"2014-11-13T21:21:12","date_gmt":"2014-11-13T21:21:12","guid":{"rendered":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/?page_id=69"},"modified":"2014-11-13T21:21:12","modified_gmt":"2014-11-13T21:21:12","slug":"maple-example","status":"publish","type":"page","link":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/teaching\/finn-6203-financial-economic-theory\/maple-example\/","title":{"rendered":"Maple Example"},"content":{"rendered":"<p>maple_ex.html<!-- Created by Maple 9.00, IBM INTEL NT --> <a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">with(linalg);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"left\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex1.gif\" alt=\"[BlockDiagonal, GramSchmidt, JordanBlock, LUdecomp, QRdecomp, Wronskian, addcol, addrow, adj, adjoint, angle, augment, backsub, band, basis, bezout, blockmatrix, charmat, charpoly, cholesky, col, coldi...\" width=\"1214\" height=\"21\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex2.gif\" alt=\"[BlockDiagonal, GramSchmidt, JordanBlock, LUdecomp, QRdecomp, Wronskian, addcol, addrow, adj, adjoint, angle, augment, backsub, band, basis, bezout, blockmatrix, charmat, charpoly, cholesky, col, coldi...\" width=\"1181\" height=\"21\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex3.gif\" alt=\"[BlockDiagonal, GramSchmidt, JordanBlock, LUdecomp, QRdecomp, Wronskian, addcol, addrow, adj, adjoint, angle, augment, backsub, band, basis, bezout, blockmatrix, charmat, charpoly, cholesky, col, coldi...\" width=\"1200\" height=\"21\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex4.gif\" alt=\"[BlockDiagonal, GramSchmidt, JordanBlock, LUdecomp, QRdecomp, Wronskian, addcol, addrow, adj, adjoint, angle, augment, backsub, band, basis, bezout, blockmatrix, charmat, charpoly, cholesky, col, coldi...\" width=\"1181\" height=\"21\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex5.gif\" alt=\"[BlockDiagonal, GramSchmidt, JordanBlock, LUdecomp, QRdecomp, Wronskian, addcol, addrow, adj, adjoint, angle, augment, backsub, band, basis, bezout, blockmatrix, charmat, charpoly, cholesky, col, coldi...\" width=\"1179\" height=\"21\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex6.gif\" alt=\"[BlockDiagonal, GramSchmidt, JordanBlock, LUdecomp, QRdecomp, Wronskian, addcol, addrow, adj, adjoint, angle, augment, backsub, band, basis, bezout, blockmatrix, charmat, charpoly, cholesky, col, coldi...\" width=\"1223\" height=\"21\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex7.gif\" alt=\"[BlockDiagonal, GramSchmidt, JordanBlock, LUdecomp, QRdecomp, Wronskian, addcol, addrow, adj, adjoint, angle, augment, backsub, band, basis, bezout, blockmatrix, charmat, charpoly, cholesky, col, coldi...\" width=\"575\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">M:=matrix(3,4,[60,50,53,28,110,120,127,59,30,30,30,15]);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex8.gif\" alt=\"M := matrix([[60, 50, 53, 28], [110, 120, 127, 59], [30, 30, 30, 15]])\" width=\"214\" height=\"83\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">gausselim(M);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex9.gif\" alt=\"matrix([[60, 50, 53, 28], [0, 5, 7\/2, 1], [0, 0, 10, 2]])\" width=\"174\" height=\"109\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">gaussjord(M);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex10.gif\" alt=\"matrix([[1, 0, 0, 6\/25], [0, 1, 0, 3\/50], [0, 0, 1, 1\/5]])\" width=\"243\" height=\"161\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">P:=Vector[row]([5\/10,1\/10,4\/10]);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex11.gif\" alt=\"P := Vector(%id = 27714064)\" width=\"119\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">m:=[(6\/25)\/P[1],(3\/50)\/P[2],(1\/5)\/P[3]];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex12.gif\" alt=\"m := [12\/25, 3\/5, 1\/2]\" width=\"121\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">R1:=Vector[row]([M[1,1]\/M[1,4],M[1,2]\/M[1,4],M[1,3]\/M[1,4]]);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex13.gif\" alt=\"R1 := Vector(%id = 27714144)\" width=\"146\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">R2:=Vector[row]([M[2,1]\/M[2,4],M[2,2]\/M[2,4],M[2,3]\/M[2,4]]);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex14.gif\" alt=\"R2 := Vector(%id = 27714184)\" width=\"173\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">R3:=Vector[row]([M[3,1]\/M[3,4],M[3,2]\/M[3,4],M[3,3]\/M[3,4]]);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex15.gif\" alt=\"R3 := Vector(%id = 27714264)\" width=\"115\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">ER1:=dotprod(R1,P);#E(R1)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex16.gif\" alt=\"ER1 := 281\/140\" width=\"95\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex17.gif\" alt=\"2.007142857\" width=\"110\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">ER2:=dotprod(R2,P);#E(R2)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex18.gif\" alt=\"ER2 := 589\/295\" width=\"95\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex19.gif\" alt=\"1.996610169\" width=\"110\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dotprod(R3,P);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex20.gif\" alt=\"2\" width=\"25\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">s1:=sqrt(P[1]*(R1[1]-ER1)^2+(P[2])*(R1[2]-ER1)^2+(P[3])*(R1[3]-ER1)^2);#stdev(R1)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex21.gif\" alt=\"s1 := 1\/140*379^(1\/2)\" width=\"100\" height=\"50\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex22.gif\" alt=\".1390565881\" width=\"119\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">s2:=sqrt(P[1]*(R2[1]-ER2)^2+(P[2])*(R2[2]-ER2)^2+(P[3])*(R2[3]-ER2)^2);#stdev(R2)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex23.gif\" alt=\"s2 := 1\/295*1619^(1\/2)\" width=\"109\" height=\"50\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex24.gif\" alt=\".1363959291\" width=\"119\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">R1R2:=[R1[1]*R2[1],R1[2]*R2[2],R1[3]*R2[3]];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex25.gif\" alt=\"R1R2 := [1650\/413, 1500\/413, 6731\/1652]\" width=\"219\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">ER1R2:=dotprod(R1R2,P);#E(R1R2)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex26.gif\" alt=\"ER1R2 := 16481\/4130\" width=\"132\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">(ER1R2-ER1*ER2)\/(s1*s2);#rho(R1,R2)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex27.gif\" alt=\"-699\/613601*379^(1\/2)*1619^(1\/2)\" width=\"159\" height=\"50\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex28.gif\" alt=\"-.8923477772\" width=\"125\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">mR1:=[m[1]*R1[1],m[2]*R1[2],m[3]*R1[3]];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex29.gif\" alt=\"mR1 := [36\/35, 15\/14, 53\/56]\" width=\"158\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dotprod(mR1,P);#check that E(mR1)=1<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex30.gif\" alt=\"1\" width=\"25\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">mR2:=[m[1]*R2[1],m[2]*R2[2],m[3]*R2[3]];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex31.gif\" alt=\"mR2 := [264\/295, 72\/59, 127\/118]\" width=\"176\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dotprod(mR2,P); #check that E(mR2)=1<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex32.gif\" alt=\"1\" width=\"25\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">Em:=dotprod(m,P); #E(m)=1\/Rf<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex33.gif\" alt=\"Em := 1\/2\" width=\"70\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">sm:=sqrt(P[1]*(m[1]-Em)^2+P[2]*(m[2]-Em)^2+P[3]*(m[3]-Em)^2);#stdev(m)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex34.gif\" alt=\"sm := 1\/50*3^(1\/2)\" width=\"85\" height=\"50\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex35.gif\" alt=\".3464101616e-1\" width=\"128\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">(1-Em*ER1)\/(sm*s1);#rho(m,R1)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex36.gif\" alt=\"-25\/1137*3^(1\/2)*379^(1\/2)\" width=\"123\" height=\"50\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex37.gif\" alt=\"-.7414122825\" width=\"125\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">(1-Em*ER2)\/(sm*s2);#rho(m,R2)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex38.gif\" alt=\"25\/4857*3^(1\/2)*1619^(1\/2)\" width=\"119\" height=\"50\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex39.gif\" alt=\".3587203024\" width=\"119\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">yu:=1\/Em+sm\/Em*x;#upper part of MV frontier yu=Rf+sigma(m)\/E(m)*x<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex40.gif\" alt=\"yu := 2+1\/25*3^(1\/2)*x\" width=\"121\" height=\"50\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">yl:=1\/Em-sm\/Em*x;#lower part of MV frontier yl=Rf-sigma(m)\/E(m)*x<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex41.gif\" alt=\"yl := 2-1\/25*3^(1\/2)*x\" width=\"117\" height=\"50\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">Ex:=ER1*w+(1-w)*ER2;#E(Rp), Rp=wR1+(1-w)R2<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex42.gif\" alt=\"Ex := 87\/8260*w+589\/295\" width=\"141\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">sigma:=sqrt(w^2*s1^2+(1-w)^2*s2^2+2*w*(1-w)*(ER1R2-ER1*ER2));#stdev(Rp)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex43.gif\" alt=\"sigma := 1\/8260*(4898091*w^2+1269296-4848088*w)^(1\/2)\" width=\"335\" height=\"59\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">plot([[x,yu(x),x=0..0.2],[x,yl(x),x=0..0.2],[sigma(w),Ex(w),w=0..1]],color=[red,red,blue]);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex44.gif\" alt=\"[Maple Plot]\" width=\"447\" height=\"447\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">msq:=[(12\/25)^2, (3\/5)^2, (1\/2)^2];#calculate m^2<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex45.gif\" alt=\"msq := [144\/625, 9\/25, 1\/4]\" width=\"155\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dotprod(msq,P);#E(m^2)<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex46.gif\" alt=\"157\/625\" width=\"43\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex47.gif\" alt=\".2512000000\" width=\"119\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">moverEmsq:=625\/157*[12\/25, 3\/5, 1\/2];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex48.gif\" alt=\"moverEmsq := [300\/157, 375\/157, 625\/314]\" width=\"236\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dotprod(moverEmsq,P);#E(m\/E(m^2))<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex49.gif\" alt=\"625\/314\" width=\"43\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex50.gif\" alt=\"1.990445860\" width=\"110\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">mxmoverEmsq:=[m[1]*moverEmsq[1],m[2]*moverEmsq[2],m[3]*moverEmsq[3]];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex51.gif\" alt=\"mxmoverEmsq := [144\/157, 225\/157, 625\/628]\" width=\"256\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dotprod(mxmoverEmsq,P);#check E(m*m\/E(m^2))=1<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex52.gif\" alt=\"1\" width=\"25\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">v1:=[1,0,-6\/5];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex53.gif\" alt=\"v1 := [1, 0, -6\/5]\" width=\"123\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">u2:=[1,-4,0];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex54.gif\" alt=\"u2 := [1, -4, 0]\" width=\"120\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">v1u2:=[1,0,0];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex55.gif\" alt=\"v1u2 := [1, 0, 0]\" width=\"131\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">v1sq := [1, 0, 36\/25];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex56.gif\" alt=\"v1sq := [1, 0, 36\/25]\" width=\"142\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">v2 := u2-dotprod(v1u2, P)*v1\/dotprod(v1sq, P);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex57.gif\" alt=\"v2 := [144\/269, -4, 150\/269]\" width=\"159\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">v1v2 := [144\/269, -4*0, -6\/5*150\/269];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex58.gif\" alt=\"v1v2 := [144\/269, 0, -180\/269]\" width=\"176\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dotprod(P, v1v2);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex59.gif\" alt=\"0\" width=\"25\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">v2sq := [20736\/72361, 16, 22500\/72361];<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex60.gif\" alt=\"v2sq := [20736\/72361, 16, 22500\/72361]\" width=\"214\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">Restar := dotprod(P, v1)*v1\/dotprod(P, v1sq)+dotprod(P, v2)*v2\/dotprod(P, v2sq);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex61.gif\" alt=\"Restar := [7\/157, -61\/314, 3\/628]\" width=\"200\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">plot3d(-1\/4*x2-5\/6*x3, x2 = (-10 .. 10), x3 = (-10 .. 10),axes=NORMAL);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex62.gif\" alt=\"[Maple Plot]\" width=\"447\" height=\"447\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">[2, 2, 2] = moverEmsq+ga*Restar;<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex63.gif\" alt=\"[2, 2, 2] = [300\/157, 375\/157, 625\/314]+ga*[7\/157, -61\/314, 3\/628]\" width=\"359\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">g := (2-300\/157)\/(7\/157);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex64.gif\" alt=\"g := 2\" width=\"57\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">(2-375\/157)\/(-61\/314);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex65.gif\" alt=\"2\" width=\"25\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">(2-625\/314)\/(3\/628);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex66.gif\" alt=\"2\" width=\"25\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dst:=diff(sigma,w);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex67.gif\" alt=\"dst := 1\/16520\/(4898091*w^2+1269296-4848088*w)^(1\/2)*(9796182*w-4848088)\" width=\"395\" height=\"59\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dE:=diff(Ex,w);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex68.gif\" alt=\"dE := 87\/8260\" width=\"94\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">dEoverdst := proc (w) options operator, arrow; 174*sqrt(4898091*w^2+1269296-4848088*w)\/(9796182*w-4848088) end proc;<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex69.gif\" alt=\"dEoverdst := proc (w) options operator, arrow; 174*sqrt(4898091*w^2+1269296-4848088*w)\/(9796182*w-4848088) end proc\" width=\"464\" height=\"59\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">plot({dEoverdst(w),sqrt(3)\/25},w=.5..1);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex70.gif\" alt=\"[Maple Plot]\" width=\"447\" height=\"447\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">solve(dEoverdst(w)=sqrt(3)\/25);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex71.gif\" alt=\"161\/279\" width=\"43\" height=\"47\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; \u00a0\u00a0<\/tt><\/td>\n<td valign=\"top\" width=\"100%\"><b><span style=\"color: #ff0000\">evalf(%);<\/span><\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/images\/maple_ex72.gif\" alt=\".5770609319\" width=\"119\" height=\"21\" \/><\/p>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\"><tt>&gt; <\/tt><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a name=\"MapleAutoBookmark1\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>maple_ex.html &gt; \u00a0\u00a0 with(linalg); &gt; \u00a0\u00a0 M:=matrix(3,4,[60,50,53,28,110,120,127,59,30,30,30,15]); &gt; \u00a0\u00a0 gausselim(M); &gt; \u00a0\u00a0 gaussjord(M); &gt; \u00a0\u00a0 P:=Vector[row]([5\/10,1\/10,4\/10]); &gt; \u00a0\u00a0 m:=[(6\/25)\/P[1],(3\/50)\/P[2],(1\/5)\/P[3]]; &gt; \u00a0\u00a0 R1:=Vector[row]([M[1,1]\/M[1,4],M[1,2]\/M[1,4],M[1,3]\/M[1,4]]); &gt; \u00a0\u00a0 R2:=Vector[row]([M[2,1]\/M[2,4],M[2,2]\/M[2,4],M[2,3]\/M[2,4]]); &gt; \u00a0\u00a0 R3:=Vector[row]([M[3,1]\/M[3,4],M[3,2]\/M[3,4],M[3,3]\/M[3,4]]); &gt; \u00a0\u00a0 ER1:=dotprod(R1,P);#E(R1) &gt; \u00a0\u00a0 evalf(%); &gt; \u00a0\u00a0 ER2:=dotprod(R2,P);#E(R2) &gt; \u00a0\u00a0 evalf(%); &gt; \u00a0\u00a0 dotprod(R3,P); &gt; \u00a0\u00a0 s1:=sqrt(P[1]*(R1[1]-ER1)^2+(P[2])*(R1[2]-ER1)^2+(P[3])*(R1[3]-ER1)^2);#stdev(R1) &gt; \u00a0\u00a0 evalf(%); &gt; \u00a0\u00a0 s2:=sqrt(P[1]*(R2[1]-ER2)^2+(P[2])*(R2[2]-ER2)^2+(P[3])*(R2[3]-ER2)^2);#stdev(R2) &gt; \u00a0\u00a0 evalf(%); [&hellip;]<\/p>\n","protected":false},"author":824,"featured_media":0,"parent":60,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-69","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/wp-json\/wp\/v2\/pages\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/wp-json\/wp\/v2\/users\/824"}],"replies":[{"embeddable":true,"href":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":1,"href":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/wp-json\/wp\/v2\/pages\/69\/revisions"}],"predecessor-version":[{"id":70,"href":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/wp-json\/wp\/v2\/pages\/69\/revisions\/70"}],"up":[{"embeddable":true,"href":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/wp-json\/wp\/v2\/pages\/60"}],"wp:attachment":[{"href":"http:\/\/belkcollegeofbusiness.charlotte.edu\/spclark\/wp-json\/wp\/v2\/media?parent=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}