Recent content by PaulaS
-
P
Python How to solve a system of nonlinear equations in python
Thanks AlephZero :) Finally, I was able to solve my problem.- PaulaS
- Post #9
- Forum: Programming and Computer Science
-
P
Python How to solve a system of nonlinear equations in python
Thanks a lot guys. After all, you were right. There must be some initial conditions or the problem cannot be solved. Here are the initial conditions that I have: 2y + 2z - 5 < 0 y + 2z -5 < 0 z < 0 How can I use these 3 inequalities to guess the initial guess?- PaulaS
- Post #6
- Forum: Programming and Computer Science
-
P
Python How to solve a system of nonlinear equations in python
I cannot guess the values for y,z, and t since after all these parameters refer to some physical parameters. And guessing the 'initial guess' will affect the results.- PaulaS
- Post #3
- Forum: Programming and Computer Science
-
P
How to figure the initial guess to optimize
I have the following problem to code using python: I have 7 parameters: x,y,z,t, HF, M1F, and M2F. The user should input any of these 3 and the program should calculate the rest. The relations that I have are: HF = -xyt M1F = -2xzt + 4yzt - xyt + 4tz^2 M2F = 2yzt - xyt 1 = -2xt...- PaulaS
- Thread
- Figure Initial
- Replies: 3
- Forum: Programming and Computer Science
-
P
Python How to solve a system of nonlinear equations in python
I have the following system of 3 nonlinear equations that I need to solve in python: 7 = -10zt + 4yzt - 5yt + 4tz^2 3 = 2yzt + 5yt 1 = - 10t + 2yt + 4zt Therefore I need to solve for y,z, and t. Attempt to solve the problem: def equations(p): y,z,t = p f1 = -10*z*t + 4*y*z*t - 5*y*t...- PaulaS
- Thread
- Nonlinear Python System
- Replies: 8
- Forum: Programming and Computer Science
-
P
MATLAB Organizing & Extracting Data from a Large Array
I tried it out. But I have 12,332 rows and these rows will contain 74 subarrays (I said earlier more than 20, it turned out 74 subarrays) I tried out your code, the first array was right, however the second one I got the following: 'Empty matrix: 0-by-7' (0 by 7 since my original array has 7...- PaulaS
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
MATLAB Organizing & Extracting Data from a Large Array
Hello there, Let's say I have the following array: (what interests me in the array is the first column) 1 5 9 1 4 9 1 8 9 1 9 6 2 5 6 2 4 8 2 4 7 2 6 9 2 3 0 2 0 4 3 5 8 3 4 8 3 9 8 4 8 5 4 8 9 4 8 5 4 3 9 4 8 7 5 8 9 5 8 9 5 4 8 5 7 8 5 6 2 ... and so on...- PaulaS
- Thread
- Array Data
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
MATLAB Customize 3D Function Markers in MATLAB with Texts - Quick Guide
Hello, I am working on MATLAB and I want to plot a function in 3D. However, I want the markers to be a letter instead of the markers provided by MATLAB. Is there a way I can do this? Thanks- PaulaS
- Thread
- Matlab
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
Fixing Footnote Placement in eqnarray: Tips and Tricks for Proper Formatting
I was able to fix it. If anyone is interested here is the new code: \begin{eqnarray*} \Omega(^4S_{3/2},^2D_{5/2}) &=& \frac{2J' + 1}{(2S' + 1)(2L' + 1)} \Omega(^4S, ^2D)\footnotemark\\ &=& \frac{2(5/2)+1}{(2)(5)}(6.9)\\ &=& 4.14\\ \end{eqnarray*} \footnotetext{Table 1}- PaulaS
- Post #2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
Fixing Footnote Placement in eqnarray: Tips and Tricks for Proper Formatting
Hello, I am writing a formula in 'eqnarray' and I need to write a footnote. Here is my code: \begin{eqnarray*} \Omega(^4S_{3/2},^2D_{5/2}) &=& \frac{2J' + 1}{(2S' + 1)(2L' + 1)} \Omega(^4S, ^2D)\footnote{Table 1}\\ &=& \frac{2(5/2)+1}{(2)(5)}(6.9)\\ &=& 4.14\\ \end{eqnarray*}...- PaulaS
- Thread
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
C/C++ Microsoft Visual Studio C++ error
Can you explain more rcgldr? I didn't get your point.- PaulaS
- Post #9
- Forum: Programming and Computer Science
-
P
C/C++ Microsoft Visual Studio C++ error
Finally it worked out. Thanks a lot :D- PaulaS
- Post #7
- Forum: Programming and Computer Science
-
P
C/C++ Microsoft Visual Studio C++ error
When I press the ctrl + F5 it works. But when I write system ("pause") before the int main, it doesn't. Thanks a lot for your help, appreciated.- PaulaS
- Post #5
- Forum: Programming and Computer Science
-
P
C/C++ Microsoft Visual Studio C++ error
The following image shows the program that I'm writing and the error that I'm getting. I hope this helps. After I click yes, the programs runs for 1 second "the black window" appears and then it disappears.- PaulaS
- Post #3
- Forum: Programming and Computer Science
-
P
C/C++ Microsoft Visual Studio C++ error
Hello, I'm new to Microsoft Visual Studio and new to the C++ program. I just installed the program and I'm trying to write my first program. First error that I get is: ========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ========== Why is my project out-of-date? Second...- PaulaS
- Thread
- C++ Error Visual
- Replies: 10
- Forum: Programming and Computer Science