MaplePrimes Questions

How do I solve an equation such as this: (diff(V(t),t))^n*(V(t)+Vp)+(diff(V(t),t))^(n+B)*(V(t)*A1+Vp*A2)=C boundry: V(0)=0 I want to solve this equation bz numeric methods. But Maple don=t want to solve.
This may be something that has been addressed, and I'm certainly not insinuating anything is wrong with Maple; I'm just curious if anyone has any insight about this. Given a positive real number x, the sequence defined by a_n=([x]+[2x]+...+[nx])/n^2, where [x] denotes the greatest integer (or floor) function, converges to x/2, but Maple gives me 0 as the limit (could it have anything to do with the fact that n is not a continuous real variable; I tried assuming(n::integer) without luck). Any ideas? Thanks a lot. Keenan
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. ------------------------------------------------------------------------------
First 2078 2079 2080 2081 2082 2083 2084 Last Page 2080 of 2154