Currently, I'm working to calculate price of item (k=c*a) i.e., variable 'c' it has three attributes consider c will operate either 0, 5 or 10 values c=[0 5 10], and its time of operating is a=[0 1 1 1 0 1 0 1 1] 1 and 0 mean working or not working. Now the question is ¨k¨ should be calculated when a=1 at the same time for three values of c (0 5 10). However, I'm having no idea how to do that can someone give me a suggestion for that. Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire