• ALosh99

Created Solve ODE in python

I have four ordinary differential equation written in mathmatica : Simplify[DSolve[{y1'[x] == -0.162y1[x], y2'[x]=-0.148 y2[x]+ 0.055y1[x],y3'[x]==-0.134 y3[x]+ 0.033y1[x]+ 0.039y2[x],y4'[x]==-0.125y4[x]+0.021 y1[x]+0.025y2[x]+ 0.043y3[x], y1[0] == 100,y2[0]==4.76,y3[0]==69.7,y4[0]==0}, {y1[x], y2[x],y3[x],y4[x]}, x]] I am trying …
• ALosh99

Replied To a Post in Solve ODE in python

I have four ordinary differential equation written in mathmatica : Simplify[DSolve[{y1'[x] == -0.162y1[x], y2'[x]=-0.148 y2[x]+ 0.055y1[x],y3'[x]==-0.134 y3[x]+ 0.033y1[x]+ 0.039y2[x],y4'[x]==-0.125y4[x]+0.021 y1[x]+0.025y2[x]+ 0.043y3[x], y1[0] == 100,y2[0]==4.76,y3[0]==69.7,y4[0]==0}, {y1[x], y2[x],y3[x],y4[x]}, x]] I am trying …
• ALosh99

Began Watching Solve ODE in python

I have four ordinary differential equation written in mathmatica : Simplify[DSolve[{y1'[x] == -0.162y1[x], y2'[x]=-0.148 y2[x]+ 0.055y1[x],y3'[x]==-0.134 y3[x]+ 0.033y1[x]+ 0.039y2[x],y4'[x]==-0.125y4[x]+0.021 y1[x]+0.025y2[x]+ 0.043y3[x], y1[0] == 100,y2[0]==4.76,y3[0]==69.7,y4[0]==0}, {y1[x], y2[x],y3[x],y4[x]}, x]] I am trying …
• ALosh99

Replied To a Post in Directional derivative calculation in python

this calculation I can easly do it by hand. But I could not find a way to do it in python ? I appreciate your help
• ALosh99

Created Directional derivative calculation in python

I am trying to calculate some thing called directional derivatives of a vector b (which defined in attached file as an example) to calculate the directional derivatives of the vector …
• ALosh99

Replied To a Post in Directional derivative calculation in python

I am trying to calculate some thing called directional derivatives of a vector b (which defined in attached file as an example) to calculate the directional derivatives of the vector …
• ALosh99

Began Watching Directional derivative calculation in python

I am trying to calculate some thing called directional derivatives of a vector b (which defined in attached file as an example) to calculate the directional derivatives of the vector …
• ALosh99

Replied To a Post in Average weight in python

this what I have tried to do , but I am still missing somthing which I do not know what is it? def weighted(x, cols, w="weights"): return pd.Series(np.average(x[cols], weights=x[w], axis=0), …
• ALosh99

Edited Average weight in python

How can I calculate the average weight in python for two columns (x,y) data file, between 8<r< 9. in python I have tried this put it dose not work with …
• ALosh99

Edited Average weight in python

How can I calculate the average weight in python for two columns (x,y) data file, between 8<r< 9. in python I have tried this put it dose not work with …
• ALosh99

Created Average weight in python

How can I calculate the average weight in python for two columns (x,y) data file, between 8<r< 9. in python I have tried this put it dose not work with …
• ALosh99

Replied To a Post in Average weight in python

How can I calculate the average weight in python for two columns (x,y) data file, between 8<r< 9. in python I have tried this put it dose not work with …
• ALosh99

Began Watching Average weight in python

How can I calculate the average weight in python for two columns (x,y) data file, between 8<r< 9. in python I have tried this put it dose not work with …
• ALosh99

Replied To a Post in add Weight function to array data file

• ALosh99

Created add Weight function to array data file

I have two array data files. I want to add weight function to these two array which I ploted see attached file. what I am trying to do now is …
• ALosh99

Replied To a Post in add Weight function to array data file

I have two array data files. I want to add weight function to these two array which I ploted see attached file. what I am trying to do now is …
• ALosh99

Began Watching add Weight function to array data file

I have two array data files. I want to add weight function to these two array which I ploted see attached file. what I am trying to do now is …
• ALosh99

Replied To a Post in Python histogram bin shift by shifted values

I solved it plt.figure() plt.hist(x[7]+ 1 ,bins=800,color='y',histtype='step',linewidth=2,stacked=True) plt.show() thanks for your help.
• ALosh99

Replied To a Post in Python histogram bin shift by shifted values

Any help please how to shift the plot to the right in the x-axis? I have tried put I did not find the right way to do so?
• ALosh99

Created Python histogram bin shift by shifted values

I want to shift my plot to the right by fixed value , I have npy file contain 7 columns, I plot the histogram for the column number 7 as …
• ALosh99

Replied To a Post in Python histogram bin shift by shifted values

I want to shift my plot to the right by fixed value , I have npy file contain 7 columns, I plot the histogram for the column number 7 as …
• ALosh99

Began Watching Python histogram bin shift by shifted values

I want to shift my plot to the right by fixed value , I have npy file contain 7 columns, I plot the histogram for the column number 7 as …
• ALosh99

Replied To a Post in define a function with different variable

Thank you @xjr.If I want to add one parameter to the function and save the out put(sec_nucli) in a text file for example, I have try this: Sec_nucli = 0 …
• ALosh99

Replied To a Post in define a function with different variable

I have tried this : x = np.array([16.7, 16.5, 16.1, 15, 13.5,14.2, 14.9, 13.7])# an example D = np.array([0, 1, 4, 7, 16, 31, 64, 127])# example n_H = 0.9 …
• ALosh99

Created define a function with different variable

I want to define a function like this: n_H = 0.9 # constant . x = np.array([16.7, 16.5, 16.1, 15, 13.5,14.2, 14.9, 13.7])# example to test D = np.array([0, 1, …
• ALosh99

Replied To a Post in define a function with different variable

I want to define a function like this: n_H = 0.9 # constant . x = np.array([16.7, 16.5, 16.1, 15, 13.5,14.2, 14.9, 13.7])# example to test D = np.array([0, 1, …
• ALosh99

Began Watching define a function with different variable

I want to define a function like this: n_H = 0.9 # constant . x = np.array([16.7, 16.5, 16.1, 15, 13.5,14.2, 14.9, 13.7])# example to test D = np.array([0, 1, …
• ALosh99

Replied To a Post in defined an array and plot it

on the other word I have x=[x1,x2,....] x1: is the first point = ([27.266378342786531], [1.9505463431334713]), and so on.. how can I defined x ?
• ALosh99

Edited defined an array and plot it

I have this point in (x,y) : ([27.266378342786531], [1.9505463431334713]) Now I want to use this point(I have many points,I want to know how can I use this point first ) …
• ALosh99

Created defined an array and plot it

I have this point in (x,y) : ([27.266378342786531], [1.9505463431334713]) Now I want to use this point(I have many points,I want to know how can I use this point first ) …

The End.