ActiveUser

490 Reputation

10 Badges

7 years, 176 days
i would also not like to ask, but if not ask, what should i do?

MaplePrimes Activity


These are replies submitted by ActiveUser

@Kitonum 

this is my work, but return 0

 

g := x^n;
r1 := subs(h(x) = -(1/2)*x^2+s(x), (subs(x=x + diff(h(x),x), g) - subs(x=diff(s(x),x), g))/((Int(exp(-(1/2)*x^2)*(-x+diff(s(x), x)), x))*exp((1/2)*x^2)));
 

g := diff(m(x),x);
r1 := subs(h(x) = -(1/2)*x^2+s(x), (subs(x=x + diff(h(x),x), g) - subs(x=diff(s(x),x), g))/((Int(exp(-(1/2)*x^2)*(-x+diff(s(x), x)), x))*exp((1/2)*x^2)));
g := diff(m(x),x$2);
r2 := subs(h(x) = -(1/2)*x^2+s(x), (subs(x=x + diff(h(x),x), g) - subs(x=diff(s(x),x), g))/((Int(exp(-(1/2)*x^2)*(-x+diff(s(x), x)), x))*exp((1/2)*x^2)));
g := diff(m(x),x$3);
r3 := subs(h(x) = -(1/2)*x^2+s(x), (subs(x=x + diff(h(x),x), g) - subs(x=diff(s(x),x), g))/((Int(exp(-(1/2)*x^2)*(-x+diff(s(x), x)), x))*exp((1/2)*x^2)));
g := diff(m(x),x$4);
r4 := subs(h(x) = -(1/2)*x^2+s(x), (subs(x=x + diff(h(x),x), g) - subs(x=diff(s(x),x), g))/((Int(exp(-(1/2)*x^2)*(-x+diff(s(x), x)), x))*exp((1/2)*x^2)));
g := diff(m(x),x$5);
r5 := subs(h(x) = -(1/2)*x^2+s(x), (subs(x=x + diff(h(x),x), g) - subs(x=diff(s(x),x), g))/((Int(exp(-(1/2)*x^2)*(-x+diff(s(x), x)), x))*exp((1/2)*x^2)));
guess := sum(subs(g=x^k, rk), k=1..infinity);

restart:
g := diff(m(x),x$k);
rk := subs(h(x) = -(1/2)*x^2+s(x), (subs(x=x + diff(h(x),x), g) - subs(x=diff(s(x),x), g))/((Int(exp(-(1/2)*x^2)*(-x+diff(s(x), x)), x))*exp((1/2)*x^2)));
guess := sum(rk, k=1..n);


g := Diff(m(x),x$k);
rk := subs(h(x) = -(1/2)*x^2+s(x), (subs(x=x + Diff(h(x),x), g) - subs(x=Diff(s(x),x), g))/((Int(exp(-(1/2)*x^2)*(-x+Diff(s(x), x)), x))*exp((1/2)*x^2)));
guess := sum(value(rk), k=1..n);
 

@Kitonum 

before I reply the full code

i would like to know

if custom function on X^n = 0

does it mean custom function on m(x) = 0

then does it mean that diff(m(x), x) = 0 too?

@Carl Love 

I have invented a new calculus above existing calculus

would like to implement a new solver

so I need Diff and diff kind of symbol and have function

how to make this symbol to have function to run?

for example diff is doing limit

Diff is doing two part of things accept a function f(t) and  variable t. And when eval , can really act as function

@Carl Love 

if not using this example,

when 2 valued logic had 16 logic, 

if i got a list of permutation, how to find something equivalent to implication logic this kind of important logic after extension to 3 valued logic which a logic of 0,1,2 ?

and i imagined to use common subset to search assumed that new unknown logic can be expressed in terms of 2 valued logic, but seems not success

 

@Carl Love 

i had a permutation

but input to table[1] = 1

table [2] = 1

table [3] = 3

there is missing 2 -> 3

how to express into disjoint cycle ?

[[1] [2 1] [3]] it seems wrong, because 1 will not return 2, meaning no 1--> 2

and this result can not recover to my above permutation example because 2 -> 3 missing

 

@mmcdara 

i just hide my function

important point i want to show is that i had used Complex(a,b) and input to Vector

but FourierTransform return error and assign to Vector had error too

how to do when decimal number is very small?

@Carl Love 

I know this

but permgroup input a list and b list in example in help of maple

I convert to permutation but only one list

what are a and b list ?

sometimes permutation

[[1,2],[3]]
 How to input to permgroup function?

what is degree ? is there any degree function?

and how to do multiple two permgroup?

 

 

@mmcdara 

I had time series data and want get the signal such as increasing spike or starting have noise 

but data are 10^(-89)

in dual graph it show correctly have signal 

but how to programmatically to get this signal for automation?

I remember that my university course teach Fourier transform is to extract wireless signal communication

and want to apply in data. But I remember that is accumulated to sum up things by passing a window through the data. Can not remember or imagine how to extract.

 

@Carl Love 

i discover

New state = state * state

after adding a new key note of piano

and then generate frequency matrix

and then convert to transition matrix again 

The new state and steady state are different from the state if count frequency again

if count frequency again each time, there seems not convergent

Though it is suitable to generate music

, new music is not expected as the original song.

where is wrong?

if I use the new state by multiply state with state 

how to increase or decrease the steady rate ? If it can be done, will the new generated music different again?

@acer 

how to control the time it play the note like piano player do?

 

@acer 

I record my speaking 5 seconds in window 7 soundrecorder.exe

is it negative float numbers can be removed?

or Only care positive number?

i find piano is using sin wave and frequency

but speaking wave is not piano

do I need to convert speaking wave into 1 d array of frequency? 
if so, how to convert the 2* 300000 array into frequency?

if I use the converted frequency save to wave , will the result sound play my voice speaking? Or only music?

If I use a pop music wave file , it will be 2* n array file? Do I need to convert to frequency ? Same as human speaking above? How to do?

@acer 

i had recorded a sound wave 5 seconds, over 2 * 300000 size matrix

when i use forloop to run,

it is very slow.

how to fasten the speed of processing wave file?

@acer 

it is like wave.

how about A and then B notes just like type piano A and then B?

is it easy to type C,D,E,F,G,A,B,C consecutively?

how to do?

 

@acer 

both methods not work

 

with(ExcelTools):
with(plots):
saveplot := proc(v_p, v_filename, v_w:="800", v_h:="600")
plotsetup("png",plotoutput=v_filename,plotoptions=cat("quality=100,noborder,width=",v_w,"height=",v_h));
print(plots[display](v_p));
plotsetup(default);
fclose(v_filename);
end:

buy := proc(ss,windowlength)
ma := []:
me := []:
p := dualaxisplot(listplot(ma, color = red), listplot(me, color = blue), style = line, gridlines = false);
saveplot(p,"C:\\Users\\secret\\Documents\\myfile1.png");
end proc;

sell := proc(ss,windowlength)
ma := []:
me := []:
p := dualaxisplot(listplot(ma, color = red), listplot(me, color = blue), style = line, gridlines = false);
saveplot(p,"C:\\Users\\secret\\Documents\\myfile2.png");
end proc;

save saveplot, buy, sell, "C:\\Users\\secret\\Documents\\streaming.m";

<html>
<script>
setTimeout(function(){ location.reload();}, 1000);
</script>
<p>Buy</p>
<img src="file:\\\C:\\Users\\secret\\Documents\\myfile1.png" ></img>
<p>Sell</p>
<img src="file:\\\C:\\Users\\secret\\Documents\\myfile2.png" ></img>
</html>
-----------------------------------------------------------
with(ExcelTools):
with(plots):
saveplot := proc(v_p, v_filename, v_w:="800", v_h:="600")
plotsetup("png",plotoutput=v_filename,plotoptions=cat("quality=100,noborder,width=",v_w,"height=",v_h));
print(plots[display](v_p));
fclose(v_filename);
plotsetup(default);
end:

buy := proc(ss,windowlength)
ma := []:
me := []:
p := dualaxisplot(listplot(ma, color = red), listplot(me, color = blue), style = line, gridlines = false);
return p;
end proc;

sell := proc(ss,windowlength)
ma := []:
me := []:
p := dualaxisplot(listplot(ma, color = red), listplot(me, color = blue), style = line, gridlines = false);
return p;
end proc;

save saveplot, buy, sell, "C:\\Users\\secret\\Documents\\streaming2.m";

read "C:\\Users\\secret\\Documents\\streaming2.m":
with(ExcelTools):
with(plots):
g1 := []:
g2 := []:
for i from 20 by -5 to 1 do
g1 := [op(g1), buy(i,100)]:
g2 := [op(g2), sell(i,100)]:
od:
animate(dualaxisplot,[g1[t]],t=1..3);

hello := seq(g1[t], t = 1 .. 100);
display([hello],insequence=true);

@mmcdara 

if I record a wave sound data or a song, then

i just Input half of data to predict or random generate the later half data and compare them whether the same

i know where is the turning point in wave sound data.

but I need to generate random data to go to the direction i want. But still has unknown about which thing create the next turning point.

hope to continuously generate brain wave in future that computer can think and become human in future

 

1 2 3 4 5 6 7 Last Page 2 of 44