JotaTR

30 Reputation

3 Badges

13 years, 32 days

MaplePrimes Activity


These are questions asked by JotaTR

Hi there,

 

I am trying to solve a system that has 5 unkown variables. I have 4 equation and a if statment in order to solve the system as it can be seen in the figure.

The problem is that nch4(t) and nar(t) are the input variables. If i put the IF EXPRESSION before the equation i get this...

Hi there.

 

I build a costum component on maplesim. It has 2 inputs and several outpus, like this:

 

As you cant see i get an error. At this simulation the constant where is probe1 is k=4. I have good results if n=2-~3.5. But what is strange is that if instead of a constant input n=4, i use a...

I am traying to perform the followig operation:

For a giving vector A, where A=[1,3,5]  (defined as A=([1,3,5],datatype = float), calculate a vector B where:

B=[10^1,10^3,10^5].

I tried to use a for cicle to calculate B:

 

for i from 1 by 1 to 3 do  B[i] := 10^A[i] end do

 

The problem is that i dont get a Vectr B but 3 different number with the name B[1],B[2],B[3]. Just B is not defined.

Hi,

I am trying to fit data to a function. I used the funtion Fit() but the results werent right. This is what i did:

 

T := Vector([600, 800, 1000, 1200, 1400, 1600, 1800, 2000, 2200, 2400], datatype = float)

 

Kpco2F := Vector([1.22179966016487*10^20, 8.12830516164100*10^13, 1.66341265037017*10^10, 5.80764417521312*10^7, 1.03276140576140*10^6, 50815.9442560561, 4931.73803954936, 765.596606911256, 168.267406107047, 47.7529273657691], datatype = float)

Hi,

The model that i uploaded (EqQui.msim) has a component with severall output and 4 inputs, but 2 of the inputs (LgKph2o and Lgkpco2) depends on one of the outputs. The 2 interpolation tables transfor the output variable (temperature) in this two inputs. All components works fine independtly (first "model", the one on the top), but if i link the exit of both interpolation tables mapleSim say it cant solve a lot of variables.

1 2 3 4 Page 3 of 4