MaplePrimes Questions

I want to exactly (well roughly speaking) overlay two lines from different graphs. 

So suppose I had two datasets, 

a:=[1.4,2.1,4.6,3.7,3,2.1,2,1,1.5]:
b:=[78,75,97,98,105,95,88,75,67]:

with(plots):

aa:=listplot(a):
bb:=listplot(b):

I want to overlay the two lines to compare them.  I transformed them into 3d then rotated to overlay but maple keeps scaling the axes to fit. 

Any ideas?

 

I download a maple document from 'Recent Questions',"to find the constants of a equation with data x and y are given", then I open it, and click 'run all' comand in the toolbar. It works very well.

But when I put cursor in one line, and pree 'enter' key, it ruturns a different form of the result, as the picture above shows.

I have very simple equation for example

 

from equation   y=x+ex

we get the data     x :  1, 2, 3 , 4 ,5 , 6, 7 , 8 , 9 , 10

                           y :  3.7, 9.39, 23.09, 58.60, 153.41, 409.43, 1103.63, 2988.98, 8112.08, 22036.47

 

1) ...

I want to plot a piecewise function, F(x,y), so I look for piecewise command in help page, there are a lot of examples for one-variable piecewise functions, but lack of examples for two-variable piecewise functions. I don't know how to input a two-variable piecewise function and how to plot it, can you help me? Thank you very much.

 

Hi,

I am new to maple and this is my first question in this forum.

Please help me in finding an analytical solution to the 2nd order ode.

ode:=diff(y(x),x$2) -( a y(x) - y(x)^3 + y(x)^5 ) = 0

bcs:= D(y)(0) = 0, y(2) = 0, y(0) = 1.31

where a is a constant.

I am bit confused about the boundary conditions. I have three boundary conditions instead of two.

The first two boundary conditions yield trivial y(x) = 0 solution.so added the third bc.





Having trouble with a double summation function that calls itself recursively.

 

S2 := (p, k, n)-> piecewise(0 <= n and n < k, 1, n < 0, 0, sum(sum(p^y*(1-p)^(m-y)*S2(p, k, n-m), m = y+1 .. y+k-1), y = 1 .. n-k+1));

 

When evaluated with S2(p,2,-1) and S2(p,2,1) it works correctly (first two conditions are working)

However, when I try evaluate S2(p,2,2) Maple appears to run unbounded(?) and chokes. In fact, doing...

Aaaargh!  I'm going crazy here.  If anyone can help I will be massively grateful!

My problem is quite simple:  I have a long list of data, in the form: f1:=[some matrix] f2:=[another matrix]...etc.

The data has been read in from a different program.  I am trying to write a program to go through each matrix one by one and perform some operations on it.  Usually to do this I take some dummy variable, say i or j, and write:

 


Dear All,

I would like to use fsolve in an algorithm, and have problems with handling the cases where there is no solution. The help writes that in case of no solution, the fsolve assigns a NULL value to the output variable. So I exoect that I should be able to handle cases where I have solutions using the "if solution<>NULL ..." statement .

 

In some cases it is not true: fsolve writes out the input, instead of saying that there is no...

For educational purposes, I was experimenting with the Fourier series expansion of periodic functions. Following the definition for 2pi-periodic functions on Wikipedia, given by

 

 

and

 

Hello,

I tried to compile the Java program located in $MAPLE/samples/OpenMaple/Java/simple under Linux.

While compiling worked, running the .class file results in a crash of th jvm:

# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb69abfe2, pid=6582, tid=3064224624
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (17.0-b16 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.1
# Distribution: Custom build ...

i need to solve a system of ecuations with a generic function e.g V(q). i know that dif(V(q),q) is possitive and second derivative is negative. how can i incorporate this information?

q is my desition variable

 I have been trying to do algebra in maple but I do not know how to write in it The problems I am having is with the word problems Can I just write it in ?

First 1944 1945 1946 1947 1948 1949 1950 Last Page 1946 of 2434