-
December 22nd, 2012, 05:19 PM
#1
Arrays
Hey everyone, I am using matlab R2o11 in which the programming medium is c++. I am having these variables=
T=373 t0 376
V=0.09 to 1
P=T/V
I just need a result showing
First it should take T=373 and solve the equation using all volume values. Then it takes another temperature and do the same. Kindly help me generating code for this. Help will b really appreciated . Thanks.
-
December 22nd, 2012, 06:32 PM
#2
Re: Arrays
Your question doesn't have anything to do with arrays. You need nested for loops. The outer loop will increment temperature and the inner loop volume.
-
December 23rd, 2012, 04:13 AM
#3
Re: Arrays
Thanks. I need a code doing that . Actually I am new in it so I need a generated code. Plz provide me that. Thanks again
-
December 23rd, 2012, 08:56 AM
#4
Re: Arrays
Originally Posted by abidfarooq
Thanks. I need a code doing that . Actually I am new in it so I need a generated code. Plz provide me that. Thanks again
This isn't the write my code for me forum. Do you know how for loops work? Did you understand what I meant?
-
December 24th, 2012, 11:54 AM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|