matviiv10

10 Reputation

3 Badges

4 years, 210 days

MaplePrimes Activity


These are questions asked by matviiv10

restart;
N := 10;
h := 0.1e-1;
print(??); # input placeholder
r := 0.2e-1;
for n to 10 do xn := sin(h*n) end do;
print(`output redirected...`); # input placeholder
                         0.009999833334
                         0.01999866669
                         0.02999550020
                         0.03998933419
                         0.04997916927
                         0.05996400648
                         0.06994284734
                         0.07991469397
                         0.08987854920
                         0.09983341665


for m to 10 do ym := cos(r*m) end do;
print(`output redirected...`); # input placeholder
                          0.9998000067
                          0.9992001067
                          0.9982005399
                          0.9968017063
                          0.9950041653
                          0.9928086359
                          0.9902159962
                          0.9872272834
                          0.9838436928
                          0.9800665778
eq := sum(sin(xn)*ym^5*u(x) = y, x = 1 .. 10);
print(`output redirected...`); # input placeholder
0.09012228112 u(1) + 0.09012228112 u(2) + 0.09012228112 u(3)

   + 0.09012228112 u(4) + 0.09012228112 u(5) + 0.09012228112 u(6)

   + 0.09012228112 u(7) + 0.09012228112 u(8) + 0.09012228112 u(9)

   + 0.09012228112 u(10) = 10. y
 

I do not know what the mistake is, help to solve please

 

restart;
with(plots);
with(plottools);
k := disk([0, 0], 3, color = white)

k1 := polygon([[0, 0], [3, 4], [3, 1]])
display({k, k1});
Error, (in plots:-display) expecting plot structures but received: {k1}
 

Page 1 of 1