MaplePrimes Questions

how do I solve differential equations with maple V?
h:=0.1: n:=ceil(5.0/h): t:=0.0: y:=2.9: data[0]:=[t,y]: for i from 1 to n do mk := y^2-4y+3: y := y + h*mk: t := t + h: data[i] := [t,y]: od: t:='t': y:='y': h:='h': datalist1 := [ seq( data[i], i=0..n ) ]; plot1:=plot( datalist1, 0..5, 0..4, color=red); display([plot1,plot2]); ok this is what i have typed in...the equation is dy/dt = y^2-4y+3 i am able to plot the direction field but now when i use Euler's method to find a solution with y(0)=2.9 for 0<>
h:=0.1: n:=ceil(5.0/h): t:=0.0: y:=2.9: data[0]:=[t,y]: for i from 1 to n do mk := y^2-4y+3: y := y + h*mk: t := t + h: data[i] := [t,y]: od: t:='t': y:='y': h:='h': datalist1 := [ seq( data[i], i=0..n ) ]; plot1:=plot( datalist1, 0..5, 0..4, color=red); display([plot1,plot2]); ok this is what i have typed in...the equation is dy/dt = y^2-4y+3 i am able to plot the direction field but now when i use Euler's method to find a solution with y(0)=2.9 for 0<>
I have an array I have defined within Maple - how does one plot the array? I have tried defining a function mapping the index to the element of the array, but it's not clear how to restrict that to integers ... -Monty
I am trying to create an array for testing the FFT errors within maple. Every time I try to assign values to the 1024-element array, the program prints them all out. Is there any way to turn this off?
How do I multiply(expand) a Polynomial and get it's shortened form? I have a polynomial X^2+a*X+b and I rise it to the power of 2 and multiply by X eg X*(X^2+a*X+b)^2 and I wish to get the answer for this in the form of X^5+2*X^4*a+(a^2+2b)X^3+2*a*X^2*b+X*b^2 as opposed to getting X^5+2*X^4*a+2X^3b+a^2X^3+2*a*X^2*b+X*b^2 Is this possible? At the moment I use the Expand command in maple to generate the answer. I know this is slightly pedantic as maple is returning the correct answer but I need to build a Matrix out of this using quite a few of these polynomials. Any h
I have to following Maple file and from the graph that is plotted the I need to find how far each of the reflected rays falls from a common focus. Is it possible to read the values of the y-intercept of each of the refelcted rays and then either output these to a file or to directly plot a graph showing the distance each ray falls from the common focus. Thanks Download 3259_Mirror.mws
View file details
Sorry for the repetition. I posted this last night as a reply rather than a new posting. I am having difficulty converting latex files with maple-graded questions. It appears that it does not recognize the question type even though the documentation claims that all question types are available with latex. If I try this example or any of the examples in the latex authoring documentation, it generates errors on the latex2edu conversion site. \documentclass[12pt]{article} \usepackage{ed} \setImageBase{../classes/myclass/images} \begin{document} \begin{topic}{fun} \begin{question}{Maple}
This is a personal pet peeve. Let A be a 2x2 matrix with elements 0.5, 0.5, 0.3, 0.7 Find A^2 Repeat with a 2x2 matrix with elements 1/2, 1/2, 3/10, 7/10. Why does the first example give more than 2 decimals? Why is the answer to the first so inaccurate? Is there some library besides LinAlg or LinearAlgebra I should include to handle such rudimentary calcs?
Hi, It´s possible to call a Maple library from a module or a procedure? I try to use the command with, but Maple don´t accept that. Thank´s João Paulo Laudares
In the following qu file for a MapleTA question, if the RESPONSE is

{a<x and x<b} then after the question gets graded as correct, "Your Answer" appears incorrectly as {a<b}.
But if the RESPONSE is

{a< x and x<b} (note there is a blank space after the first inequality sign!) then "Your Answer" appears correctly as RESPONSE.

One could ask students to put the blank space in, but this should not be necessary. Any ideas?

.......


question=Enter this and see what happens.
<p>

$qml@
maple=evalb(($ANSWER)=($RESPONSE));@
maple_answer=$ans;@
type=maple@
mode=Maple@
name=a< x< b@
Has anyone had any trouble using Equation with structures that are not functions? I am using 2.51, and the following question always returns incorrect. \begin{question}{Equation} \qutext{Test question} \answer{x^2 + y^2 = 1} \end{question} Is there a workaround?
When I use PDEtools in Maple10 to get subscript notation of derivatives it works for equations that are assigned to another variable name. It does not work for equations that are referred to only by their Maple10-generated equation numbers. The sample case below shows the problem. It is an edited Maple-text version. I tried uploading the file, but neither Live Worksheet or HTML copy correctly display. Live Worksheet apparently doesn't access PDEtools, and the HTML copy can't handle equation number references. I can supply the test file to any one who wants it. ------------------------------------------------------------------------------
I know the 'factor' function won't do it. But is there any function available in Maple that will take for example 2*p^2 + 4 as an argument and return 2(p^2 + 2) as a result? i.e. I want to factor integer coefficients. Thanks, Eddie
Hi, I was having a problem to write a Maplet for model selection. My problem is that, the variables from Combobox are not received by the procedure that should make the model selection. I am trying to apply the function parse to transform the string from ComboBox and add it to the variable that will be send to procedure FORMULCAO. Here is the code: > with(Maplets[Elements]): > Cond:=module() > option package; > local maplet; > export Model; > global deptemp,N, NDOM, MODE; > use Maplets[Elements] in > maplet := Maplet([ > [ > "Time Dependence: ", > ComboBox['CoB1']("stationary", sort([
First 1804 1805 1806 1807 1808 1809 1810 Last Page 1806 of 1880