## 68 Reputation

16 years, 162 days

## procedure syntax problem , to calculate ...

Maple
Hi I can't find the error in this procedure that i have made , to calculate the maximum and return it for a particular function here is the code : mymax:=proc(h1,a1,b1) local t1; local maxi; maxi:=0; t1:=a1; for t1 to b1 do if h1(t1)>=maxi then maxi=h(t1); t1:=t1+0.1; fi; od; maxi; end; h1 is the function a1 and b1 are the [a1,b1] limit of the interval Can you help me ; thank you

## how to know the maximum of a particular ...

Maple
hi i want to know the maximum of this function , p := proc (x) options operator, arrow; min(piecewise(x <><><><><><><><><><><><><>

## problem :how to know the intersection of...

Maple
hi let's look for the intersection of 2 functions the first one f1 := unapply(CurveFitting[Spline]([[1.55, 1], [1.6, 0], [1.65, 0], [1.7, 0], [1.75, 0], [1.80, 0], [1.85, 0], [1.9, 0], [1.95, 0]], x, degree = 1), x); the second one r := unapply(CurveFitting[Spline]([[1.55, 0], [1.6, 1], [1.65, 1], [1.7, 1], [1.75, 0], [1.80, 0], [1.85, 0], [1.9, 0], [1.95, 0]], x, degree = 1), x); when we plot the 2 functions : plot({f1(x), r(x)}, x = 1 .. 1.95, y = 0 .. 1, thickness = 3); we see that there is 2 intersections that are 1.575000000, RealRange(1.750000000, infinity) but maple gives 1.575000000, 1.550000000, RealRange(1.750000000, infinity)

## how to take only numbers from an array...

Maple
hi lets say i have an array like this one a:=[1.575000000, BottomProp, BottomProp,1.6, RealRange(1.750000000, infinity)]; i would like to have from this array only a:=[1.575000000,1.6]; how to do that thank you

## how to plot a function thanks to vba...

Maple
hi let's say i want to plot sin(x) in excel i know that in excel i should type =Maple("plot(sin(x),x") now how to do that within vba i have already included the reference of maple within vba thank you
 1 2 Page 1 of 2
﻿