MaplePrimes - Questions and Posts tagged with homework
http://www.mapleprimes.com/tags/homework
en-us2016 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemSat, 30 Apr 2016 01:27:35 GMTSat, 30 Apr 2016 01:27:35 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
Solar System Project Code Help
http://www.mapleprimes.com/questions/211759-Solar-System-Project-Code-Help?ref=Feed:MaplePrimes:Tagged With homework
<p><a href="/view.aspx?sf=211759_question/solarsysem.mw">solarsysem.mw</a> Sorry for the repost but this is my newest document.</p>
<p>I have to create a solar system model on maple by defining a force equation then using the seq function to create a diffeq and then solving those differential equations using the initial conditions with the sun at (0, 0, 0) in xyz coordinates.</p>
<p>It works until my last "ic1" entry and I get an error in dsolve/numeric/process_input</p>
<p>I'm pretty desperate, I'll appreciate any help I can get</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p><p><a href="/view.aspx?sf=211759_question/solarsysem.mw">solarsysem.mw</a> Sorry for the repost but this is my newest document.</p>
<p>I have to create a solar system model on maple by defining a force equation then using the seq function to create a diffeq and then solving those differential equations using the initial conditions with the sun at (0, 0, 0) in xyz coordinates.</p>
<p>It works until my last "ic1" entry and I get an error in dsolve/numeric/process_input</p>
<p>I'm pretty desperate, I'll appreciate any help I can get</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>211759Fri, 29 Apr 2016 01:33:31 ZjiggityjiggityCan 'for' be coded in Components?
http://www.mapleprimes.com/questions/211752-Can-for-Be-Coded-In-Components-?ref=Feed:MaplePrimes:Tagged With homework
<p>Here is my command and i will use to make the user interface.</p>
<p>Orginal:</p>
<p>for i to l do</p>
<p>for j from x to y do</p>
<p>block[i][j] := 1-block[i][j]</p>
<p>end do;</p>
<p>c_block[i] := block[i];</p>
<p>c_block[i] := parse(cat(c_block[i][]))</p>
<p>end do</p>
<p>Can someone help me to edit my command so that i can write it in Click Edit Action for a button? thank you.</p>
<p>Do(for i from 1 to %l do)<br> Do(for j from x to y do)<br> Do(block[i][j] = 1-block[i][j]); <br> end do); <br> Do(c_block[i] := block[i]);<br> Do( c_block[i] := parse(cat(c_block[i][])));<br> end do);</p><p>Here is my command and i will use to make the user interface.</p>
<p>Orginal:</p>
<p>for i to l do</p>
<p>for j from x to y do</p>
<p>block[i][j] := 1-block[i][j]</p>
<p>end do;</p>
<p>c_block[i] := block[i];</p>
<p>c_block[i] := parse(cat(c_block[i][]))</p>
<p>end do</p>
<p>Can someone help me to edit my command so that i can write it in Click Edit Action for a button? thank you.</p>
<p>Do(for i from 1 to %l do)<br> Do(for j from x to y do)<br> Do(block[i][j] = 1-block[i][j]); <br> end do); <br> Do(c_block[i] := block[i]);<br> Do( c_block[i] := parse(cat(c_block[i][])));<br> end do);</p>211752Thu, 28 Apr 2016 11:52:40 Zjoyceljy9990joyceljy9990skeching f'(x) by all the points (x,f'(x)) when we have graph f(x)
http://www.mapleprimes.com/questions/211580-Skeching-Fx-By-All-The-Points-xfx?ref=Feed:MaplePrimes:Tagged With homework
<p>How I can write a procedure in Maple 18 that it receives:</p>
<p><strong> Inputs:</strong> <strong>function f(x)</strong> and <strong>real unmbers a and b</strong> (as interval [a,b]) and <strong>natural unmber n</strong> </p>
<p>then devides interval [a,b] to n subinterval and computes f'(a), f'(a+(b-a)/n), f'(a+2(b-a)/n),..., and f'(a+n(b-a)/n)=f'(b)</p>
<p>and</p>
<p><strong>showes at output: graph f(x)</strong> and <strong>all points [a,f'(a)], [a+(b-a)/n, f'(a+(b-a)/n)],<strong>[a+2(b-a)/n, f'(a+2(b-a)/n)]</strong>..., and [a+n(b-a)/n,f'(a+n(b-a)/n)] </strong>on a coordinate plane x-y</p><p>How I can write a procedure in Maple 18 that it receives:</p>
<p><strong> Inputs:</strong> <strong>function f(x)</strong> and <strong>real unmbers a and b</strong> (as interval [a,b]) and <strong>natural unmber n</strong> </p>
<p>then devides interval [a,b] to n subinterval and computes f'(a), f'(a+(b-a)/n), f'(a+2(b-a)/n),..., and f'(a+n(b-a)/n)=f'(b)</p>
<p>and</p>
<p><strong>showes at output: graph f(x)</strong> and <strong>all points [a,f'(a)], [a+(b-a)/n, f'(a+(b-a)/n)],<strong>[a+2(b-a)/n, f'(a+2(b-a)/n)]</strong>..., and [a+n(b-a)/n,f'(a+n(b-a)/n)] </strong>on a coordinate plane x-y</p>211580Sat, 23 Apr 2016 09:37:34 Zvahid65vahid65Help with MATLAB code
http://www.mapleprimes.com/questions/211488-Help-With-MATLAB-Code?ref=Feed:MaplePrimes:Tagged With homework
<p>Hello</p>
<p>I am a student of an engineering career</p>
<p>The math teacher is going to ask us to solve some exercises Matlab</p>
<p>The teacher is very hard and explains nothing of Matlab in class</p>
<p>We must learn to use the program on our own viewing internet watching tutorials</p>
<p>I was wondering if somebody could help solve some exercises.</p>
<p>Are only three exercises which are imposible to me</p>
<p>I would appreciate it greatly.</p>
<p>Thank you</p>
<p>My e-mail :</p>
<p><a href="mailto:alessagosti1@gmail.com">alessagosti1@gmail.com</a></p><p>Hello</p>
<p>I am a student of an engineering career</p>
<p>The math teacher is going to ask us to solve some exercises Matlab</p>
<p>The teacher is very hard and explains nothing of Matlab in class</p>
<p>We must learn to use the program on our own viewing internet watching tutorials</p>
<p>I was wondering if somebody could help solve some exercises.</p>
<p>Are only three exercises which are imposible to me</p>
<p>I would appreciate it greatly.</p>
<p>Thank you</p>
<p>My e-mail :</p>
<p><a href="mailto:alessagosti1@gmail.com">alessagosti1@gmail.com</a></p>211488Wed, 20 Apr 2016 20:31:05 ZalessalessConnecting Two Lines Piecewise (ASAP)
http://www.mapleprimes.com/questions/211300-Connecting-Two-Lines-Piecewise-ASAP?ref=Feed:MaplePrimes:Tagged With homework
<p>This is for the infamous Calc 2 Goblet Maple Project</p>
<p>I have tried everything changed all the numbers and got nowhere or worse results. The only thing that accurately works is the example project:</p>
<p>(0, 1.5) and end at (0.5, 0.2). which equals f1(x)=-2.6x+1.5</p>
<p>and f2:=x->0.2+0.05*sin(2*(x-0.5)) which is really 0.2+0.05sin(2x-1)</p>
<p>The goal is to change the example project so it becomes something of my own creation. </p>
<p>When I change f2:=x->0.4+0.05*sin(2*x-0.5)) it is at least attached but forms a sharp dip down first then connects at the point when it should be smooth curve. It seems you can do anything to the other curve</p>
<p>f3:=x->a*x^3+b*x^2+c*x+d;<br>x -> a x^3 + b x^2 + c x + d</p>
<p>connection1:=f3(5.5)=f2(5.5);<br> 166.375 a + 30.25 b + 5.5 c + d = 0.3727989445</p>
<p>arc1:=f3(7)=1;<br> 343 a + 49 b + 7 c + d = 1</p>
<p>arc2:=f3(7.5)=0.9;<br> 421.875 a + 56.25 b + 7.5 c + d = 0.9</p>
<p>arc3:=f3(9)=1.6;<br> 729 a + 81 b + 9 c + d = 1.6</p>
<p>values:=solve({eq1,eq2,eq3,eq4},{a,b,c,d});</p>
<p>F:=x->piecewise(x<0.5,f1(x),x>=0.5 and x<5.5,f2(x),x>=5.5,f3(x));</p>
<p>plot(F(x),x=0..9,y=0..4,scaling=constrained);</p>
<p>So how can this be fixed?</p><p>This is for the infamous Calc 2 Goblet Maple Project</p>
<p>I have tried everything changed all the numbers and got nowhere or worse results. The only thing that accurately works is the example project:</p>
<p>(0, 1.5) and end at (0.5, 0.2). which equals f1(x)=-2.6x+1.5</p>
<p>and f2:=x->0.2+0.05*sin(2*(x-0.5)) which is really 0.2+0.05sin(2x-1)</p>
<p>The goal is to change the example project so it becomes something of my own creation. </p>
<p>When I change f2:=x->0.4+0.05*sin(2*x-0.5)) it is at least attached but forms a sharp dip down first then connects at the point when it should be smooth curve. It seems you can do anything to the other curve</p>
<p>f3:=x->a*x^3+b*x^2+c*x+d;<br />x -> a x^3 + b x^2 + c x + d</p>
<p>connection1:=f3(5.5)=f2(5.5);<br /> 166.375 a + 30.25 b + 5.5 c + d = 0.3727989445</p>
<p>arc1:=f3(7)=1;<br /> 343 a + 49 b + 7 c + d = 1</p>
<p>arc2:=f3(7.5)=0.9;<br /> 421.875 a + 56.25 b + 7.5 c + d = 0.9</p>
<p>arc3:=f3(9)=1.6;<br /> 729 a + 81 b + 9 c + d = 1.6</p>
<p>values:=solve({eq1,eq2,eq3,eq4},{a,b,c,d});</p>
<p>F:=x->piecewise(x<0.5,f1(x),x>=0.5 and x<5.5,f2(x),x>=5.5,f3(x));</p>
<p>plot(F(x),x=0..9,y=0..4,scaling=constrained);</p>
<p>So how can this be fixed?</p>211300Thu, 14 Apr 2016 00:05:09 ZPhilThaDudePhilThaDudeHow to convert a word to binary number?
http://www.mapleprimes.com/questions/211187-How-To-Convert-A-Word-To-Binary-Number?ref=Feed:MaplePrimes:Tagged With homework
<p>Hello, anyone know how to convert a word to <strong>8 bits</strong> binary number ?</p>
<p>For example:</p>
<p>Here is my code:</p>
<p>message:=Hello<br>m:=convert(message,bytes);</p>
<p>>m:=[104,101,108,108,111]</p>
<p>with(Bits):</p>
<p>for i from 1 to 5 do:<br>mb[i]:=Split(m[i]);</p>
<p>end do;</p>
<p>>mb[1]:=[0,0,0,1,0,1,1] mb[2]:=[1,0,1,0,0,1,1] mb[3]:=[0,0,1,1,0,1,1] mb[4]:=[0,0,1,1,0,1,1]</p>
<p> mb[5]:=[1,1,1,1,0,1,1]</p>
<p> </p>
<p>Anycommand can add additional one column when split the words into binary to form 8 bit in each row? Any help will be highly appreciated. Thank you.</p>
<p> </p><p>Hello, anyone know how to convert a word to <strong>8 bits</strong> binary number ?</p>
<p>For example:</p>
<p>Here is my code:</p>
<p>message:=Hello<br />m:=convert(message,bytes);</p>
<p>>m:=[104,101,108,108,111]</p>
<p>with(Bits):</p>
<p>for i from 1 to 5 do:<br />mb[i]:=Split(m[i]);</p>
<p>end do;</p>
<p>>mb[1]:=[0,0,0,1,0,1,1] mb[2]:=[1,0,1,0,0,1,1] mb[3]:=[0,0,1,1,0,1,1] mb[4]:=[0,0,1,1,0,1,1]</p>
<p> mb[5]:=[1,1,1,1,0,1,1]</p>
<p> </p>
<p>Anycommand can add additional one column when split the words into binary to form 8 bit in each row? Any help will be highly appreciated. Thank you.</p>
<p> </p>211187Sun, 10 Apr 2016 14:55:41 Zyongling93yongling93