## 769 Reputation

13 years, 342 days

## GlobalOptimization substitute...

Maple 2018

Hello

l'm on here with yet another optimization problem...

Wanting to know if I can get the same results as Samir using DirectSearch package. After 2.2.2

https://www.maplesoft.com/applications/view.aspx?SID=140702

Omega_Ratio_Optimiza_DS.mw

## Searching for the Efficient Frontier...

Maple 2018

HI

Hot on the heels of my previous question https://www.mapleprimes.com/questions/227935-Multiply-Contents-Of-Vector-To-Get-Expected-Value#answer262336

I have attempted to maximize growth while keeping variance below a fixed level (with not much success), but

can any of you maximize the growth of a 3 stock portfolio while minimizing the variance.

Efficient_Frontier.mw

## Multiply contents of vector to get expec...

Maple 2018

Hi

This worksheet by Jason Schattman, I cant work out how he gets vector r, the expected value (in bold). I did ask him. Anybody shed any light?

I thought EV was calculated by averaging each stocks yearly returns. EV for Q[1] is (0.08-0.2+.05)/3   (<> 0.05)

Obviously i'm going to get a different r to him, but out of interest what maple commands do i need to convert Q into r using my method for EV?

portfoliooptimizati.mw

## How to adjust width and height of animat...

Maple 2018

Hello

When i export an animation as a gif the dimensions are (by default it seems) 400x400 pixels (w x h).

But my slide show requires a dimension of 1920 x 1080 pixels.

How to I tell maple to export a gif of predefined dimensions?

I can manually adjust the dimensions of the animation by grabbing a corner and pulling it right and down and then export it, but its hit and miss.

Here is an example animation written by Kitonum

restart;
with(DEtools):
rho := 0.1:
w0 := 2:
sys := a->[diff(x(t),t) = y(t),diff(y(t),t) = -2*rho*y(t) - w0^2*(x(t)+a)];
P:=a->DEplot(sys(a), [x(t),y(t)], t = 0 .. 20-2*a, x=-2..2, y=-1.9..1.7, [[x(0) = cos(a)-a, y(0) = sin(a)]], scene = [x(t),y(t)], linecolor=blue, numpoints=1000):
plots:-animate(plots:-display,['P'(a), size=[600,300]], a=-0.7..1.4, frames=90);

## Encrypt Procedure Question...

Maple 2018

Hello

I found this example in the Help.

I'm wanting to export the encrypted file (the gibberish between local and end proc) to friend running another M2018, and want it to run.

I would need to rerieve "abc.mla" repository that we saved it in. But I cant find it. and if i did send it, he would be able to decrypt it surely?

Encrypt_Proc.mw

 1 2 3 4 5 6 7 Last Page 3 of 31
﻿