MaplePrimes - Questions and Posts tagged with homework
http://www.mapleprimes.com/tags/homework
en-us2016 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemThu, 11 Feb 2016 21:14:18 GMTThu, 11 Feb 2016 21:14:18 GMTThe most recent questions and posts on MaplePrimes tagged with homeworkhttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Questions and Posts tagged with homework
http://www.mapleprimes.com/tags/homework
Twin primes
http://www.mapleprimes.com/questions/208982-Twin-Primes------------------------------?ref=Feed:MaplePrimes:Tagged With homework
<p>Hello,</p>
<p> </p>
<p>I try to find all the twinprimes in a certain range of numbers. I made a mistake, but a don't know which one. Wjo can help me?</p>
<p> </p>
<p><img src="/view.aspx?sf=202499_post/primes.png" alt=""></p>
<p> </p>
<p> </p><p>Hello,</p>
<p> </p>
<p>I try to find all the twinprimes in a certain range of numbers. I made a mistake, but a don't know which one. Wjo can help me?</p>
<p> </p>
<p><img src="/view.aspx?sf=202499_post/primes.png" alt=""></p>
<p> </p>
<p> </p>208982Mon, 01 Feb 2016 19:45:52 Zspartaan99spartaan99Cumulative frequency in Maple?
http://www.mapleprimes.com/questions/208951-Cumulative-Frequency-In-Maple?ref=Feed:MaplePrimes:Tagged With homework
<p>Hello I have this assignment. I will translate it (because it is not english)</p>
<p>This is the assignment: [IMG]http://i68.tinypic.com/2cgoby9.jpg[/IMG]</p>
<p>(if u cant click on the above link, then u can see it here http://tinypic.com/view.php?pic=2cgoby9&s=9)</p>
<p> </p>
<p>So it says:</p>
<p>-------</p>
<p>In an examination of young pigs' birth weight 853 newborn pigs were weighted. The weighting is shown in the table down below. </p>
<p> </p>
<p><strong>[0,5-0,7]</strong> [0,7-0,9] <strong>[0,9-1,1]</strong> [1,1-1,3] <strong>[1,3-1,5]</strong> [1,5-1,7]<strong> [1,7-1,9]</strong> [1,9-2,1] <strong>[2,1-2,3] -> WEIGHT in kg</strong></p>
<p><strong>[26] </strong> [43] <strong> [102] </strong> [145] <strong> [171] </strong> [196] <strong> [119] </strong> [42] <strong> [9] --> number of pigs</strong></p>
<p> </p>
<p><strong>Draw a cumulative frequency curve of the weighting and determine the kvartils.</strong><span style="color: #2c2c2c; font-family: FranklinGothic, helvetica, arial, sans-serif;"><span style="font-size: 18px; line-height: 24px; white-space: nowrap;"><br></span></span></p>
<p> </p>
<p><strong>SO I usually do this in Maple, but this time I did a matrix but nothing happened.. I dont know how I should draw this curve? Help please. </strong></p>
<p> </p>
<p> </p>
<p>[IMG]http://i68.tinypic.com/2cgoby9.jpg[/IMG]</p><p>Hello I have this assignment. I will translate it (because it is not english)</p>
<p>This is the assignment: [IMG]http://i68.tinypic.com/2cgoby9.jpg[/IMG]</p>
<p>(if u cant click on the above link, then u can see it here http://tinypic.com/view.php?pic=2cgoby9&s=9)</p>
<p> </p>
<p>So it says:</p>
<p>-------</p>
<p>In an examination of young pigs' birth weight 853 newborn pigs were weighted. The weighting is shown in the table down below. </p>
<p> </p>
<p><strong>[0,5-0,7]</strong> [0,7-0,9] <strong>[0,9-1,1]</strong> [1,1-1,3] <strong>[1,3-1,5]</strong> [1,5-1,7]<strong> [1,7-1,9]</strong> [1,9-2,1] <strong>[2,1-2,3] -> WEIGHT in kg</strong></p>
<p><strong>[26] </strong> [43] <strong> [102] </strong> [145] <strong> [171] </strong> [196] <strong> [119] </strong> [42] <strong> [9] --> number of pigs</strong></p>
<p> </p>
<p><strong>Draw a cumulative frequency curve of the weighting and determine the kvartils.</strong><span style="color: #2c2c2c; font-family: FranklinGothic, helvetica, arial, sans-serif;"><span style="font-size: 18px; line-height: 24px; white-space: nowrap;"><br></span></span></p>
<p> </p>
<p><strong>SO I usually do this in Maple, but this time I did a matrix but nothing happened.. I dont know how I should draw this curve? Help please. </strong></p>
<p> </p>
<p> </p>
<p>[IMG]http://i68.tinypic.com/2cgoby9.jpg[/IMG]</p>208951Sun, 31 Jan 2016 16:23:01 Zal-farajal-farajThe Collatz Conjecture
http://www.mapleprimes.com/questions/208802-The-Collatz-Conjecture?ref=Feed:MaplePrimes:Tagged With homework
<p>I have a maple homework on the collatz conjecture, but i am new to maple and does not know how to program it.</p>
<p>our professor gave us the first part, i tried a lot of different loop, but keep getting errors. Need HELP.</p>
<p>I need to test all integer m <= 60, i dont know how to set up a loop that can test all 60 numbers.</p>
<p>> restart;</p>
<p>> k := proc (x) options operator, arrow; piecewise(type(x, even), (1/2)*x, 3*x+1) end proc;<br>/ 1 \<br>x -> piecewise|type(x, even), - x, 3 x + 1|<br>\ 2 /<br>> <br>> m := 3;<br>> k(m);<br>> for j to 200 while k(%) > 1 do k(%) end do;<br>> print(m, j+1);</p>
<p> </p><p>I have a maple homework on the collatz conjecture, but i am new to maple and does not know how to program it.</p>
<p>our professor gave us the first part, i tried a lot of different loop, but keep getting errors. Need HELP.</p>
<p>I need to test all integer m <= 60, i dont know how to set up a loop that can test all 60 numbers.</p>
<p>> restart;</p>
<p>> k := proc (x) options operator, arrow; piecewise(type(x, even), (1/2)*x, 3*x+1) end proc;<br />/ 1 \<br />x -> piecewise|type(x, even), - x, 3 x + 1|<br />\ 2 /<br />> <br />> m := 3;<br />> k(m);<br />> for j to 200 while k(%) > 1 do k(%) end do;<br />> print(m, j+1);</p>
<p> </p>208802Wed, 27 Jan 2016 01:13:22 Zmanwing112manwing112 Loop for composites
http://www.mapleprimes.com/questions/208816--Loop-For-Composites?ref=Feed:MaplePrimes:Tagged With homework
<p>I have a homework ask you to find the first string of (at least)10, 50, 100 consecutive composites. I have no idea how to use maple. HELP</p>
<p>all i can think of is </p>
<p> </p>
<p>>ithprime(i+1) - ithprime(i) = 10</p>
<p>>print(i+1, i)</p>
<p> </p>
<p>and combine it with some loop</p>
<p>i dont know how to set up a loop</p>
<p> need a lot of help </p><p>I have a homework ask you to find the first string of (at least)10, 50, 100 consecutive composites. I have no idea how to use maple. HELP</p>
<p>all i can think of is </p>
<p> </p>
<p>>ithprime(i+1) - ithprime(i) = 10</p>
<p>>print(i+1, i)</p>
<p> </p>
<p>and combine it with some loop</p>
<p>i dont know how to set up a loop</p>
<p> need a lot of help </p>208816Wed, 27 Jan 2016 01:09:36 Zmanwing112manwing112How to express this constraint into Maple?
http://www.mapleprimes.com/questions/208677-How-To-Express-This-Constraint-Into-Maple?ref=Feed:MaplePrimes:Tagged With homework
<p>Hi everyone...!</p>
<p>Can somebody tell me how to express this equation in Maple? </p>
<p>x<sub>ij </sub><= z<sub>kl </sub>; ∀ i ∈ I: S(i)=k, ∀ j ∈ B: R(j)=l; </p>
<p>Currently I'm dealing with containerization problem and have 4 indexes in the constraints (namely: i for item, j for container, k for shipment, l for route, S for Set of Shipment, and R for Set of Route) while x and z are binary variables. What I want to express is: (for example), item 1,2,3 are in shipment 1, item 4,5 are in shipment 2, etc etc. SO, if i = 1,2,3 then the value of k will be 1. If i = 4,5 then the value of k will be 2, etc. Same thing goes to j and l, (for example) if j = 1,2 then the value of l will be 1, etc etc. Further depcition is more or less like this:</p>
<p>S(i) = k</p>
<p>S(1) = 1</p>
<p>S(2) = 1</p>
<p>S(3) = 1</p>
<p>S(4) = 2</p>
<p>S(5) = 2</p>
<p> </p>
<p>Thank you very much for the help.</p><p>Hi everyone...!</p>
<p>Can somebody tell me how to express this equation in Maple? </p>
<p>x<sub>ij </sub><= z<sub>kl </sub>; ∀ i ∈ I: S(i)=k, ∀ j ∈ B: R(j)=l; </p>
<p>Currently I'm dealing with containerization problem and have 4 indexes in the constraints (namely: i for item, j for container, k for shipment, l for route, S for Set of Shipment, and R for Set of Route) while x and z are binary variables. What I want to express is: (for example), item 1,2,3 are in shipment 1, item 4,5 are in shipment 2, etc etc. SO, if i = 1,2,3 then the value of k will be 1. If i = 4,5 then the value of k will be 2, etc. Same thing goes to j and l, (for example) if j = 1,2 then the value of l will be 1, etc etc. Further depcition is more or less like this:</p>
<p>S(i) = k</p>
<p>S(1) = 1</p>
<p>S(2) = 1</p>
<p>S(3) = 1</p>
<p>S(4) = 2</p>
<p>S(5) = 2</p>
<p> </p>
<p>Thank you very much for the help.</p>208677Thu, 21 Jan 2016 13:05:53 Zjynx123jynx123Plot of certain function
http://www.mapleprimes.com/questions/208593-Plot-Of-Certain-Function-?ref=Feed:MaplePrimes:Tagged With homework
<p>Hello</p>
<p>I have an SEIR model.</p>
<p>Equation 5 is for disease death but I would like to plot the cumulative numbers of disease death which will be the integral of Equation 5. I added the integral inside odeplot but it is not working. Any idea about how to compute the integral ?</p>
<p>Maple code is attached</p>
<p>Thank you</p>
<p><a href="/view.aspx?sf=208593_question/code.mw">code.mw</a></p><p>Hello</p>
<p>I have an SEIR model.</p>
<p>Equation 5 is for disease death but I would like to plot the cumulative numbers of disease death which will be the integral of Equation 5. I added the integral inside odeplot but it is not working. Any idea about how to compute the integral ?</p>
<p>Maple code is attached</p>
<p>Thank you</p>
<p><a href="/view.aspx?sf=208593_question/code.mw">code.mw</a></p>208593Tue, 19 Jan 2016 00:34:18 Zreemeaaaahreemeaaaah