## Getting maple to choose optimum value...

Hi

I have this problem regarding how many employees (the variable x) is needed to get the lowest wage cost in a company. I have written the following model:

>restart:

>assume(x,integer)

>assume(x>=0)

>a:=16362-(40+x)*504:

>b:=IF(a<0,16362-(40+x)*420,(40+x)*84:

>c:=IF(b<0,16362,(40+x)*420)

>d:=IF(a>0,a*12.65*2.0)+IF(b>0,b*12.65*1.5)+c*12.65

## Solving "least square" with maple - how?...

hi,

tried to solve a least square problem with maple.

i've n=3 measured data

xi = 1, 4, 6

yi = 2, 4, 8

and have to create a optimised function of the type y=f(x) = px + q

i gave maple this input:

y := <2,4,8>;

x := <1,4,6>;

with(Student[LinearAlgebra]):

LeastSquares(x,y);

## rsolve - a question...

Can maple rsolve equations of the type y(t)=sum(b(t),1..y(t-1)) for y? Thanks.

## Find max/min from implicit function...

Hi,

I'm trying to optimize parameters in a implicit function. I can create a plot of the function using implicitplot. But I now need to find the maximum and minimum in a given range. How to do this.

## cubic equations and odd percent signs...

I have been searching for quite sometime, but I cannot find an answer to this.  So at last, I'm posting.

I keep trying to solve this equation below, and this is the outcome I get.  And, I have no idea what the solution means.  I am largely confused by the percentage signs, periods, etc...

-kD

## Using plot in routine...

Hi,

I have to filter a load of analysis data and have written the following

## Plotting area defined in polar coords...

We have an area defined in polar coordinates by

r = 1..3 and theta = 0..3*Pi /4

, and we wish to plot it in maple. Such a simple thing should be possible, but it seems impossible with implicitplot and polarplot.

Unfortunately, this exact maple plot is required for an assignment tuesday, so we would like some help

Sorry because I can not good speak English. I want to draw a graph with maple 10.

I want to draw a polar contour. I have some datas in a txt file. I want to read data and plot graphic. My datas have 3 colums. first column is radius (r) ,second column is angle (theta) ,third column is my fuction z. z=f(r,theta).

I do readdata and my datas reading. But I not drawing a contour graphics.

How do I to solve this problem?

## decimal issue (Digits)...

It's probably a simple issue but I can't figure it out

If I do 3/(4.)  I get .7500000000 .  Why doesn't maple drop the zeros?

Is there a default so that when I divide a fraction like 3/8 or 1/4 and get .375 and .25 without the extra zeros?  or is it always standard for maple to tack on those extra zeros?

Sorry because I can not good speak English. I want to draw a graph with maple 10.

I want to draw a polar contour. I have some datas in a txt file. I want to read data and plot graphic. My datas have 3 colums. first column is radius (r) ,second column is angle (theta) ,third column is my fuction z. z=f(r,theta).

I do readdata and my datas reading. But I not drawing a contour graphics.

How do I to solve this problem?

## toolbox Maps...

1. The toolbox "Maps" within the Maplesheet "Introduction to the mathematics of maps" is not loading.

2. The code maple.lib is stored in a directory c:/maps

3. The toolbox maps is refered to as:  libname:= libname,  "c:/maptools", "c:/maps";

Maple returns:    libname := "C:\\Program Files\\Maple 10/lib", "c:/maptools", "c:/maps"

4. The maptools is opening fine, but not the maps toolbox.

## e^x expression form in solution instead of sinh...

Hi,

I opened an older worksheet (from version 9 I think) and opened it in version 10. In the new version it produces different results.

In version 9 the solution found with the solve function included sinh and cosh terms. The new version uses their exponential forms. The expressions are now much bigger, but are probably the same in effect. However I would like to get the Maple9 behavior for this solution.

I have tried the convert (function,trigh) but that didn't result in the clean function I got in earlier version.

Any ideas?

M.

## Choose an interval?...

Hi!

I want to set up a question where students first should do some calculation (p-values actually). Next step would be to see if this value is an element of intervals given by me. It seems reasonable to attempt constructing a multiple choice question, but there could be alternatives. In the case of a MC, the alternatives could be like the following:

1. <0.005

2. 0.005-0.01

3. 0.01-0.02

4. 0.02-0.025

5. 0.025-0.05

6. 0.05-0.10

7. 0.10-0.15

8. >0.15