blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21 values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50 values | src_encoding stringclasses 23 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 29 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
beb24565800ac4ebafdb69e74898315d3c4d4347 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.32/Ex32.sce | c9c5217598bf34e11dfbb57a32cf16a915a9d630 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Ex32.sce | // Additional solved examples , Example 32 , pg 346
M1=198.5 //isotopic mass
Tc1=4.175 //critical temperature for M1 (in K)
Tc2=4.213 //critical temperature for M2 (in K)
alpha=0.5
//M^alpha * Tc=constant
M2=((M1^alpha*Tc1)/Tc2)^(1/alpha)
printf("Isotopic mass at critical temperature 4.133K\n")
printf("M2=%.3f ",M2)
|
76d43121a2fad9d21d40e8c24c786428a48a3b0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3889/CH2/EX2.4/Ex2_4.sce | 00723546e848ead4c6afc25d69abeb7cd9a86d5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 971 | sce | Ex2_4.sce | //Example 2.4
//page 63
//Control Systems: Principles and Design
//M Gopal, Second Edition, Tata McGraw-Hill
//Chapter: Dynamic Models and Dynamic Response
xdel(winsid())//close all graphics Windows
clear;
clc;
// Transfer function
s= %s;
//s=poly(0,'s');
y=1;
r=(s^2) + (3*s) + 2;
//continuous time linear model created
g=syslin('c',y/r);
clf();
t=0:0.5:100;
a=size(t)
u=ones(a(1),a(2));
//step response
y1=csim(u,t,[g*5]);
//ramp response
u2= 5* t;
y2=csim(u2,t,g)
//plot
subplot(211)
plot(t,y1)
m=gca();
m.auto_scale = "off"
m.data_bounds = [0,0;6,6]
plot(t,5*u)
title('Step Response of transfer function','fontsize',3)
xlabel('Time t (sec.)','fontsize',2)
ylabel('Amplitude','fontsize',2)
subplot(212)
plot(t,y2)
m=gca();
m.auto_scale = "off"
m.data_bounds = [0,0;10,10]
plot(t,u2)
title('Ramp Response of transfer function','fontsize',3)
xlabel('Time t (sec.)','fontsize',2)
ylabel('Amplitude','fontsize',2)
|
ed0270b35a8ab6dbae4ef47f280616e182f0dbbe | 43799901e22e995d4db64000ef28c0a787aeb11b | /ISAWIN/LINOV/SAT2020/appli.tst | ed8ee10a43a7c6f27ae155d0644e894ae73529b8 | [
"WTFPL"
] | permissive | aquaforum/tench_catch | 7082d8e8f3a224aa50be9150a96362f2f323a2be | 3f377476d82d7343edd985a6d3a41b57dc301f98 | refs/heads/master | 2023-07-17T13:33:10.901467 | 2021-08-22T19:29:09 | 2021-08-22T19:29:09 | 398,885,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,026 | tst | appli.tst | @ISA_SYMBOLS,80855926
#NAME,sat2020,3.41
#DATE,22.09.2020
#SIZE,G=13,S=0,T=0,L=0,P=5,V=101
#COMMENT,wsma1tst
@PROGRAMS,13
#!5001,PARM_RAM
#!5002,ANALOG
#!5003,GASPUMP
#!5004,CONTROL
#!5005,TX_X
#!5006,BLEDING
#!5007,DEXPO
#!5008,MUX2
#!5009,FLIMIT
#!500A,SLOW_UP
#!500B,KALMAN
#!500C,P_P0
#!500D,PIDMY
@STEPS,0
@TRANSITIONS,0
@BOOLEANS,142
#!1001,X_01,+I,!0000,FALSE,TRUE
#!1002,X_02,+I,!0000,FALSE,TRUE
#!1003,X_03,+I,!0000,FALSE,TRUE
#!1004,X_04,+I,!0000,FALSE,TRUE
#!1005,X_05,+I,!0000,FALSE,TRUE
#!1006,X_06,+I,!0000,FALSE,TRUE
#!1007,X_07,+I,!0000,FALSE,TRUE
#!1008,X_08,+I,!0000,FALSE,TRUE
#!100A,X_10,+I,!0000,FALSE,TRUE
#!100B,X_11,+I,!0000,FALSE,TRUE
#!100C,X_12,+I,!0000,FALSE,TRUE
#!100D,X_13,+I,!0000,FALSE,TRUE
#!100E,X_14,+I,!0000,FALSE,TRUE
#!100F,X_15,+I,!0000,FALSE,TRUE
#!1010,X_16,+I,!0000,FALSE,TRUE
#!1011,Y_01,+O,!0000,FALSE,TRUE
#!1012,Y_02,+O,!0000,FALSE,TRUE
#!1013,Y_03,+O,!0000,FALSE,TRUE
#!1014,Y_04,+O,!0000,FALSE,TRUE
#!1015,Y_05,+O,!0000,FALSE,TRUE
#!1016,Y_06,+O,!0000,FALSE,TRUE
#!1017,Y_07,+O,!0000,FALSE,TRUE
#!1019,Y_09,+O,!0000,FALSE,TRUE
#!101A,Y_10,+O,!0000,FALSE,TRUE
#!101B,Y_11,+O,!0000,FALSE,TRUE
#!101C,Y_12,+O,!0000,FALSE,TRUE
#!101D,Y_13,+O,!0000,FALSE,TRUE
#!101E,Y_14,+O,!0000,FALSE,TRUE
#!101F,Y_15,+O,!0000,FALSE,TRUE
#!1020,Y_16,+O,!0000,FALSE,TRUE
#!1027,RUN,+X,!0000,FALSE,TRUE
#!1028,X_09,+X,!0000,FALSE,TRUE
#!1029,Y_08,+X,!0000,FALSE,TRUE
#!102A,SAVE,+X,!0000,FALSE,TRUE
#!102B,TIME_SET,+X,!0000,FALSE,TRUE
#!102C,MODE_01,+X,!0000,FALSE,TRUE
#!102D,MODE_10,+X,!0000,FALSE,TRUE
#!102E,MODE_02,+X,!0000,FALSE,TRUE
#!102F,MODE_11,+X,!0000,FALSE,TRUE
#!1030,MODE_03,+X,!0000,FALSE,TRUE
#!1031,MODE_20,+X,!0000,FALSE,TRUE
#!1032,MODE_12,+X,!0000,FALSE,TRUE
#!1033,MODE_04,+X,!0000,FALSE,TRUE
#!1034,MODE_21,+X,!0000,FALSE,TRUE
#!1035,MODE_13,+X,!0000,FALSE,TRUE
#!1036,MODE_14,+X,!0000,FALSE,TRUE
#!1037,MODE_06,+X,!0000,FALSE,TRUE
#!1038,MODE_15,+X,!0000,FALSE,TRUE
#!1039,MODE_07,+X,!0000,FALSE,TRUE
#!103A,MODE_16,+X,!0000,FALSE,TRUE
#!103B,MODE_08,+X,!0000,FALSE,TRUE
#!103C,MODE_09,+X,!0000,FALSE,TRUE
#!103D,MODE_18,+X,!0000,FALSE,TRUE
#!103E,MODE_19,+X,!0000,FALSE,TRUE
#!103F,AM_PUMP_01,+X,!0000,FALSE,TRUE
#!1040,M_C_01,+X,!0000,FALSE,TRUE
#!1041,M_C_10,+X,!0000,FALSE,TRUE
#!1042,M_C_02,+X,!0000,FALSE,TRUE
#!1043,M_C_11,+X,!0000,FALSE,TRUE
#!1044,M_C_20,+X,!0000,FALSE,TRUE
#!1045,M_C_03,+X,!0000,FALSE,TRUE
#!1046,M_C_12,+X,!0000,FALSE,TRUE
#!1047,M_C_21,+X,!0000,FALSE,TRUE
#!1048,M_C_04,+X,!0000,FALSE,TRUE
#!1049,M_C_13,+X,!0000,FALSE,TRUE
#!104A,M_C_05,+X,!0000,FALSE,TRUE
#!104B,M_C_14,+X,!0000,FALSE,TRUE
#!104C,M_C_06,+X,!0000,FALSE,TRUE
#!104D,M_C_15,+X,!0000,FALSE,TRUE
#!104E,M_C_07,+X,!0000,FALSE,TRUE
#!104F,M_C_16,+X,!0000,FALSE,TRUE
#!1050,M_C_08,+X,!0000,FALSE,TRUE
#!1051,M_C_17,+X,!0000,FALSE,TRUE
#!1052,M_C_09,+X,!0000,FALSE,TRUE
#!1053,M_C_18,+X,!0000,FALSE,TRUE
#!1054,M_C_19,+X,!0000,FALSE,TRUE
#!1055,AM_01,+X,!0000,FALSE,TRUE
#!1056,AM_10,+X,!0000,FALSE,TRUE
#!1057,AM_02,+X,!0000,FALSE,TRUE
#!1058,AM_11,+X,!0000,FALSE,TRUE
#!1059,AM_03,+X,!0000,FALSE,TRUE
#!105A,AM_20,+X,!0000,FALSE,TRUE
#!105B,AM_12,+X,!0000,FALSE,TRUE
#!105C,AM_04,+X,!0000,FALSE,TRUE
#!105D,AM_21,+X,!0000,FALSE,TRUE
#!105E,AM_13,+X,!0000,FALSE,TRUE
#!105F,AM_05,+X,!0000,FALSE,TRUE
#!1060,AM_22,+X,!0000,FALSE,TRUE
#!1061,AM_14,+X,!0000,FALSE,TRUE
#!1062,AM_06,+X,!0000,FALSE,TRUE
#!1063,AM_23,+X,!0000,FALSE,TRUE
#!1064,AM_15,+X,!0000,FALSE,TRUE
#!1065,AM_07,+X,!0000,FALSE,TRUE
#!1066,AM_16,+X,!0000,FALSE,TRUE
#!1067,AM_08,+X,!0000,FALSE,TRUE
#!1068,AM_17,+X,!0000,FALSE,TRUE
#!1069,AM_09,+X,!0000,FALSE,TRUE
#!106A,AM_18,+X,!0000,FALSE,TRUE
#!106B,AM_19,+X,!0000,FALSE,TRUE
#!106C,INIT,+X,!5001,FALSE,TRUE
#!106D,REJ_01,+X,!0000,FALSE,TRUE
#!106E,REJ_02,+X,!0000,FALSE,TRUE
#!106F,EN_P_01,+X,!0000,FALSE,TRUE
#!1070,EN_P_10,+X,!0000,FALSE,TRUE
#!1071,REJ_03,+X,!0000,FALSE,TRUE
#!1072,EN_P_02,+X,!0000,FALSE,TRUE
#!1073,REJ_12,+X,!0000,FALSE,TRUE
#!1074,EN_P_03,+X,!0000,FALSE,TRUE
#!1075,EN_P_04,+X,!0000,FALSE,TRUE
#!1076,EN_P_05,+X,!0000,FALSE,TRUE
#!1077,REJ_05,+X,!0000,FALSE,TRUE
#!1078,EN_P_06,+X,!0000,FALSE,TRUE
#!1079,REJ_15,+X,!0000,FALSE,TRUE
#!107A,REJ_07,+X,!0000,FALSE,TRUE
#!107B,REJ_08,+X,!0000,FALSE,TRUE
#!107C,REJ_17,+X,!0000,FALSE,TRUE
#!107D,REJ_18,+X,!0000,FALSE,TRUE
#!107E,RES,+X,!5001,FALSE,TRUE
#!107F,AO_12,+X,!0000,FALSE,TRUE
#!1080,TMP,+X,!0000,FALSE,TRUE
#!1081,CTRL,+X,!5003,FALSE,TRUE
#!1082,GP3,+X,!5003,FALSE,TRUE
#!1083,GP2,+X,!5003,FALSE,TRUE
#!1084,GP,+X,!5003,FALSE,TRUE
#!1085,ARUN,+X,!5004,FALSE,TRUE
#!1086,FIRST,+X,!500A,FALSE,TRUE
#!1087,AUTO_O,+X,!500C,FALSE,TRUE
#!1088,P_10,+X,!5006,FALSE,TRUE
#!1089,RE_TS0,+X,!5006,FALSE,TRUE
#!108A,P_06,+X,!5006,FALSE,TRUE
#!108B,P_05,+X,!5006,FALSE,TRUE
#!108C,P_04,+X,!5006,FALSE,TRUE
#!108D,P_03,+X,!5006,FALSE,TRUE
#!108E,P_02,+X,!5006,FALSE,TRUE
#!108F,P_01,+X,!5006,FALSE,TRUE
#!1090,SL,+X,!5008,FALSE,TRUE
#!1091,RUN_,+X,!500A,FALSE,TRUE
#!1092,RUN_,+X,!500B,FALSE,TRUE
#!1093,MODE_,+X,!500C,FALSE,TRUE
#!1094,AUTO_,+X,!500C,FALSE,TRUE
#!1095,AUTO_,+X,!500D,FALSE,TRUE
#!1096,MODE_,+X,!500D,FALSE,TRUE
@ANALOGS,417
#!2040,XMIN_01,+X,!0000,F,
#!2041,TD_05,+X,!0000,F,
#!2042,XMIN_10,+X,!0000,F,
#!2043,XMIN_02,+X,!0000,F,
#!2044,V_01,+X,!0000,F,
#!2045,TD_14,+X,!0000,F,
#!2046,XMIN_11,+X,!0000,F,
#!2047,V_10,+X,!0000,F,
#!2048,XMAX_01,+X,!0000,F,
#!2049,XMIN_03,+X,!0000,F,
#!204A,XMIN_20,+X,!0000,F,
#!204B,TD_06,+X,!0000,F,
#!204C,TP_ZD_01,+X,!0000,I,
#!204D,XMAX_10,+X,!0000,F,
#!204E,XMIN_12,+X,!0000,F,
#!204F,TP_ZD_02,+X,!0000,I,
#!2050,XMAX_02,+X,!0000,F,
#!2051,XMIN_04,+X,!0000,F,
#!2052,TP_ZD_10,+X,!0000,I,
#!2053,XMIN_21,+X,!0000,F,
#!2054,TP_ZD_03,+X,!0000,I,
#!2055,MM_S,+X,!0000,I,
#!2056,TP_ZD_04,+X,!0000,I,
#!2057,XMAX_11,+X,!0000,F,
#!2058,XMIN_13,+X,!0000,F,
#!2059,TD_15,+X,!0000,F,
#!205A,TP_ZD_05,+X,!0000,I,
#!205B,XMAX_03,+X,!0000,F,
#!205C,XMIN_05,+X,!0000,F,
#!205D,XMAX_20,+X,!0000,F,
#!205E,TP_ZD_06,+X,!0000,I,
#!205F,K2_12,+X,!0000,F,
#!2060,XMAX_12,+X,!0000,F,
#!2061,XMIN_14,+X,!0000,F,
#!2062,TD_07,+X,!0000,F,
#!2063,V_02,+X,!0000,F,
#!2064,XMAX_04,+X,!0000,F,
#!2065,XMIN_06,+X,!0000,F,
#!2066,XMAX_21,+X,!0000,F,
#!2067,V_11,+X,!0000,F,
#!2068,K2_21,+X,!0000,F,
#!2069,XMAX_13,+X,!0000,F,
#!206A,XMIN_15,+X,!0000,F,
#!206B,XMAX_05,+X,!0000,F,
#!206C,XMIN_07,+X,!0000,F,
#!206D,TD_16,+X,!0000,F,
#!206E,V_20,+X,!0000,F,
#!206F,XMAX_14,+X,!0000,F,
#!2070,XMIN_16,+X,!0000,F,
#!2071,XMAX_06,+X,!0000,F,
#!2072,XMIN_08,+X,!0000,F,
#!2073,TD_08,+X,!0000,F,
#!2074,XMIN_17,+X,!0000,F,
#!2075,XMAX_15,+X,!0000,F,
#!2076,XMAX_07,+X,!0000,F,
#!2077,XMIN_09,+X,!0000,F,
#!2078,TD_17,+X,!0000,F,
#!2079,V_03,+X,!0000,F,
#!207A,XMIN_18,+X,!0000,F,
#!207B,XMAX_16,+X,!0000,F,
#!207C,XMAX_08,+X,!0000,F,
#!207D,V_12,+X,!0000,F,
#!207E,TD_09,+X,!0000,F,
#!207F,XMIN_19,+X,!0000,F,
#!2080,XMAX_17,+X,!0000,F,
#!2081,V_21,+X,!0000,F,
#!2082,K3_12,+X,!0000,F,
#!2083,XMAX_09,+X,!0000,F,
#!2084,V_30,+X,!0000,F,
#!2085,XMAX_18,+X,!0000,F,
#!2086,TD_18,+X,!0000,F,
#!2087,K3_21,+X,!0000,F,
#!2088,XMAX_19,+X,!0000,F,
#!2089,V_04,+X,!0000,F,
#!208A,V_13,+X,!0000,F,
#!208B,TD_19,+X,!0000,F,
#!208C,V_22,+X,!0000,F,
#!208D,V_31,+X,!0000,F,
#!208E,K2_08,+X,!0000,F,
#!208F,V_40,+X,!0000,F,
#!2090,K4_12,+X,!0000,F,
#!2091,V_05,+X,!0000,F,
#!2092,V_14,+X,!0000,F,
#!2093,V_23,+X,!0000,F,
#!2094,V_32,+X,!0000,F,
#!2095,CBT,+X,!0000,I,
#!2096,V_41,+X,!0000,F,
#!2097,P0_01,+X,!0000,F,
#!2098,TI_01,+X,!0000,F,
#!2099,V_50,+X,!0000,F,
#!209A,V_06,+X,!0000,F,
#!209B,MON_S,+X,!0000,I,
#!209C,P0_10,+X,!0000,F,
#!209D,V_15,+X,!0000,F,
#!209E,K3_08,+X,!0000,F,
#!209F,TI_10,+X,!0000,F,
#!20A0,V_24,+X,!0000,F,
#!20A1,P0_02,+X,!0000,F,
#!20A2,TI_02,+X,!0000,F,
#!20A3,V_33,+X,!0000,F,
#!20A4,V_42,+X,!0000,F,
#!20A5,P0_11,+X,!0000,F,
#!20A6,TI_11,+X,!0000,F,
#!20A7,V_51,+X,!0000,F,
#!20A8,V_07,+X,!0000,F,
#!20A9,P0_03,+X,!0000,F,
#!20AA,TI_03,+X,!0000,F,
#!20AB,V_16,+X,!0000,F,
#!20AC,TI_20,+X,!0000,F,
#!20AD,V_25,+X,!0000,F,
#!20AE,P0_12,+X,!0000,F,
#!20AF,TI_12,+X,!0000,F,
#!20B0,V_34,+X,!0000,F,
#!20B1,P0_04,+X,!0000,F,
#!20B2,V_43,+X,!0000,F,
#!20B3,TI_04,+X,!0000,F,
#!20B4,TI_21,+X,!0000,F,
#!20B5,V_08,+X,!0000,F,
#!20B6,P0_13,+X,!0000,F,
#!20B7,TI_13,+X,!0000,F,
#!20B8,V_17,+X,!0000,F,
#!20B9,V_26,+X,!0000,F,
#!20BA,TI_05,+X,!0000,F,
#!20BB,V_35,+X,!0000,F,
#!20BC,P0_14,+X,!0000,F,
#!20BD,V_44,+X,!0000,F,
#!20BE,TI_14,+X,!0000,F,
#!20BF,V_09,+X,!0000,F,
#!20C0,TI_06,+X,!0000,F,
#!20C1,V_18,+X,!0000,F,
#!20C2,P0_15,+X,!0000,F,
#!20C3,V_27,+X,!0000,F,
#!20C4,TI_15,+X,!0000,F,
#!20C5,V_36,+X,!0000,F,
#!20C6,TI_07,+X,!0000,F,
#!20C7,V_45,+X,!0000,F,
#!20C8,P0_16,+X,!0000,F,
#!20C9,TI_16,+X,!0000,F,
#!20CA,V_19,+X,!0000,F,
#!20CB,P0_08,+X,!0000,F,
#!20CC,TI_08,+X,!0000,F,
#!20CD,V_28,+X,!0000,F,
#!20CE,V_37,+X,!0000,F,
#!20CF,TI_17,+X,!0000,F,
#!20D0,V_46,+X,!0000,F,
#!20D1,P0_09,+X,!0000,F,
#!20D2,TI_09,+X,!0000,F,
#!20D3,KPR_01,+X,!0000,F,
#!20D4,CB_01,+X,!0000,I,
#!20D5,P0_18,+X,!0000,F,
#!20D6,KPR_10,+X,!0000,F,
#!20D7,TI_18,+X,!0000,F,
#!20D8,V_29,+X,!0000,F,
#!20D9,KPR_02,+X,!0000,F,
#!20DA,V_38,+X,!0000,F,
#!20DB,KPR_11,+X,!0000,F,
#!20DC,V_47,+X,!0000,F,
#!20DD,CB_02,+X,!0000,I,
#!20DE,KPR_20,+X,!0000,F,
#!20DF,P0_19,+X,!0000,F,
#!20E0,TI_19,+X,!0000,F,
#!20E1,KPR_03,+X,!0000,F,
#!20E2,KPR_12,+X,!0000,F,
#!20E3,KPR_21,+X,!0000,F,
#!20E4,CB_03,+X,!0000,I,
#!20E5,KPR_04,+X,!0000,F,
#!20E6,V_39,+X,!0000,F,
#!20E7,KPR_13,+X,!0000,F,
#!20E8,V_48,+X,!0000,F,
#!20E9,KPR_05,+X,!0000,F,
#!20EA,CB_04,+X,!0000,I,
#!20EB,KPR_14,+X,!0000,F,
#!20EC,KPR_06,+X,!0000,F,
#!20ED,KPR_15,+X,!0000,F,
#!20EE,C_01,+X,!0000,F,
#!20EF,CB_05,+X,!0000,I,
#!20F0,V_49,+X,!0000,F,
#!20F1,KPR_07,+X,!0000,F,
#!20F2,C_10,+X,!0000,F,
#!20F3,KR_P_01,+X,!0000,I,
#!20F4,KPR_16,+X,!0000,F,
#!20F5,KR_P_10,+X,!0000,I,
#!20F6,KR_P_02,+X,!0000,I,
#!20F7,KPR_08,+X,!0000,F,
#!20F8,CB_06,+X,!0000,I,
#!20F9,KPR_17,+X,!0000,F,
#!20FA,KR_P_03,+X,!0000,I,
#!20FB,C_02,+X,!0000,F,
#!20FC,KPR_09,+X,!0000,F,
#!20FD,KR_P_04,+X,!0000,I,
#!20FE,C_11,+X,!0000,F,
#!20FF,KPR_18,+X,!0000,F,
#!2100,SP_01,+X,!0000,F,
#!2101,C_20,+X,!0000,F,
#!2102,KR_P_05,+X,!0000,I,
#!2103,KPR_19,+X,!0000,F,
#!2104,KR_P_06,+X,!0000,I,
#!2105,SP_10,+X,!0000,F,
#!2106,KV_51,+X,!0000,F,
#!2107,SP_02,+X,!0000,F,
#!2108,C_03,+X,!0000,F,
#!2109,C_12,+X,!0000,F,
#!210A,SP_11,+X,!0000,F,
#!210B,C_21,+X,!0000,F,
#!210C,SP_03,+X,!0000,F,
#!210D,SP_12,+X,!0000,F,
#!210E,C_04,+X,!0000,F,
#!210F,C_13,+X,!0000,F,
#!2110,SP_04,+X,!0000,F,
#!2111,SP_21,+X,!0000,F,
#!2112,C_22,+X,!0000,F,
#!2113,SP_13,+X,!0000,F,
#!2114,SP_05,+X,!0000,F,
#!2115,C_05,+X,!0000,F,
#!2116,DD_S,+X,!0000,I,
#!2117,C_14,+X,!0000,F,
#!2118,SP_14,+X,!0000,F,
#!2119,C_23,+X,!0000,F,
#!211A,SP_06,+X,!0000,F,
#!211B,SP_15,+X,!0000,F,
#!211C,C_06,+X,!0000,F,
#!211D,SP_07,+X,!0000,F,
#!211E,C_15,+X,!0000,F,
#!211F,SP_16,+X,!0000,F,
#!2120,SP_08,+X,!0000,F,
#!2121,C_07,+X,!0000,F,
#!2122,SP_17,+X,!0000,F,
#!2123,C_16,+X,!0000,F,
#!2124,SP_09,+X,!0000,F,
#!2125,SP_18,+X,!0000,F,
#!2126,MAX_V_17,+X,!0000,F,
#!2127,C_08,+X,!0000,F,
#!2128,C_17,+X,!0000,F,
#!2129,SP_19,+X,!0000,F,
#!212A,MIN_V_17,+X,!0000,F,
#!212B,SS_S,+X,!0000,I,
#!212C,C_09,+X,!0000,F,
#!212D,C_18,+X,!0000,F,
#!212E,C_19,+X,!0000,F,
#!212F,SPR_01,+X,!0000,F,
#!2130,SPR_02,+X,!0000,F,
#!2131,SPR_03,+X,!0000,F,
#!2132,SPR_12,+X,!0000,F,
#!2133,SPR_05,+X,!0000,F,
#!2134,SPR_15,+X,!0000,F,
#!2135,K_01,+X,!0000,F,
#!2136,SPR_07,+X,!0000,F,
#!2137,SPR_08,+X,!0000,F,
#!2138,SPR_17,+X,!0000,F,
#!2139,K_02,+X,!0000,F,
#!213A,KC_22,+X,!0000,F,
#!213B,K_03,+X,!0000,F,
#!213C,K_12,+X,!0000,F,
#!213D,KC_23,+X,!0000,F,
#!213E,F_V_01,+X,!0000,I,
#!213F,F_V_10,+X,!0000,I,
#!2140,HH_S,+X,!0000,I,
#!2141,F_V_02,+X,!0000,I,
#!2142,F_V_11,+X,!0000,I,
#!2143,F_V_20,+X,!0000,I,
#!2144,F_V_03,+X,!0000,I,
#!2145,F_V_12,+X,!0000,I,
#!2146,K_05,+X,!0000,F,
#!2147,F_V_21,+X,!0000,I,
#!2148,F_V_04,+X,!0000,I,
#!2149,KKOR_01,+X,!0000,F,
#!214A,F_V_30,+X,!0000,I,
#!214B,F_V_13,+X,!0000,I,
#!214C,KKOR_02,+X,!0000,F,
#!214D,F_V_22,+X,!0000,I,
#!214E,F_V_05,+X,!0000,I,
#!214F,F_V_31,+X,!0000,I,
#!2150,KKOR_03,+X,!0000,F,
#!2151,F_V_14,+X,!0000,I,
#!2152,KKOR_12,+X,!0000,F,
#!2153,F_V_23,+X,!0000,I,
#!2154,F_V_06,+X,!0000,I,
#!2155,K_15,+X,!0000,F,
#!2156,F_V_32,+X,!0000,I,
#!2157,F_V_15,+X,!0000,I,
#!2158,KKOR_05,+X,!0000,F,
#!2159,F_V_24,+X,!0000,I,
#!215A,F_V_07,+X,!0000,I,
#!215B,F_V_33,+X,!0000,I,
#!215C,F_V_16,+X,!0000,I,
#!215D,KKOR_15,+X,!0000,F,
#!215E,KKOR_07,+X,!0000,F,
#!215F,F_V_25,+X,!0000,I,
#!2160,K_07,+X,!0000,F,
#!2161,F_V_08,+X,!0000,I,
#!2162,F_V_34,+X,!0000,I,
#!2163,KKOR_08,+X,!0000,F,
#!2164,SP2_12,+X,!0000,F,
#!2165,F_V_17,+X,!0000,I,
#!2166,KKOR_17,+X,!0000,F,
#!2167,F_V_26,+X,!0000,I,
#!2168,F_V_09,+X,!0000,I,
#!2169,F_V_35,+X,!0000,I,
#!216A,F_V_18,+X,!0000,I,
#!216B,F_V_27,+X,!0000,I,
#!216C,SP2_05,+X,!0000,F,
#!216D,K_08,+X,!0000,F,
#!216E,F_V_36,+X,!0000,I,
#!216F,K_17,+X,!0000,F,
#!2170,F_V_19,+X,!0000,I,
#!2171,F_V_28,+X,!0000,I,
#!2172,F_V_37,+X,!0000,I,
#!2173,SP2_15,+X,!0000,F,
#!2174,F_V_29,+X,!0000,I,
#!2175,F_V_38,+X,!0000,I,
#!2176,F_V_39,+X,!0000,I,
#!2177,SP2_18,+X,!0000,F,
#!2178,YY_S,+X,!0000,I,
#!2179,TM_ZD_01,+X,!0000,I,
#!217A,TM_ZD_02,+X,!0000,I,
#!217B,TM_ZD_10,+X,!0000,I,
#!217C,TM_ZD_03,+X,!0000,I,
#!217D,TM_ZD_04,+X,!0000,I,
#!217E,TM_ZD_05,+X,!0000,I,
#!217F,TM_ZD_06,+X,!0000,I,
#!2180,TD_01,+X,!0000,F,
#!2181,TD_10,+X,!0000,F,
#!2182,TD_02,+X,!0000,F,
#!2183,TD_11,+X,!0000,F,
#!2184,TD_03,+X,!0000,F,
#!2185,TD_20,+X,!0000,F,
#!2186,TD_12,+X,!0000,F,
#!2187,TD_04,+X,!0000,F,
#!2188,TD_21,+X,!0000,F,
#!2189,TD_13,+X,!0000,F,
#!218A,II,+X,!5001,I,
#!218B,ADR,+X,!5001,I,
#!218C,XT_10,+X,!0000,F,
#!218D,XT_09,+X,!0000,F,
#!218E,XT_08,+X,!0000,F,
#!218F,XT_07,+X,!0000,F,
#!2190,XT_06,+X,!0000,F,
#!2191,XT_05,+X,!0000,F,
#!2192,XT_04,+X,!0000,F,
#!2193,XT_03,+X,!0000,F,
#!2194,XT_02,+X,!0000,F,
#!2195,XT_01,+X,!0000,F,
#!2196,XT_21,+X,!0000,F,
#!2197,TC_21,+X,!0000,F,
#!2198,TC_20,+X,!0000,I,
#!2199,XT_20,+X,!0000,F,
#!219A,XT_19,+X,!0000,F,
#!219B,XT_18,+X,!0000,F,
#!219C,XT_17,+X,!0000,F,
#!219D,XT_16,+X,!0000,F,
#!219E,XT_15,+X,!0000,F,
#!219F,XT_14,+X,!0000,F,
#!21A0,XT_13,+X,!0000,F,
#!21A1,XT_12,+X,!0000,F,
#!21A2,XT_11,+X,!0000,F,
#!21A3,TSP_12,+X,!0000,F,
#!21A4,TPV_12,+X,!0000,F,
#!21A5,TIME_S,+X,!0000,I,
#!21A6,V_00,+X,!0000,F,
#!21A7,V3_07,+X,!5002,F,
#!21A8,V2_07,+X,!5002,F,
#!21A9,V0054,+X,!5002,F,
#!21AA,V0034,+X,!5002,F,
#!21AB,PMP,+X,!5002,F,
#!21AC,STATE,+X,!500B,F,
#!21AD,STATE_,+X,!500B,F,
#!21AE,W005,+X,!5003,I,
#!21AF,S001,+X,!5003,I,
#!21B0,W004,+X,!5003,I,
#!21B1,W003,+X,!5003,I,
#!21B2,W002,+X,!5003,I,
#!21B3,W001,+X,!5003,I,
#!21B4,KE_,+X,!500D,F,
#!21B5,SUM_,+X,!500D,F,
#!21B6,XT_,+X,!500D,F,
#!21B7,SUM0_,+X,!500D,F,
#!21B8,DELTA,+X,!500A,F,
#!21B9,OUT_,+X,!500A,F,
#!21BA,PV_O,+X,!500C,F,
#!21BB,LOCOUT,+X,!500A,F,
#!21BC,XOUT_,+X,!500D,F,
#!21BD,KP_O,+X,!500C,F,
#!21BE,X0_O,+X,!500C,F,
#!21BF,SP_O,+X,!500C,F,
#!21C0,OC_13,+X,!5006,F,
#!21C1,DEXPO,+X,!5007,F,
#!21C2,EXP_,+X,!5007,F,
#!21C3,SP_,+X,!5007,F,
#!21C4,PV_,+X,!5007,F,
#!21C5,LO,+X,!5007,F,
#!21C6,D_,+X,!5007,F,
#!21C7,MUX2,+X,!5008,F,
#!21C8,IN2,+X,!5008,F,
#!21C9,IN1,+X,!5008,F,
#!21CA,FLIMIT,+X,!5009,F,
#!21CB,MAX_,+X,!5009,F,
#!21CC,IN,+X,!5009,F,
#!21CD,MIN_,+X,!5009,F,
#!21CE,MAX_,+X,!500A,F,
#!21CF,MIN_,+X,!500A,F,
#!21D0,IN_,+X,!500A,F,
#!21D1,XIN_,+X,!500B,F,
#!21D2,F_,+X,!500B,F,
#!21D3,KP_,+X,!500C,F,
#!21D4,X0_,+X,!500C,F,
#!21D5,SP_,+X,!500C,F,
#!21D6,PV_,+X,!500C,F,
#!21D7,P0_,+X,!500C,F,
#!21D8,KP_,+X,!500D,F,
#!21D9,X0_,+X,!500D,F,
#!21DA,SP_,+X,!500D,F,
#!21DB,PV_,+X,!500D,F,
#!21DC,XMAX_,+X,!500D,F,
#!21DD,XMIN_,+X,!500D,F,
#!21DE,P0_,+X,!500D,F,
#!21DF,TD_,+X,!500D,F,
#!21E0,TI_,+X,!500D,F,
@TIMERS,8
#!3001,TP_05,+X,!5006
#!3002,TP_04,+X,!5006
#!3003,TP_03,+X,!5006
#!3004,TP_02,+X,!5006
#!3005,TP_01,+X,!5006
#!3006,TP_10,+X,!5006
#!3007,TP_06,+X,!5006
#!3008,TUP_,+X,!500A
@MESSAGES,0
@USP,5
#!B001,RETAIN_X
#!B002,V0_10_TO
#!B003,A4_20_TO
#!B004,INT_REAL
#!B005,TO_A4_20
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@END_SYMBOLS
|
f56abfb09e411de8c132a94c01972f45562d5dba | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/stiffness.sce | 9e86af857bac9895e1467ecb098798b8ece21a08 | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 36 | sce | stiffness.sce | A=[ 0 1
-1000 -1001]
spec(A)
|
b0c2df79c40d30ff575ee9923df927c51eabe8d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH6/EX6.1/example6_1.sce | a9c77873fb7edd845527c07d2fe62b5244982dc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | example6_1.sce | //Chapter 6
//Example 6_1
//Page 109
clear;clc;
kw=300;
pf=0.6;
kva=kw/pf;
p=kva-kw;
printf("kVA = %0.f kW \n\n", kva);
printf("Increased power supplied by the alternator = %0.f kW \n\n", p);
|
4d1fed290b254c0884d6738a5319d076e78f4a85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH4/EX4.5/eg_4_5.sce | 489ebefabee39b0235530b9cb2e995a84e6f6f82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | eg_4_5.sce | //Example 4.5
//Convolution sum of x[n] and h[n]
clc
clear
n=0:2;
n1=0:4;
x=[0.5 0.5 0.5];
h=[3 2 1];
y=coeff(poly(h,'z','c')*poly(x,'z','c'))
disp("Convolution of x[n] and h[n] is...")
disp(y)
subplot(3,1,1)
xtitle("input signal x(n)","....................n","x[n]");
plot(n,x,'.');
subplot(3,1,2)
xtitle("system response h(n)","....................n","h[n]");
plot(n,h,'.');
subplot(3,1,3)
xtitle("output signal y(n)",".............................n","y[n]");
plot(n1,y,'.');
|
8320f58a5e7f9e4cb2693e9d1a303598884f7521 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/anonymous_bitfield_runme.sci | 9bc462a89676e97d26f88e1e78df1644f322f63f | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 942 | sci | anonymous_bitfield_runme.sci | exec("swigtest.start", -1);
try
foo = new_Foo();
catch
swigtesterror();
end
checkequal(Foo_x_get(foo), 0, "Foo_x_get()");
checkequal(Foo_y_get(foo), 0, "Foo_y_get()");
checkequal(Foo_z_get(foo), 0, "Foo_y_get()");
checkequal(Foo_f_get(foo), 0, "Foo_f_get()");
checkequal(Foo_seq_get(foo), 0, "Foo_seq_get()");
try
Foo_x_set(foo, 5);
catch
swigtesterror();
end
checkequal(Foo_x_get(foo), 5, "Foo_x_get()");
try
Foo_y_set(foo, 5);
catch
swigtesterror();
end
checkequal(Foo_y_get(foo), 5, "Foo_y_get()");
try
Foo_f_set(foo, 1);
catch
swigtesterror();
end
checkequal(Foo_f_get(foo), 1, "Foo_f_get()");
try
Foo_z_set(foo, 13);
catch
swigtesterror();
end
checkequal(Foo_z_get(foo), 13, "Foo_z_get()");
try
Foo_seq_set(foo, 3);
catch
swigtesterror();
end
checkequal(Foo_seq_get(foo), 3, "Foo_seq_get()");
try
delete_Foo(foo);
catch
swigtesterror();
end
exec("swigtest.quit", -1);
|
1751a7ff7bb51f16190956e91fcbbff098d33a71 | 4fb238a760c6455db1aff7bb230317e175011b4a | /ScilabFichiers/testGraphmultiplignes.sce | 2a41e721d3698157bf0515cf64c02c4f0639ed48 | [] | no_license | Abdel-Malik/scilabBSFC | 90feaf817c2bb1367fc2a8b97399b1b9fc3693ba | 2b5ffe850f8b66af6e387672ef5d805e963746ec | refs/heads/master | 2020-12-02T16:25:39.167882 | 2017-07-25T16:11:56 | 2017-07-25T16:11:56 | 96,550,494 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,502 | sce | testGraphmultiplignes.sce | //Acquisition des points
nbPoints = 11;
nbPtsConso = 10;
//Points pour moindres carrés
ptsPuiss = [178,196,214,230,246,261,263,264,265,264,261];
ptsConso = [193,190,189,188,189,191,193,195,198,201];
ptsConso1 = [217.3,210.7,205,203,190,189,188,189,191,193,195,198,201,207,215.2];
MatriceConso = []
for i = linspace(1,15,10)
MatriceConso = [MatriceConso ; ptsConso1];
end
Mtranslation = [[1.027,1.011,1.,1.04,1.01,1,0.99,1,1,1,1,1,1,1,1];[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]
ptsConsoDemi = ptsConso*1.46; //x2
ptsConsoTQ = ptsConso*1.23; //x1.5
function Mres = matriceTranslation(rpmMin,rpmMax,echX,pMin,pMax,echY,MatConso)
endfunction
//Calcul la solution au sens des moindres carrés
//x : un vecteur de points (données)
//y : un vecteur de points (valeur) ax^n+bx^(n-1)+..p = y
//n : l'ordre du modèle
function X = moindresCarres(x,val,ordre)
A = [x,ones(size(x,1),1)];
xT = x;
for i = (2:1:ordre)
xT = xT.*x;
A = [xT A]
end
X = inv(A'*A)*A'*val;
endfunction
//création une matrice [x y] de n éléments ; pour le calcul des moindres carrés
//démarre à 1000, echantillonage tout les 100.
function res = donnees(n,K)
for i = linspace(1,n,n)
res1(i) = 1000+(100*i);
res2(i) = K(i);
end
res = [res1 res2];
endfunction
//attend 15 points en théorie
function res = d2(n,K)
for i = linspace(1,n,n)
res1(i) = 700+(100*i);
res2(i) = K(i);
end
res = [res1 res2];
endfunction
function y = afficheCourbe1(a,n)
plot(a(:,1),a(:,2));
zoom_rect([400 0 2600 300]);
endfunction
function y = fMC(x,X)
l = size(X,1)
y = zeros(1,size(x,2))
xT = ones(1,size(x,2))
for i = linspace(l,1,l)
y = y+xT*X(i);
xT = xT.*x;
end
endfunction
//calcul courbe de degré d par les moindres carrés
matConsoMdreCre = donnees(nbPtsConso,ptsConso);
matConsoUMdreCre = donnees(nbPtsConso,ptsConsoUQ);
matConsoDMdreCre = donnees(nbPtsConso,ptsConsoDemi);
matConsoTMdreCre = donnees(nbPtsConso,ptsConsoTQ);
matPuissMdreCre = donnees(nbPoints,ptsPuiss);
x = matConsoMdreCre(:,1);
xu = matConsoUMdreCre(:,1);
xd = matConsoDMdreCre(:,1);
xt = matConsoTMdreCre(:,1);
x2 = matPuissMdreCre(:,1);
yu = matConsoUMdreCre(:,2);
yd = matConsoDMdreCre(:,2);
yt = matConsoTMdreCre(:,2);
y = matConsoMdreCre(:,2);
y2 = matPuissMdreCre(:,2);
degre = 2;
X = moindresCarres(x,y,degre);
XU = moindresCarres(xu,yu,degre);
XD = moindresCarres(xd,yd,degre);
XT = moindresCarres(xt,yt,degre);
X2 = moindresCarres(x2,y2,degre);
p = 600;
//afficheCourbe1(matPuissMdreCre,nbPoints)
ech = linspace(500,2500,p);
couple = ((30/%pi)*fMC(ech,X2))./ech;
puissance = fMC(ech,X2);
//--------------------------------
function res = calculGrilleSurface(x,y,A)
res = 0;
for i = linspace(0,3,4)
res = res + A(2*i+1)*(x.^(4-i)) + A(2*(i+1))*(y.^(4-i));
end
res = res + A(9)*((x).*(y));
res = res + A(10);
endfunction
function res = gg2(Z,a,M,alpha)
for i = linspace(1,size(Z,1),size(Z,1))
for j = linspace(1,size(Z,2),size(Z,2))
Z(i,j) = Z(i,j)*(1+alpha*(1-((M(1)*(a(i)^2)+M(2)*a(i)+M(3))/Z(i,j))));
end
end
res = Z;
endfunction
function res = matriceVal3D(t,a,mcP,MC)
x = [a a a a]
p = [((mcP(1)*(a.^2))+(mcP(2)*a)+mcP(3))]
for i = linspace(t-1,1,t-1)
p = [p (i/t)*((mcP(1)*(a.^2))+(mcP(2)*a)+mcP(3))];
end
p = p';
c = [((MC(1,1)*(a.^2))+(MC(1,2)*a)+MC(1,3))]
for i = linspace(2,t,t-1)
c = [c (i/t)*((MC(i,1)*(a.^2))+(MC(i,2)*a)+MC(i,3))];
end
c=c';
res = [x'.^4 p.^4];
for i = linspace(1,3,3)
res = [res x'.^(4-i) p.^(4-i)];
end
a = (x').*(p);
res = [res a];
res = [res ones(size(x,2),1)];
res = inv(res'*res)*res'*c;
endfunction
function res = matriceEch(taille,echX,matricePtsConso)
res = [];
for i = (1:1:size(matricePtsConso,1))
matConso = d2(size(matricePtsConso,2),matricePtsConso(i,:));
MT = moindresCarres(matConso(:,1),matConso(:,2),2)
res = [res ; MT];
end
endfunction
function res = afficheConsoPC(x,y,Z,X)
res = 0;
for i = (1:5:p)
a = fMC(x(i),X);
q = 0;
for j = (1:6:p)
if((Z(i,j) >= a-3.2) & (Z(i,j) <= a+3.2) & q < 20) then
plot(x(i),y(j),'x');
res = res + 1;
q = q+1;
j = j+2
end
end
end
endfunction
rpm = linspace(500,2500,p)
c = linspace(1,1700,p);
x = rpm;
y = (X2(1)*x.^2+X2(2)*x+X2(3));
a = linspace(400,2500,250);
[A,B] = meshgrid(x,y);
MX = matriceEch(10,a,Points)
Z = calculGrilleSurface(A,B,matriceVal3D(10,a,X2,MX));
Z = Z';
//Z = gg2(Z,rpm,X,1.2)
f=gcf();f.color_map=hotcolormap(32);xtitle("Graphique d interpolation d un BSFC diesel : f(x,y)=ax²+by+c","regime moteur (tr/min)","puissance fourni (kW)")
zoom_rect([500 0 2600 300]);
colorbar(min(Z),(max(Z)));
grayplot(x,y,Z);
plot(rpm,puissance)
r = afficheConsoPC(x,y,Z,X)
//A = [[640000,7761.61,70480,1];[1960000,51121.21,316540,1];[4000000,65587.21,512200,1];[6250000,39441.96,496500,1]]
//b = [201.636;188.94;201.588;231.488]
//res = 188+218.5 .*n((0.53 .*n((x-1300)) + 8.0 .*n((y-266).^2) -2.7 .*n((x-1300).*(y-266))));
|
8999c004715782ca3dae71c1772f5cf57bfcd29c | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_setLogic.tst | 23cde48ba7096140b96617df451816cf7f4e80cb | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 45 | tst | ok_setLogic.tst | ; valid set-logic command
(set-logic QF_UF )
|
099b2840cdd817f2452201345aae4b3db2ad0e55 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/convmtx.sci | c1f0109e7b692a21426c17a7b334fe6fc99600cf | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sci | convmtx.sci | function b = convmtx (a, n)
//Calling sequence:
//b=convmtx(a,n);
//convmtx(a,n);
//This function returns the convolution matrix 'b'.
//If 'a' is a column vector and if we need the convolution of 'a' with another column vector 'x' of length 'n' then an operation "convmtx(a,n)*x" yeilds the convoluted sequence much faster.
//Similarily, if 'a' is a row vector then to convolve with another row vector 'x' of length n , then convoluted sequence can be obtained by
//x*convmtx(a,n)
[nargout,nargin]=argn();
if (nargin ~= 2)
error("wrong number of input arguments");
end
[r, c] = size(a);
if ((r ~= 1) & (c ~= 1)) | (r*c == 0)
error("convmtx: expecting vector argument");
end
b = toeplitz([a(:); zeros(n-1,1)],[a(1); zeros(n-1,1)]);
if (c > r)
b = b.';
end
endfunction
|
5e77fcfb4f0047042db99ebc0f42da2ca598cb14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH16/EX16.6/16_6.sce | 3afa4133a4d5add57ffbf9078e97e7ac1315eb71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | 16_6.sce | clear//
//Variables
IDon = 10.0 //Drain current (in milli-Ampere)
VGS = -12.0 //Gate-Source voltage (in volts)
VGSth = -3.0 //Threshold Gate-Source voltage (in volts)
VGS1 = -6.0 //Gate-Source voltage in another case (in volts)
//Calculation
K = IDon/(VGS - VGSth)**2 //Transconductance (milli-Ampere per volt)
ID = (K) * (VGS1 - VGSth)**2 //Drain current (in milli-Ampere)
//Result
printf("\n Since the value of VGS is negative for the enhancement-type MOSFET ,this indicated that device is P-channel.")
printf("\n The value of ID when VGS = -6 V is %0.3f mA.",ID)
|
bd1ccf8b1005329d21e3bb74110f3682aa8b9965 | b4a784116c78676b155ba6b3f4ba5366881ab800 | /ExpePerceptionDeplacementContinu.sce | 882e1520983d73d5b4656e095dd962f1e211afe2 | [] | no_license | EmSavalle/Expe-Comportementale | 6d66b5cabdb91c9daab6fdef3fdb6e88e33a95ec | 798821a7c8ff2ea7251c4a09532846f8075f8853 | refs/heads/master | 2023-02-24T18:25:05.071965 | 2021-02-01T09:53:02 | 2021-02-01T09:53:02 | 310,548,136 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,749 | sce | ExpePerceptionDeplacementContinu.sce | scenario = "PerceptionDeplacement";
active_buttons = 11;
button_codes = 1,2,3,4,5,6,7,8,9,10,11;
response_matching = simple_matching;
default_background_color = 255,255,255;
#-----------------Définition des variables--------------------------------------
begin;
#-----------------Chargement des sons--------------------------------
sound {wavefile { filename = "song.wav";};} sound1;
sound {wavefile { filename = "song.wav";};} sound2;
array{
sound { wavefile { filename = "Continu/audioMosquitoFrom0_8to4_7.wav";};} soundFrom0_8to4_7;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-8to4_-7.wav";};} soundFrom0_m8to4_m7;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_-12to12_-21.wav";};} soundFrom21_m12to12_m21;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-41to21_-36.wav";};} soundFrom0_m41to21_m36;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_-7to21_-12.wav";};} soundFrom12_m7to21_m12;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_-2to3_-4.wav";};} soundFrom4_m2to3_m4;
sound { wavefile { filename = "Continu/audioMosquitoFrom36_20to21_36.wav";};} soundFrom36_20to21_36;
sound { wavefile { filename = "Continu/audioMosquitoFrom36_-20to21_-36.wav";};} soundFrom36_m20to21_m36;
sound { wavefile { filename = "Continu/audioMosquitoFrom3_4to4_7.wav";};} soundFrom3_4to4_7;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_4to4_7.wav";};} soundFrom7_4to4_7;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_-21to7_-12.wav";};} soundFrom12_m21to7_m12;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_7to7_4.wav";};} soundFrom4_7to7_4;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-41to0_-24.wav";};} soundFrom0_m41to0_m24;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_7to0_8.wav";};} soundFrom4_7to0_8;
sound { wavefile { filename = "Continu/audioMosquitoFrom36_20to41_0.wav";};} soundFrom36_20to41_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_-12to12_-7.wav";};} soundFrom21_m12to12_m7;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-5to0_-8.wav";};} soundFrom0_m5to0_m8;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-14to0_-8.wav";};} soundFrom0_m14to0_m8;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_14to0_24.wav";};} soundFrom0_14to0_24;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_-21to21_-12.wav";};} soundFrom12_m21to21_m12;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_5to0_8.wav";};} soundFrom0_5to0_8;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_12to12_7.wav";};} soundFrom7_12to12_7;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-8to0_-14.wav";};} soundFrom0_m8to0_m14;
sound { wavefile { filename = "Continu/audioMosquitoFrom36_20to21_12.wav";};} soundFrom36_20to21_12;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_-12to0_-14.wav";};} soundFrom7_m12to0_m14;
sound { wavefile { filename = "Continu/audioMosquitoFrom3_-4to4_-7.wav";};} soundFrom3_m4to4_m7;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_-7to7_-4.wav";};} soundFrom12_m7to7_m4;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-14to0_-24.wav";};} soundFrom0_m14to0_m24;
sound { wavefile { filename = "Continu/audioMosquitoFrom3_4to4_2.wav";};} soundFrom3_4to4_2;
sound { wavefile { filename = "Continu/audioMosquitoFrom14_0to8_0.wav";};} soundFrom14_0to8_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_4to12_7.wav";};} soundFrom7_4to12_7;
sound { wavefile { filename = "Continu/audioMosquitoFrom14_0to12_-7.wav";};} soundFrom14_0to12_m7;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_12to12_21.wav";};} soundFrom7_12to12_21;
sound { wavefile { filename = "Continu/audioMosquitoFrom3_4to0_5.wav";};} soundFrom3_4to0_5;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_5to3_4.wav";};} soundFrom0_5to3_4;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_7to3_4.wav";};} soundFrom4_7to3_4;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_-12to24_0.wav";};} soundFrom21_m12to24_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_36to12_21.wav";};} soundFrom21_36to12_21;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_-12to36_-20.wav";};} soundFrom21_m12to36_m20;
sound { wavefile { filename = "Continu/audioMosquitoFrom8_0to7_-4.wav";};} soundFrom8_0to7_m4;
sound { wavefile { filename = "Continu/audioMosquitoFrom24_0to21_12.wav";};} soundFrom24_0to21_12;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_12to36_20.wav";};} soundFrom21_12to36_20;
sound { wavefile { filename = "Continu/audioMosquitoFrom5_0to4_2.wav";};} soundFrom5_0to4_2;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-8to0_-5.wav";};} soundFrom0_m8to0_m5;
sound { wavefile { filename = "Continu/audioMosquitoFrom14_0to24_0.wav";};} soundFrom14_0to24_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_21to0_24.wav";};} soundFrom12_21to0_24;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_41to21_36.wav";};} soundFrom0_41to21_36;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_-4to12_-7.wav";};} soundFrom7_m4to12_m7;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_-7to7_-4.wav";};} soundFrom4_m7to7_m4;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_7to7_12.wav";};} soundFrom4_7to7_12;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_-7to7_-12.wav";};} soundFrom12_m7to7_m12;
sound { wavefile { filename = "Continu/audioMosquitoFrom41_0to36_20.wav";};} soundFrom41_0to36_20;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_7to7_4.wav";};} soundFrom12_7to7_4;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_-7to7_-12.wav";};} soundFrom4_m7to7_m12;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-5to3_-4.wav";};} soundFrom0_m5to3_m4;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-24to0_-41.wav";};} soundFrom0_m24to0_m41;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_2to3_4.wav";};} soundFrom4_2to3_4;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_12to4_7.wav";};} soundFrom7_12to4_7;
sound { wavefile { filename = "Continu/audioMosquitoFrom41_0to36_-20.wav";};} soundFrom41_0to36_m20;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_-2to5_0.wav";};} soundFrom4_m2to5_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_24to0_41.wav";};} soundFrom0_24to0_41;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_-4to4_-7.wav";};} soundFrom7_m4to4_m7;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_-12to12_-21.wav";};} soundFrom7_m12to12_m21;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_-7to3_-4.wav";};} soundFrom4_m7to3_m4;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_-36to0_-41.wav";};} soundFrom21_m36to0_m41;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_-21to21_-36.wav";};} soundFrom12_m21to21_m36;
sound { wavefile { filename = "Continu/audioMosquitoFrom36_-20to21_-12.wav";};} soundFrom36_m20to21_m12;
sound { wavefile { filename = "Continu/audioMosquitoFrom3_-4to0_-5.wav";};} soundFrom3_m4to0_m5;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_-4to8_0.wav";};} soundFrom7_m4to8_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom5_0to8_0.wav";};} soundFrom5_0to8_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_21to7_12.wav";};} soundFrom12_21to7_12;
sound { wavefile { filename = "Continu/audioMosquitoFrom8_0to14_0.wav";};} soundFrom8_0to14_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_7to14_0.wav";};} soundFrom12_7to14_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_8to0_14.wav";};} soundFrom0_8to0_14;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_-12to12_-7.wav";};} soundFrom7_m12to12_m7;
sound { wavefile { filename = "Continu/audioMosquitoFrom24_0to41_0.wav";};} soundFrom24_0to41_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_7to7_12.wav";};} soundFrom12_7to7_12;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_24to12_21.wav";};} soundFrom0_24to12_21;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_8to0_5.wav";};} soundFrom0_8to0_5;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_36to36_20.wav";};} soundFrom21_36to36_20;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_-7to14_0.wav";};} soundFrom12_m7to14_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_2to7_4.wav";};} soundFrom4_2to7_4;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_4to8_0.wav";};} soundFrom7_4to8_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_21to21_36.wav";};} soundFrom12_21to21_36;
sound { wavefile { filename = "Continu/audioMosquitoFrom3_-4to4_-2.wav";};} soundFrom3_m4to4_m2;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_7to21_12.wav";};} soundFrom12_7to21_12;
sound { wavefile { filename = "Continu/audioMosquitoFrom24_0to14_0.wav";};} soundFrom24_0to14_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_14to7_12.wav";};} soundFrom0_14to7_12;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_-12to4_-7.wav";};} soundFrom7_m12to4_m7;
sound { wavefile { filename = "Continu/audioMosquitoFrom14_0to12_7.wav";};} soundFrom14_0to12_7;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_-7to0_-8.wav";};} soundFrom4_m7to0_m8;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_14to0_8.wav";};} soundFrom0_14to0_8;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_36to0_41.wav";};} soundFrom21_36to0_41;
sound { wavefile { filename = "Continu/audioMosquitoFrom8_0to5_0.wav";};} soundFrom8_0to5_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-14to7_-12.wav";};} soundFrom0_m14to7_m12;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_-36to12_-21.wav";};} soundFrom21_m36to12_m21;
sound { wavefile { filename = "Continu/audioMosquitoFrom24_0to21_-12.wav";};} soundFrom24_0to21_m12;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_-2to7_-4.wav";};} soundFrom4_m2to7_m4;
sound { wavefile { filename = "Continu/audioMosquitoFrom4_2to5_0.wav";};} soundFrom4_2to5_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_-4to4_-2.wav";};} soundFrom7_m4to4_m2;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_21to21_12.wav";};} soundFrom12_21to21_12;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_24to0_14.wav";};} soundFrom0_24to0_14;
sound { wavefile { filename = "Continu/audioMosquitoFrom36_-20to41_0.wav";};} soundFrom36_m20to41_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_12to24_0.wav";};} soundFrom21_12to24_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_-36to36_-20.wav";};} soundFrom21_m36to36_m20;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_41to0_24.wav";};} soundFrom0_41to0_24;
sound { wavefile { filename = "Continu/audioMosquitoFrom8_0to7_4.wav";};} soundFrom8_0to7_4;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-24to0_-14.wav";};} soundFrom0_m24to0_m14;
sound { wavefile { filename = "Continu/audioMosquitoFrom5_0to4_-2.wav";};} soundFrom5_0to4_m2;
sound { wavefile { filename = "Continu/audioMosquitoFrom0_-24to12_-21.wav";};} soundFrom0_m24to12_m21;
sound { wavefile { filename = "Continu/audioMosquitoFrom41_0to24_0.wav";};} soundFrom41_0to24_0;
sound { wavefile { filename = "Continu/audioMosquitoFrom12_-21to0_-24.wav";};} soundFrom12_m21to0_m24;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_12to12_21.wav";};} soundFrom21_12to12_21;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_4to4_2.wav";};} soundFrom7_4to4_2;
sound { wavefile { filename = "Continu/audioMosquitoFrom7_12to0_14.wav";};} soundFrom7_12to0_14;
sound { wavefile { filename = "Continu/audioMosquitoFrom21_12to12_7.wav";};} soundFrom21_12to12_7;
}sounds;
#------------------Zones de textes---------------------------------
text {
caption = "Préparez-vous";
font_size = 40;
font_color = 0,0,0;
text_align = align_center;
}ecranDebut;
text {
caption = "Etape ";
font_size = 40;
font_color = 0,0,0;
text_align = align_center;
}ecranEtape;
text {
caption = "1er son";
font_size = 40;
font_color = 0,0,0;
text_align = align_center;
}ecran1SonMoustique;
text {
caption = "Quel mouvement a fait le moustique?";
font_size = 40;
font_color = 0,0,0;
text_align = align_center;
}ecranQuestion;
text {
caption = " Sur un echelle de 1 à 9, êtes vous confiant de votre réponse?\n 1 : Pas confiant du tout - 9 : Certain ";
font_size = 40;
font_color = 0,0,0;
text_align = align_center;
}ecranConfianceQuestion;
text {
caption = "Fin de l'étape";
font_size = 40;
font_color = 0,0,0;
text_align = align_center;
}ecranFin;
text {
caption ="v";
font_color = 0,0,0;
} pos;
text {
caption = "A quel endroit était le moustique?";
font_color = 0,0,0;
font_size = 50;
} textPos;
#-------------- Schéma réponse -----------
bitmap { filename = "picMovementText4.png";} b4;
bitmap { filename = "picMovementText.png";} b8;
picture {
bitmap { filename = "picArea.png";};
x = 0; y = 0;
#Texte pour indiquer la position des sons produits
text { caption = " "; font_size = 20; font_color = 0,0,255; transparent_color = 255,255,255;};
x = 0; y = 0;
text { caption = " "; font_size = 20; font_color = 0,0,255; transparent_color = 255,255,255;};
x = 0; y = 0;
text { caption = "o"; font_size = 20; font_color = 0,0,0; transparent_color = 255,255,255;};
x = 0; y = 0;
text pos;
x = 0; y = -300;
text textPos;
x = 0 ; y = 400;
}picPosition;
#-------------- Trials -------------------
#Trial préparation
trial{
picture{ bitmap { filename = "Preparation/im1.png";};x = 0 ; y = 0;};
time = 0;
duration = response;
picture{bitmap { filename = "Preparation/im2.png";};x = 0 ; y = 0;};
deltat = 0;
duration = response;
stimulus_event{
sound soundFrom0_8to4_7;
response_active = true;
duration = response;
deltat = 0;
};
picture{bitmap { filename = "Preparation/im3.png";};x = 0 ; y = 0;};
deltat = 0;
duration = response;
picture{ bitmap { filename = "Preparation/im4.png";};x = 0 ; y = 0;};
deltat = 0;
duration = response;
picture{bitmap { filename = "Preparation/im5.png";};x = 0 ; y = 0;};
deltat = 0;
duration = response;
picture{bitmap { filename = "Preparation/im6.png";};x = 0 ; y = 0;};
deltat = 0;
duration = response;
picture{bitmap { filename = "Preparation/im7.png";};x = 0 ; y = 0;};
deltat = 0;
duration = response;
}trialPreparation;
#Trial calibration
#Trial avec sons
trial {
#Ecran démarrage de l'essai
picture {
text ecranDebut;
x = 0; y = 0;
text ecranEtape;
x = 0; y = -70;
};
time = 0;
#Son pré-mouvement
stimulus_event{
sound sound1;
time = 1000;
duration = 1000;
}s1;
#Question sur le déplacement
stimulus_event{
picture{
bitmap { filename = "picMovementText.png";};
x = -20; y = 0;
}pic1;
response_active = true;
target_button = 2;
duration = response;
time = 3500;
}eventQuestion;
}trialDeplacement;
#Trial question de confiance
trial {
stimulus_event{
picture{
text ecranConfianceQuestion;
x=0;y=0;
};
response_active = true;
target_button = 2;
duration = response;
time = 0;
}eventConfiance;
}trialConfiance;
trial{
#stimulus_event{
# picture picPosition;
# response_active = true;
# target_button = 10;
# duration = response;
# time = 0;
#}eventPosition;
picture picPosition;
time = 0;
} trialPosition;
#------------------- Début du code ---------------------------
begin_pcl;
pic1.set_part(1,b4);
array <int> positions[116][4] = {{0,8,4,7},{0,-8,4,-7},{21,-12,12,-21},{0,-41,21,-36},{12,-7,21,-12},{4,-2,3,-4},{36,20,21,36},{36,-20,21,-36},{3,4,4,7},{7,4,4,7},{12,-21,7,-12},{4,7,7,4},{0,-41,0,-24},{4,7,0,8},{36,20,41,0},{21,-12,12,-7},{0,-5,0,-8},{0,-14,0,-8},{0,14,0,24},{12,-21,21,-12},{0,5,0,8},{7,12,12,7},{0,-8,0,-14},{36,20,21,12},{7,-12,0,-14},{3,-4,4,-7},{12,-7,7,-4},{0,-14,0,-24},{3,4,4,2},{14,0,8,0},{7,4,12,7},{14,0,12,-7},{7,12,12,21},{3,4,0,5},{0,5,3,4},{4,7,3,4},{21,-12,24,0},{21,36,12,21},{21,-12,36,-20},{8,0,7,-4},{24,0,21,12},{21,12,36,20},{5,0,4,2},{0,-8,0,-5},{14,0,24,0},{12,21,0,24},{0,41,21,36},{7,-4,12,-7},{4,-7,7,-4},{4,7,7,12},{12,-7,7,-12},{41,0,36,20},{12,7,7,4},{4,-7,7,-12},{0,-5,3,-4},{0,-24,0,-41},{4,2,3,4},{7,12,4,7},{41,0,36,-20},{4,-2,5,0},{0,24,0,41},{7,-4,4,-7},{7,-12,12,-21},{4,-7,3,-4},{21,-36,0,-41},{12,-21,21,-36},{36,-20,21,-12},{3,-4,0,-5},{7,-4,8,0},{5,0,8,0},{12,21,7,12},{8,0,14,0},{12,7,14,0},{0,8,0,14},{7,-12,12,-7},{24,0,41,0},{12,7,7,12},{0,24,12,21},{0,8,0,5},{21,36,36,20},{12,-7,14,0},{4,2,7,4},{7,4,8,0},{12,21,21,36},{3,-4,4,-2},{12,7,21,12},{24,0,14,0},{0,14,7,12},{7,-12,4,-7},{14,0,12,7},{4,-7,0,-8},{0,14,0,8},{21,36,0,41},{8,0,5,0},{0,-14,7,-12},{21,-36,12,-21},{24,0,21,-12},{4,-2,7,-4},{4,2,5,0},{7,-4,4,-2},{12,21,21,12},{0,24,0,14},{36,-20,41,0},{21,12,24,0},{21,-36,36,-20},{0,41,0,24},{8,0,7,4},{0,-24,0,-14},{5,0,4,-2},{0,-24,12,-21},{41,0,24,0},{12,-21,0,-24},{21,12,12,21},{7,4,4,2},{7,12,0,14},{21,12,12,7}};
array <int> idsMvm[116] = {6,4,6,4,8,6,4,6,8,4,2,6,2,4,6,2,8,2,8,4,8,6,8,2,6,8,2,8,6,2,8,6,8,4,6,2,4,2,8,6,4,8,4,2,8,4,6,8,4,8,6,4,2,8,4,8,4,2,6,4,8,6,8,2,6,8,2,6,4,8,2,8,6,8,4,8,4,6,2,6,4,8,6,8,4,8,2,6,2,4,6,2,4,2,4,2,6,8,6,2,6,2,4,6,4,2,4,2,6,4,2,6,4,2,4,2};
double posMax = 41;
#Ouverture du fichier log pour les résultats
output_file ofile1 = new output_file;
ofile1.open( logfile.subject()+"ReponseStimuliContinu.txt", true );
#Variables de comparaison réponse donnée / réponse attendue
int hitCpt = 0;
int missCpt = 0;
int othersCpt = 0;
array<int> missCPT[8] = {0,0,0,0,0,0,0,0};
#Paramètres de souris pour la position
mouse mse = response_manager.get_mouse( 1 );
int max_x = display_device.width() / 2;
int min_x = -max_x;
int max_y = display_device.height() / 2;
int min_y = -max_y;
mse.set_min_max( 1, min_x, max_x );
mse.set_min_max( 2, min_y, max_y );
mse.set_restricted( 1, true );
mse.set_restricted( 2, true );
#Compteur de clic
int count = response_manager.total_response_count( 10 );
#Itération sur les différents mouvements/positions
loop int i = 1 until i > positions.count()
begin
ecranEtape.set_caption("Etape "+string(i)+"/"+string(positions.count()));
ecranEtape.redraw();
ofile1.print("trial "+string(i)+"\n");
#Définition des sons à jouer et du mouvement correspondant
sound sd1 = sounds[i];
s1.set_stimulus(sd1);
#Définition du mouvement à selectionner
eventQuestion.set_target_button(idsMvm[i]);
#Presentation du trial
trialDeplacement.present();
#Récupération des réponses du sujet au déplacement
int button_response=response_manager.last_response();
stimulus_data last = stimulus_manager.last_stimulus_data();
#Verification du choix de l'utilisateur
if last.type() == stimulus_hit then
hitCpt = hitCpt + 1;
elseif last.type() == stimulus_incorrect then
missCpt = missCpt + 1;
else
othersCpt = othersCpt + 1;
end;
#Ecriture du résultat dans le fichier log
ofile1.print(string(button_response)+"/"+string(idsMvm[i])+" input/expected"+"\n");
ofile1.print("Position1 "+string(positions[i][1])+"_"+string(positions[i][2])+"\n");
ofile1.print("Position2 "+string(positions[i][3])+"_"+string(positions[i][4])+"\n");
ofile1.print("ReactionTime "+string(last.reaction_time())+"\n");
#Question de confiance au sujet
trialConfiance.present();
#Récupération des réponses du sujet a la question de confiance
button_response=response_manager.last_response();
last = stimulus_manager.last_stimulus_data();
button_response=response_manager.last_response();
ofile1.print("Certainty "+string(button_response)+"\n");
ofile1.print("ReactionTimeCertainty "+string(last.reaction_time())+"\n");
#Trial position
double rapportSizePosition = posMax/25;
#mse.poll();
count = response_manager.total_response_count( 10 );
picPosition.set_part_x(3, mse.x());
picPosition.set_part_y(3, mse.y());
#Positionnement position du son (debug)
double y1 =positions[i][1];
double x1 =-positions[i][2];
double y2 =positions[i][3];
double x2 =-positions[i][4];
int posx1 = int(x1/rapportSizePosition*530/20);
int posy1 = int(y1/rapportSizePosition*530/20-310);
int posx2 = int(x2/rapportSizePosition*530/20);
int posy2 = int(y2/rapportSizePosition*530/20-310);
picPosition.set_part_x(2,posx1);
picPosition.set_part_y(2,posy1);
picPosition.set_part_x(3, posx2);
picPosition.set_part_y(3, posy2);
#Début trial position
trialPosition.present();
#Boucle jusqu'à ce que l'utilisateur clique sur l'image
loop bool wait = false until wait == true begin
mse.poll();
#Positionne une image a la position de la souris
picPosition.set_part_x(4, mse.x());
picPosition.set_part_y(4, mse.y());
#Traduit la position du clic en position dans l'espace du moustique
int xr = int(mse.x()*20/530*rapportSizePosition);
int yr = int((mse.y()+310)*20/530*rapportSizePosition);
#Calcule des distances au clic
int distanceAuth = int(sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))*rapportSizePosition);#Distance maximale authorisée : Jusqu'à la distance entre les deux positions du moustique dans l'essai
if(distanceAuth < 2)then
distanceAuth = 2;
end;
if(distanceAuth > 10)then
distanceAuth = 10;
end;
int dist1 = int(sqrt((x1-xr)*(x1-xr)+(y1-yr)*(y1-yr)));
int dist2 = int(sqrt((x2-xr)*(x2-xr)+(y2-yr)*(y2-yr)));
#Determine si la séléction est au bon endroit
string dist = "";
int distance = -1;
if(dist1 < distanceAuth || dist2 < distanceAuth) then
dist = "v";
#pos.set_caption("v",true);
if(dist1 < dist2) then
distance = dist1
else
distance = dist2
end;
else
dist = "x";
pos.set_caption(" ",true);
if(dist1 < dist2) then
distance = dist1
else
distance = dist2
end;
end;
#pos.set_caption(string(x1)+"/"+string(y1)+" "+string(x2)+"/"+string(y2)+"\nPosition correcte : "+dist+"\nDistance authorisée : "+string(distanceAuth), true);
trialPosition.present();
if response_manager.total_response_count( 10 ) > count then
count = response_manager.total_response_count( 1 );
wait = true;
int pxSelec = -int(double(mse.x()*20/530)*rapportSizePosition);
int pySelec = int(double((mse.y()+310)*20/530)*rapportSizePosition);
ofile1.print("Selection "+ string(-x1)+"/"+string(y1)+" "+string(-x2)+"/"+string(y2)+" "+string(pxSelec)+"/"+string(pySelec)+"\n");
ofile1.print("Distance "+string(distance)+"\n");
ofile1.print("PositionCorrecte "+dist+"\n");
end;
#display_device.screenshot("screenshot.bmp");
end;
i = i + 1;
ofile1.print("Fin"+"\n");
end;
ofile1.print("Nombre de reussite :");
ofile1.print(hitCpt);
ofile1.print("Nombre d'echec :");
ofile1.print(missCpt);
|
2a08578fcee5c94a53ee36487e9b02e7e61d9889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH6/EX6.14/6_14.sce | 1dc2c8f2cf7042ab7a8ffa0e142fed8ae6d1d22b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 6_14.sce | //Problem 6.14:
//initializing the variables:
T = 298; // in deg F
na = 1;
nb = 3;
nc = 2;
Sa = 26.3; // in Btu/lbmol deg R
Sb = 21.0; // in Btu/lbmol deg R
Sc = 29.9; // in Btu/lbmol deg R
//calculation:
dS = nc*Sc - nb*Sb - na*Sa
printf("\n\nResult\n\n")
printf("\n entropy change is %.1f Btu/deg R",dS) |
bf5faf2b991aaf0a272f2f190b433b840c310470 | 009e6209a86f0838f0faca8a33b2c162e5d1a7a6 | /src/scripts/evalua.sce | 4ceefa041c2034eafec0dcc1255669d2c8da325b | [] | no_license | MoisesU/MESO-MetodosNumericos | 90a62a31e3213c50dec55228ceca7ce034cfbb7c | 17fe0efa1690ac93f36799a12a9f9c99f1ab94a4 | refs/heads/main | 2023-06-02T05:51:03.641326 | 2021-06-20T03:18:17 | 2021-06-20T03:18:17 | 306,203,044 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | sce | evalua.sce | function evalua = x(afunction, valor)
evalua = afunction(valor)
endfunction
|
f0ec6765e83a36f29630d1be5425c30351116bb5 | c4e9c543b25f5c33995c8ab84d9a93e44bc69db1 | /2Dwave.sce | 3940a6c56890eedc4b2583926e2ee25d4f566779 | [] | no_license | huyong1109/semi_analytic_method | 0115180b9215b9042cd2ca70cc32af14ae9285c7 | 50cbdc8f50e78cdcb2e11f9a7305913071d2d325 | refs/heads/master | 2021-01-19T09:42:10.021328 | 2012-05-06T05:42:26 | 2012-05-06T05:42:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,081 | sce | 2Dwave.sce | //*******************************************
// This is the Scilab script for Exercise 8.
//
// Use the help facility for more information
// on individual functions used.
//
// Author: J. Kaempf, 2008
//********************************************
clf(); set("figure_style","new");
a=get("current_axes"); a.parent.figure_size= [700,350]; xset('pixmap',1);
// read input data
eta=read("eta.dat",-1,51); eta0=read("eta0.dat",-1,51);
x = (1:1:51)'; y = (1:1:51)'; // location vectors
ntot = 150; // total number of frames
for n = 1:ntot // animation loop
scf(0);clf(); xset('wwpc');
// grab respective data block
jtop = (n-1)*51+1; jbot = jtop+50;
etac = eta(jtop:jbot,1:51);
plot3d(x,y,1000*(etac-eta0),50,50,'',[4,1,0],[1,51,1,51,-1,1]) // 3d plot
xset('wshow');
// save frames as GIF files (optional)
//if n < 10 then
// xs2gif(0,'ex9b100'+string(n)+'.gif')
//else
// if n < 100 then
// xs2gif(0,'ex9b10'+string(n)+'.gif')
// else
// xs2gif(0,'ex9b1'+string(n)+'.gif')
// end
// end
end; // end of animation loop
|
2fc2ebaea33913f24fef02e2af58d9b6e33e5f2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH4/EX4.10/sadiku_4_10.sce | 2c7e2008ac68ddb181e7a1f1adef6ced7b3cd1f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | sadiku_4_10.sce | clear;
clc;
format('v',6);
Q1=-4;
Q2=5;
R1=[1 0 1]-[2 -1 3];
R2=[1 0 1]-[0 4 -2];
e=10^-9/(36*%pi);
mod_R1=(R1(1,1)^2+R1(1,2)^2+R1(1,3)^2)^.5;
mod_R2=(R2(1,1)^2+R2(1,2)^2+R2(1,3)^2)^.5;
C0=0;
V=10^-6*(([Q1/mod_R1]+[Q2/mod_R2])/(4*%pi*e))+C0;
disp(V*10^-3,'V(1,0,1)(in kV)='); |
ba2239c07c223cc23d27d2dfae52a1e986fa939a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH8/EX8.15/Ex8_15.sce | 67438cf398b94382e35d676e1660593aeacf0cc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,255 | sce | Ex8_15.sce | // Theory and Problems of Thermodynamics
// Chapter 8
// Power and Refrigeration Cycles
// Example 15
clear ;clc;
//Given data
T1 = 300 // intial temperature of air in K
P1 = 0.1 // initial pressure of air in MPa
P2 = 5.0 // final pressure of air in MPa
q1 = 20 // energy injected per mole of air in kJ
R = 8.314 // gas constant
Cp = 3.5*R // specific heat ratio at constant pressure in kJ/kg K
gam = 1.4 // heat capacity ratio
// calculations
r0 =(P2/P1)^(1/gam) // Otto cycles
T2 = T1*(r0)^(gam-1)
//q1 = Cp * (T3-T2)
deff('y=temp(T3)', 'y = q1*1e3 - Cp*(T3-T2)')
T3 = fsolve(10,temp) // maximum cycle temperature
rc = T3/T2 // cut off ratio
// Thermal efficiency of cycle
n = 1-(1/(gam*(r0^(gam-1))))*(((rc^gam)-1)/(rc-1))
W = n*q1 // work done per mole of air in kJ/mol
v1 = R*T1/P1
//v1-v2 = v1*(1/v2/v1) = v1*(1-1/r0)
v1_v2 = v1*(1-1/r0) // v1_v2 = v1 - v2
Pm = W*1e3/v1_v2 // Mean effective pressure in MPa
// Output Results
mprintf('\Work done per kg of air = %4.3f kJ/mol' ,W);
mprintf('\n Mean effective pressure = %4.4f MPa' ,Pm);
|
df908f3fcffeec3df8a89ad7168e75d1d0ad6922 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.2/exa2_2.sce | 6f359877ae6fc0e1abfabed489fb3f513b6662ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | exa2_2.sce | //Example 2-2//
//Binary to Decimal Conversion//
a=bin2dec('1011101001')
//Decimal equivalent of the binary number//
disp(a)
//answer in decimal form//
|
f596a5369c0051e2c4fe02f2b4ac1e00472f28ba | fc97dca636256fc30f018840e244a173c06ec54b | /owntests/mainwithoutreturn.tst | eeebe788a8fd3156cf5026f5c9803c4955fdbda3 | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11 | tst | mainwithoutreturn.tst | main {
}
|
983678d4d87d309668308b3ed0de7bd8b5fb7cdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH17/EX17.1/Ex17_1.sce | 2af9bef71f8c92b9991d7f30dd8504e028868337 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | Ex17_1.sce | //Chapter 17 Speed of Reaction Catalysis
clc;
clear;
//Initialisation of Variables
t= 40 //min
r= 0.274
t1= 50 //min
//CALCULATIONS
k= 2.3*log10(1/(1-r))/t
R=10**( -k*t1/2.3)
R1= 1-R
//RESULTS
mprintf("Velocity constant= %.3f min^-1",k)
mprintf("\nFraction decomposed= %.3f",R1)
|
12353404f75a7b5e7464f8d4f5de97fee7275308 | e897dd7fd9830e0f9800ff93a244f17960f9ce6e | /werp/erpw/general/t_web/4.FBS&법인카드/3.1.FBS/3.1.3.구축[AE]/초기Loading코드외/메일발송테스트.tst | 87b02defa60a44fcfcf449403decb12207a35fc7 | [] | no_license | jongvin/werp | d366bb68312da426656b6af29261d28f709b7d8d | 942595624af2926e4ba97156fd0ff7afe1b1e432 | refs/heads/master | 2021-01-01T15:50:34.898591 | 2015-07-10T23:31:04 | 2015-07-10T23:31:04 | 38,714,530 | 0 | 0 | null | null | null | null | UHC | Scilab | false | false | 655 | tst | 메일발송테스트.tst | PL/SQL Developer Test script 3.0
8
begin
-- Call the function
:result := fbs_util_pkg.mail_send(p_mailto => :p_mailto,
p_mailcc => :p_mailcc,
p_subject => :p_subject,
p_contents => :p_contents,
p_html_yn => :p_html_yn);
end;
6
result
1
OK
5
p_mailto
1
신인철<icshin72@paran.com>,황대봉<dbhwang@lgcns.com>,이희선<heesunlee@lgcns.com>,서명서<cool_wow77@hotmail.com>,김흥수<protokhs@hanmail.net>
5
p_mailcc
0
5
p_subject
1
CJ개발 FBS메일 발송TEST
5
p_contents
1
<Long>
8
p_html_yn
1
N
5
0
|
8dc79e5f89e7233db6d322a022199729738af782 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20160816_vd_sr_vmm16x16_sr_sr_itg_sr_adc/input_pattern.sce | 11d0bb096b29865e5ccfc80567bd087d4e51092b | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29,640 | sce | input_pattern.sce | //weight16x16 =[
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06;
//];
//weight16x16 =[
////250e-06 1e-09 330e-06 1e-09 330e-06 1e-09 250e-06 1e-09 330e-06 1e-09 330e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09;
//];
weight16x16 =[
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12;
];
// First values of Vin & Vd_Vref set the default value.
Vin00 = [1.4 ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ...
linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16)
];
//zigzag_10=[1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 ];
zigzag_10=[2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 ];
//zigzag_01=[1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7];
zigzag_01=[0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 ];
Vin01 = [1.4 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10
];
Vin02 = [1.4 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01
];
Vin03 = [1.4 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01
];
Vin04 = [1.4 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ...
];
Vin05 =[1.4 linspace(1.4,1.4,4096)];
Vin06 = [1.4 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01
];
Vin07 = [1.4 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_10 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ...
zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01
];
//Vin=Vin00;
//Vin=Vin01;
//Vin=Vin02;
//Vin=Vin03;
//Vin=Vin04;
//Vin=Vin05;
//Vin=Vin06;
Vin=Vin07;
entire_length = 4097;
//Vd_Vref = [linspace(1.95,1.95,entire_length)];
//Vd_Vref = [linspace(1.9,1.9,entire_length)];
//Vd_Vref = [linspace(1.85,1.85,entire_length)];
//Vd_Vref = [linspace(1.8,1.8,entire_length)];
//Vd_Vref = [linspace(1.75,1.75,entire_length)]; // default
//Vd_Vref = [linspace(1.72,1.72,entire_length)];
Vd_Vref = [linspace(1.7,1.7,entire_length)];
//Vd_Vref = [linspace(1.65,1.65,entire_length)];
//Vd_Vref = [linspace(1.6,1.6,entire_length)];
sr_out_clk = [linspace(0,0,entire_length) ];
sr_out_D = [linspace(0,0,entire_length) ];
sr_itg_in_clk = [linspace(0,0,entire_length) ];
sr_itg_in_D = [linspace(0,0,entire_length) ];
itg_ini = [linspace(0,0,entire_length) ];
sr_vmm_out_clk = [linspace(0,0,entire_length) ];
sr_vmm_out_D = [linspace(0,0,entire_length) ];
sr_vmm_in_clk = [linspace(0,0,entire_length) ];
sr_vmm_in_D = [linspace(0,0,entire_length) ];
nodeset = [linspace(0,0,entire_length) ];
disp(size(Vin),size(itg_ini));
exec("/home/ubuntu/rasp30/prog_assembly/libs/scilab_code/image_convolution_vmm_sr.sce",-1);
|
42fa7ea499c49e68f4b7980f12f138f788ab8096 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.6_1.tst | 4d8cba9f9fc3fd335d4d6641a006c1618683ce3e | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 42,766 | tst | bow.6_1.tst | 6 3:0.5 18:0.2857142857142857 24:1.5 35:0.1 38:0.5 45:0.5 47:0.3333333333333333 67:0.25 75:0.1111111111111111 79:0.3333333333333333 104:0.5 172:0.25 226:0.16666666666666666 236:0.3333333333333333 277:0.14285714285714285 368:1.0 398:0.25 419:1.0 473:1.0 568:0.07692307692307693 574:1.0 613:2.0 810:1.0 864:1.0 912:0.25 1222:1.0 2704:1.0 3500:1.0 3953:1.0 4128:1.0 4373:0.07142857142857142 4811:1.0 4856:1.0 4987:0.3333333333333333 5222:1.0 5376:1.0 5481:1.0 5518:0.3333333333333333 5583:1.0 5620:1.0 5742:1.0 5895:1.0 6304:1.0 6357:1.0 7117:1.0 7485:1.0 8500:1.0
6 1:0.125 20:0.14285714285714285 24:0.5 36:0.09090909090909091 41:0.2857142857142857 54:1.0 61:0.5 67:0.25 69:0.3333333333333333 75:0.05555555555555555 82:0.125 87:1.0 98:0.25 104:0.5 191:0.15384615384615385 345:1.0 363:1.0 368:1.0 425:1.0 473:1.0 513:1.0 712:0.5 1129:1.0 1152:1.0 1238:1.0 1289:1.0 1536:1.0 1841:1.0 1879:1.0 2809:1.0 2933:0.5 3316:1.0 3416:1.0 4373:0.07142857142857142 4805:1.0 4992:1.0 5564:1.0 5789:1.0 6985:1.0 7199:1.0 8111:1.0
6 15:0.5 24:0.5 39:0.25 54:1.0 67:0.75 69:0.3333333333333333 75:0.1111111111111111 96:1.0 104:1.0 122:0.5 137:1.0 213:1.0 337:0.5 451:1.0 473:1.0 538:1.0 568:0.07692307692307693 639:0.16666666666666666 911:0.3333333333333333 1322:0.5 1330:0.07142857142857142 1378:0.5 1657:1.0 1980:1.0 2054:1.0 2495:1.0 3264:0.25 3600:1.0 4373:0.07142857142857142 4375:1.0 4759:1.0 4874:0.16666666666666666 5438:1.0 6127:1.0
6 1:0.125 24:0.5 41:0.14285714285714285 45:0.25 47:0.3333333333333333 53:0.5 58:0.16666666666666666 75:0.16666666666666666 82:0.125 87:1.0 104:0.5 191:0.07692307692307693 236:0.3333333333333333 711:1.0 712:0.5 1129:1.0 3315:1.0 3968:1.0 4820:1.0 4874:0.3333333333333333 4875:1.0 4987:0.3333333333333333 4992:1.0 5234:1.0 5299:1.0 5372:1.0 5586:0.5 6422:1.0 6938:1.0 6985:1.0 7969:1.0 8529:1.0
6 3:0.5 18:0.14285714285714285 20:0.07142857142857142 24:0.5 41:0.14285714285714285 67:0.75 75:0.16666666666666666 87:1.0 134:1.0 162:0.5 172:0.5 196:0.25 214:1.0 251:1.0 387:1.0 477:1.0 613:1.0 799:0.5 877:0.3333333333333333 910:0.5 976:0.5 1016:0.5 1069:1.0 1222:1.0 1330:0.07142857142857142 2349:1.0 2704:1.0 3502:1.0 4834:1.0 5376:1.0 5590:1.0 5983:0.5 6422:1.0 6650:1.0 8664:1.0
6 18:0.2857142857142857 35:0.1 41:0.2857142857142857 45:0.25 47:0.3333333333333333 67:0.25 75:0.05555555555555555 98:0.25 104:0.5 122:0.3333333333333333 124:0.3333333333333333 128:1.0 162:0.5 209:0.2 306:0.25 368:1.0 516:1.0 685:1.0 877:0.3333333333333333 911:0.3333333333333333 1675:1.0 2656:1.0 3780:1.0 3990:1.0 4373:0.07142857142857142 4789:1.0 4856:1.0 4884:0.16666666666666666 4971:1.0 5186:1.0 5207:1.0 6417:1.0 6537:1.0 6813:1.0 7593:1.0 8576:1.0 8877:1.0
6 18:0.14285714285714285 20:0.07142857142857142 24:0.5 41:0.2857142857142857 47:0.3333333333333333 50:1.0 58:0.16666666666666666 75:0.16666666666666666 85:0.2 122:0.3333333333333333 192:0.3333333333333333 226:0.16666666666666666 306:0.25 732:1.0 771:1.0 910:0.5 1276:1.0 1309:1.0 2124:1.0 3264:0.25 4771:1.0 4834:1.0 4880:0.125 4994:1.0 5287:1.0 5319:1.0 5348:1.0 6537:1.0 6541:1.0 7529:1.0 8965:1.0
6 1:0.125 15:0.5 18:0.14285714285714285 20:0.14285714285714285 24:1.0 41:0.14285714285714285 67:0.25 87:1.0 191:0.23076923076923078 261:0.3333333333333333 345:1.0 864:1.0 1167:1.0 1202:1.0 1880:1.0 1990:1.0 2638:1.0 3986:1.0 4769:0.09090909090909091 4773:1.0 4834:1.0 4874:0.16666666666666666 4875:1.0 5012:1.0 5319:1.0 5410:1.0 6066:1.0 6135:1.0 6554:1.0
6 24:1.0 35:0.1 41:0.14285714285714285 47:0.6666666666666666 51:1.0 53:0.5 67:0.5 74:0.5 75:0.16666666666666666 96:1.0 122:0.6666666666666666 139:1.0 200:0.5 258:1.0 419:1.0 522:0.3333333333333333 653:1.0 703:1.0 758:0.3333333333333333 911:0.3333333333333333 1009:2.0 1081:1.0 1341:0.5 1567:1.0 1627:1.0 2332:1.0 3018:1.0 3502:2.0 3780:1.0 4246:1.0 4373:0.07142857142857142 4797:1.0 5262:1.0 5763:1.0 6422:1.0 6423:1.0 7188:1.0 7288:1.0 8193:1.0
6 18:0.14285714285714285 24:0.5 54:2.0 58:0.16666666666666666 67:0.25 122:0.3333333333333333 191:0.07692307692307693 261:0.3333333333333333 395:1.0 599:1.0 767:1.0 1530:1.0 1590:1.0 2230:1.0 2349:1.0 3175:0.5 4146:1.0 4663:1.0 4978:1.0 4996:1.0 5136:1.0 5313:0.09090909090909091 5467:1.0 6044:1.0 6140:1.0 6567:1.0 6753:1.0 7797:1.0 8877:1.0 8878:1.0
6 24:0.5 35:0.3 37:1.0 44:1.0 58:0.16666666666666666 75:0.16666666666666666 77:0.25 84:0.25 177:0.75 191:0.07692307692307693 268:1.0 304:1.0 398:0.25 454:1.0 506:1.0 803:1.0 939:0.5 958:0.5 1238:1.0 1606:1.0 2035:1.0 4146:1.0 4753:1.0 4797:1.0 4813:1.0 4820:1.0 5983:0.5 6874:1.0 6944:1.0
6 12:0.01818181818181818 18:0.14285714285714285 27:0.125 41:0.14285714285714285 53:0.5 63:1.0 67:0.25 75:0.16666666666666666 77:0.25 96:1.0 122:0.5 172:0.25 191:0.07692307692307693 252:0.3333333333333333 291:1.0 441:0.5 451:1.0 470:1.0 494:0.5 535:1.0 703:1.0 750:1.0 877:0.3333333333333333 1341:0.5 1627:1.0 1727:1.0 2080:1.0 3015:1.0 3516:1.0 4820:1.0 5142:1.0 5337:1.0 5402:1.0 5444:1.0 5579:1.0 5615:1.0 6103:1.0 6386:2.0 6760:1.0 6903:1.0 7308:1.0 7819:1.0 8251:1.0 8357:1.0
6 20:0.07142857142857142 24:1.5 35:0.1 37:2.0 41:0.14285714285714285 47:0.6666666666666666 52:0.5 54:2.0 63:1.0 67:0.25 75:0.2777777777777778 277:0.2857142857142857 398:0.25 756:0.3333333333333333 1341:0.5 2898:4.0 4373:0.07142857142857142 5006:1.0 5229:1.0 5372:1.0 5799:1.0 5864:1.0 6874:1.0 8867:1.0
6 24:0.5 41:0.14285714285714285 74:0.5 75:0.16666666666666666 77:0.25 87:1.0 98:0.25 122:0.3333333333333333 337:0.5 492:0.5 494:0.5 501:2.0 566:0.2 613:1.0 707:1.0 777:1.0 1028:1.0 1330:0.07142857142857142 1339:1.0 1967:1.0 1990:1.0 2124:1.0 2755:1.0 3003:1.0 3516:1.0 4874:0.16666666666666666 4912:1.0 4996:1.0 5155:1.0 5243:1.0 5564:1.0 5756:1.0 6422:1.0 6423:1.0 6491:1.0 7955:1.0 8082:1.0
6 13:0.14285714285714285 18:0.14285714285714285 41:0.14285714285714285 45:0.25 58:0.3333333333333333 87:1.0 98:0.25 104:1.5 122:0.16666666666666666 191:0.07692307692307693 495:1.0 527:0.5 707:1.0 765:1.0 767:1.0 912:0.25 1263:0.5 1295:1.0 1740:1.0 2413:1.0 2452:1.0 2620:1.0 2656:1.0 2755:1.0 3161:1.0 3613:1.0 4343:1.0 4373:0.14285714285714285 4403:1.0 4769:0.09090909090909091 4818:1.0 4836:1.0 4856:2.0 4874:0.16666666666666666 4986:1.0 4987:0.3333333333333333 4996:1.0 5067:1.0 5424:1.0 6745:1.0
6 27:0.125 35:0.1 45:0.25 52:0.5 58:0.16666666666666666 75:0.05555555555555555 85:0.2 98:0.25 104:1.0 113:1.0 122:0.16666666666666666 387:1.0 494:0.5 599:1.0 910:0.5 1909:1.0 3780:1.0 4373:0.07142857142857142 4754:1.0 4759:1.0 4797:1.0 4834:1.0 4880:0.125 4882:1.0 4971:1.0 4994:1.0 5008:1.0 5424:1.0 5623:1.0 6422:1.0 6423:1.0 7776:1.0 8323:1.0
6 13:0.14285714285714285 24:0.5 41:0.14285714285714285 75:0.16666666666666666 82:0.125 87:1.0 98:0.25 122:0.3333333333333333 162:0.5 172:0.25 200:0.5 291:1.0 451:1.0 473:1.0 494:0.5 495:1.0 718:1.0 956:1.0 1330:0.07142857142857142 1604:1.0 1689:1.0 1740:1.0 2755:1.0 2790:1.0 2933:0.5 3553:1.0 3780:2.0 4585:1.0 4812:1.0 4834:1.0 4874:0.16666666666666666 4884:0.16666666666666666 4947:1.0 4961:1.0 4971:1.0 4987:0.3333333333333333 5067:1.0 5255:1.0 5586:0.5 5730:1.0 5864:1.0 6924:1.0 7375:1.0 8217:1.0 8365:1.0
6 1:0.125 18:0.14285714285714285 24:1.0 27:0.125 35:0.1 41:0.14285714285714285 47:0.3333333333333333 58:0.16666666666666666 67:0.25 75:0.05555555555555555 91:1.0 104:0.5 122:0.5 147:0.5 172:0.25 249:0.25 303:1.0 767:1.0 1535:0.3333333333333333 2076:1.0 2495:1.0 2625:1.0 2676:0.14285714285714285 2790:1.0 3868:1.0 4373:0.07142857142857142 4856:1.0 4881:0.16666666666666666 4992:1.0 5092:1.0 5147:1.0 5152:1.0 5493:1.0 5876:1.0 5976:1.0 5980:1.0 6300:1.0 6753:1.0 6891:1.0 7186:1.0 7720:1.0
6 24:0.5 41:0.14285714285714285 45:0.25 47:0.3333333333333333 58:0.16666666666666666 67:0.5 75:0.1111111111111111 93:0.25 96:1.0 122:0.16666666666666666 261:0.3333333333333333 342:1.0 470:1.0 496:1.0 538:1.0 707:1.0 803:1.0 813:1.0 910:0.5 1378:0.5 1730:1.0 3797:1.0 4146:1.0 4820:1.0 4834:1.0 4880:0.125 4881:0.16666666666666666 4906:1.0 4994:1.0 5000:1.0 5488:1.0 5788:1.0 6103:1.0 6245:1.0 7009:1.0
6 24:0.5 27:0.125 45:0.25 67:0.5 79:0.3333333333333333 85:0.2 87:2.0 93:0.25 98:0.25 122:0.16666666666666666 147:0.5 213:1.0 252:0.3333333333333333 470:1.0 484:1.0 538:1.0 564:1.0 619:1.0 639:0.16666666666666666 840:1.0 1207:1.0 1378:0.5 1495:1.0 1730:1.0 2898:1.0 3286:1.0 3990:1.0 4146:1.0 4820:1.0 4990:1.0 5000:1.0 5136:1.0 6103:1.0 6422:1.0 6530:1.0 8467:1.0
6 18:0.14285714285714285 41:0.14285714285714285 47:0.3333333333333333 67:0.75 75:0.1111111111111111 87:1.0 96:1.0 98:0.25 162:0.5 494:0.5 1330:0.07142857142857142 2676:0.14285714285714285 2981:1.0 4754:5.0 4834:1.0 4881:0.3333333333333333 4882:1.0 4947:1.0 5001:1.0 5640:1.0 6693:1.0 6761:1.0 6823:1.0 8669:1.0 8723:1.0 8965:1.0
6 18:0.42857142857142855 24:0.5 35:0.1 41:0.2857142857142857 47:0.3333333333333333 58:0.16666666666666666 67:0.5 82:0.125 98:0.25 104:0.5 277:0.14285714285714285 337:0.5 473:1.0 707:2.0 718:1.0 758:0.3333333333333333 1028:1.0 1238:1.0 1636:1.0 2790:1.0 4373:0.07142857142857142 4585:1.0 4769:0.09090909090909091 4812:1.0 4856:1.0 4877:1.0 4880:0.125 4882:1.0 4911:1.0 4971:1.0 4990:1.0 4991:1.0 5067:1.0 5239:1.0 5358:0.5 5656:1.0 6032:1.0 6753:1.0 7235:1.0
6 1:0.125 3:0.5 18:0.14285714285714285 24:1.0 35:0.1 41:0.14285714285714285 67:0.25 75:0.16666666666666666 98:0.25 122:0.16666666666666666 124:0.6666666666666666 139:1.0 142:1.0 172:0.25 191:0.07692307692307693 261:0.3333333333333333 398:0.25 559:1.0 653:1.0 712:0.5 718:1.0 810:1.0 1216:1.0 3626:1.0 3805:1.0 4804:1.0 4874:0.16666666666666666 4884:0.16666666666666666 4987:0.3333333333333333 5067:1.0 5544:1.0 5674:1.0 5807:1.0 6659:1.0 6935:1.0 8098:1.0
6 3:0.5 18:0.14285714285714285 41:0.2857142857142857 47:0.3333333333333333 53:0.5 67:0.25 74:0.5 75:0.16666666666666666 98:0.5 104:0.5 108:0.25 122:0.3333333333333333 191:0.07692307692307693 209:0.2 222:1.0 236:0.3333333333333333 240:1.0 277:0.14285714285714285 287:1.0 337:0.5 516:2.0 619:0.5 713:1.0 718:1.0 810:1.0 1054:2.0 1207:1.0 1261:1.0 1440:1.0 2765:2.0 3062:1.0 4032:1.0 4373:0.14285714285714285 4747:1.0 4769:0.09090909090909091 4884:0.16666666666666666 5067:1.0 5981:1.0 6085:1.0 6246:0.5 7312:1.0
6 35:0.1 41:0.14285714285714285 48:0.25 52:0.5 54:2.0 67:0.5 75:0.2222222222222222 122:0.3333333333333333 191:0.07692307692307693 277:0.14285714285714285 331:0.25 451:1.0 473:1.0 477:1.0 500:1.0 522:0.3333333333333333 713:1.0 898:1.0 915:1.0 1341:0.5 2126:1.0 2262:1.0 2755:1.0 2857:2.0 3968:1.0 3969:1.0 4725:1.0 4797:1.0 4874:0.16666666666666666 4884:0.16666666666666666 5067:1.0 5122:1.0 5347:1.0 5402:1.0 5921:1.0 7444:1.0
6 1:0.25 18:0.14285714285714285 47:0.3333333333333333 67:0.25 75:0.1111111111111111 98:0.5 122:0.5 172:0.25 277:0.14285714285714285 303:1.0 331:0.25 451:1.0 495:1.0 688:0.5 898:1.0 910:0.5 1440:1.0 2117:1.0 2651:1.0 3500:1.0 3686:1.0 5067:1.0 5892:1.0 6793:1.0 8496:1.0 8509:1.0
6 12:0.01818181818181818 13:0.14285714285714285 41:0.14285714285714285 67:0.25 75:0.05555555555555555 104:0.5 147:0.5 255:1.0 360:1.0 910:1.0 1253:1.0 1435:1.0 1856:1.0 2953:1.0 3819:1.0 4874:0.16666666666666666 4987:0.3333333333333333 5099:1.0 5186:1.0 5207:1.0 5272:1.0 5782:1.0 6764:1.0
6 18:0.14285714285714285 38:0.5 41:0.14285714285714285 45:0.5 47:0.3333333333333333 58:0.16666666666666666 67:0.25 74:0.5 75:0.16666666666666666 85:0.2 96:1.0 98:0.5 177:0.25 191:0.07692307692307693 277:0.14285714285714285 368:2.0 369:0.5 409:0.3333333333333333 441:0.5 494:0.5 680:1.0 910:0.5 939:0.5 1094:1.0 1149:1.0 1175:1.0 1774:1.0 1856:1.0 2953:1.0 3220:1.0 4884:0.16666666666666666 5067:1.0 5814:1.0 6239:1.0 6418:1.0 7593:1.0 8500:1.0
6 18:0.14285714285714285 24:1.0 41:0.14285714285714285 53:0.5 54:2.0 67:0.25 122:0.3333333333333333 172:0.5 220:1.0 368:1.0 444:1.0 454:1.0 473:1.0 513:3.0 527:0.5 713:1.0 765:1.0 772:1.0 803:1.0 1175:1.0 1856:2.0 2413:1.0 2857:1.0 2953:1.0 3287:1.0 3659:1.0 4144:1.0 4373:0.07142857142857142 4769:0.09090909090909091 4864:1.0 6386:1.0 6764:1.0 6874:1.0 8275:1.0
6 41:0.2857142857142857 61:0.5 67:0.75 75:0.16666666666666666 82:0.125 98:0.25 122:0.3333333333333333 172:0.25 191:0.23076923076923078 236:0.3333333333333333 337:0.5 484:1.0 502:1.0 522:0.3333333333333333 765:1.0 910:0.5 1330:0.07142857142857142 1657:1.0 1856:1.0 2413:1.0 2656:1.0 2953:1.0 4212:1.0 4703:1.0 4811:1.0 4836:1.0 4874:0.16666666666666666 4875:1.0 4960:1.0 4977:0.5 4987:0.3333333333333333 5743:1.0 5799:1.0 6086:1.0 6537:1.0 6764:1.0 8516:1.0
6 3:0.5 15:0.5 39:0.25 41:0.14285714285714285 47:0.3333333333333333 58:0.16666666666666666 67:0.75 69:0.3333333333333333 87:1.0 164:1.0 172:0.25 306:0.25 398:0.5 703:1.0 712:0.5 767:1.0 877:0.3333333333333333 911:0.3333333333333333 1255:0.5 1480:1.0 1627:1.0 1980:1.0 2638:1.0 2765:1.0 2790:1.0 2836:0.3333333333333333 3490:1.0 4797:1.0 4881:0.16666666666666666 5067:1.0 5121:1.0 5328:1.0 5618:1.0 5622:1.0 7031:1.0 7046:1.0 8723:1.0 8827:1.0
6 3:0.5 24:0.5 38:0.5 47:0.3333333333333333 58:0.16666666666666666 67:1.25 75:0.1111111111111111 87:1.0 104:1.0 122:0.16666666666666666 191:0.07692307692307693 261:0.3333333333333333 288:0.3333333333333333 303:1.0 337:0.5 473:1.0 534:1.0 866:1.0 898:1.0 910:0.5 933:1.0 1081:1.0 2001:1.0 2450:1.0 2884:1.0 3264:0.25 3475:1.0 3993:1.0 4819:1.0 4911:1.0 5013:1.0 5076:1.0 5077:1.0 5373:1.0 5496:1.0 5613:1.0 6220:1.0 7372:1.0 7459:1.0 8425:1.0 8456:1.0 8517:1.0 8664:2.0
6 24:1.0 35:0.1 41:0.2857142857142857 67:0.75 69:0.3333333333333333 75:0.1111111111111111 87:1.0 93:0.25 98:0.25 108:0.25 124:0.3333333333333333 130:1.0 136:1.0 139:1.0 191:0.3076923076923077 196:0.25 277:0.14285714285714285 331:0.5 448:1.0 494:0.5 513:1.0 543:0.125 767:1.0 918:1.0 1666:1.0 2038:1.0 2113:1.0 2427:1.0 3968:1.0 3969:1.0 4754:1.0 4812:1.0 4874:0.16666666666666666 4884:0.16666666666666666 4912:1.0 5356:1.0 5782:1.0 6655:1.0 6761:1.0 7246:1.0 7267:1.0
6 18:0.14285714285714285 24:1.0 36:0.09090909090909091 41:0.2857142857142857 47:0.6666666666666666 67:0.25 75:0.1111111111111111 84:0.25 85:0.2 98:0.25 108:0.25 122:0.16666666666666666 137:1.0 191:0.15384615384615385 261:0.3333333333333333 275:0.5 289:0.5 331:0.25 451:1.0 513:1.0 639:0.16666666666666666 939:0.5 1155:0.5 1238:1.0 1488:1.0 1573:1.0 1752:1.0 2317:1.0 2620:1.0 3133:1.0 3203:1.0 4210:1.0 4801:1.0 5006:1.0 5067:1.0 5186:1.0 5373:1.0 5705:1.0 6825:1.0 8217:1.0 8948:1.0
6 3:0.5 24:0.5 45:0.25 75:0.16666666666666666 98:0.25 162:1.0 172:0.25 191:0.15384615384615385 236:0.3333333333333333 289:0.5 451:1.0 496:1.0 534:1.0 535:1.0 910:0.5 1263:0.5 1330:0.14285714285714285 3325:1.0 4423:1.0 4834:2.0 4947:2.0 5756:1.0 5969:1.0 5970:1.0 6064:1.0 6603:1.0 8333:1.0
6 1:0.125 24:0.5 38:0.5 41:0.14285714285714285 82:0.125 87:2.0 98:0.25 104:1.5 110:1.0 122:0.16666666666666666 124:0.3333333333333333 196:0.25 258:1.0 451:1.0 494:0.5 653:1.0 767:1.0 774:1.0 1238:1.0 1604:1.0 2413:1.0 3808:1.0 4373:0.21428571428571427 4637:1.0 4811:1.0 4856:2.0 4876:1.0 4992:1.0 5279:1.0 6576:1.0 6673:1.0 7621:1.0 8217:1.0 8528:1.0
6 12:0.01818181818181818 18:0.14285714285714285 24:0.5 67:0.25 75:0.2222222222222222 82:0.125 104:0.5 122:0.3333333333333333 191:0.07692307692307693 252:0.3333333333333333 289:0.5 368:3.0 409:0.3333333333333333 494:0.5 534:1.0 545:1.0 688:0.5 767:1.0 910:1.0 958:0.5 1094:1.0 2980:1.0 3322:1.0 3921:1.0 3926:1.0 4373:0.07142857142857142 4812:1.0 4834:2.0 4880:0.25 4881:0.16666666666666666 4994:1.0 5136:1.0 5262:2.0 5263:1.0 5275:1.0 5459:1.0 5933:1.0 7596:1.0 7994:1.0 8269:1.0 8425:1.0 8456:1.0
6 18:0.14285714285714285 24:0.5 35:0.1 41:0.42857142857142855 47:0.6666666666666666 75:0.2222222222222222 104:0.5 124:0.3333333333333333 141:1.0 162:0.5 261:0.6666666666666666 535:1.0 864:1.0 868:1.0 1152:2.0 1155:0.5 1285:2.0 1330:0.07142857142857142 1453:0.5 1627:1.0 1666:1.0 2015:2.0 2782:1.0 3569:2.0 4754:1.0 4811:1.0 4834:2.0 4884:0.16666666666666666 4927:1.0 4947:1.0 5012:1.0 5093:1.0 5899:1.0 6220:1.0 7331:1.0 7459:1.0
6 24:0.5 41:0.42857142857142855 67:0.25 75:0.1111111111111111 85:0.2 98:0.25 122:0.16666666666666666 124:0.3333333333333333 126:1.0 128:1.0 172:0.25 226:0.3333333333333333 305:0.3333333333333333 368:2.0 409:0.3333333333333333 473:1.0 774:1.0 939:0.5 1019:1.0 1263:0.5 1339:1.0 1527:1.0 2015:1.0 2430:1.0 2904:1.0 4671:1.0 4769:0.09090909090909091 4834:1.0 5270:0.5 5742:1.0 5799:1.0 6019:1.0 7022:1.0 7023:1.0 7227:1.0
6 18:0.14285714285714285 24:0.5 35:0.2 41:0.42857142857142855 45:0.25 47:0.3333333333333333 50:1.0 80:1.0 104:0.5 122:0.16666666666666666 166:0.25 191:0.15384615384615385 252:0.3333333333333333 277:0.2857142857142857 304:1.0 329:1.0 368:1.0 409:0.3333333333333333 484:1.0 494:0.5 639:0.16666666666666666 758:0.3333333333333333 772:1.0 803:1.0 861:1.0 996:1.0 1276:1.0 1582:1.0 1819:1.0 1856:1.0 2059:1.0 2953:1.0 4373:0.14285714285714285 4403:1.0 4809:1.0 4856:1.0 5015:1.0 5435:1.0 5828:1.0 6371:1.0 7546:1.0
6 3:0.5 12:0.01818181818181818 35:0.1 67:0.5 75:0.16666666666666666 98:0.25 209:0.2 236:0.3333333333333333 305:0.3333333333333333 387:1.0 398:0.25 501:1.0 639:0.16666666666666666 910:0.5 1402:0.25 2898:1.0 4834:1.0 4849:1.0 4880:0.125 4992:1.0 4994:1.0 5149:1.0 5358:0.5 5508:1.0 5905:1.0 6734:1.0 7871:1.0 7884:1.0 8388:1.0 8389:1.0
6 1:0.125 3:0.5 18:0.14285714285714285 24:0.5 27:0.125 41:0.2857142857142857 67:0.5 75:0.1111111111111111 82:0.25 87:1.0 98:0.25 104:0.5 122:0.5 177:0.25 191:0.07692307692307693 289:0.5 337:0.5 363:1.0 473:1.0 620:0.5 718:1.0 758:0.3333333333333333 1276:1.0 1339:1.0 1433:1.0 1529:1.0 2676:0.14285714285714285 3487:1.0 4076:1.0 4210:1.0 4815:1.0 4818:1.0 4874:0.16666666666666666 4987:0.3333333333333333 5040:1.0 5079:1.0 5515:1.0 5586:0.5 6116:1.0 6371:2.0 6887:1.0 7227:1.0 8703:1.0
6 18:0.14285714285714285 20:0.07142857142857142 41:0.14285714285714285 47:0.3333333333333333 63:1.0 64:0.5 67:0.5 75:0.1111111111111111 98:0.75 104:0.5 122:0.16666666666666666 160:1.0 191:0.07692307692307693 214:1.0 216:1.0 220:1.0 377:1.0 419:1.0 560:1.0 840:1.0 911:0.3333333333333333 917:1.0 1143:0.5 1263:0.5 1402:0.25 1627:1.0 3264:0.25 4343:1.0 4373:0.07142857142857142 4573:1.0 4797:2.0 4849:1.0 4856:1.0 4916:0.3333333333333333 4992:1.0 5860:1.0 7372:1.0 8863:1.0
6 13:0.14285714285714285 20:0.07142857142857142 41:0.14285714285714285 67:1.0 72:2.0 75:0.05555555555555555 87:1.0 98:0.25 216:1.0 235:0.3333333333333333 258:1.0 261:0.3333333333333333 474:1.0 613:1.0 864:1.0 1094:1.0 1263:0.5 1572:1.0 1607:1.0 4146:1.0 4840:1.0 4987:0.3333333333333333 5587:1.0 5756:1.0 6413:1.0 6441:1.0 6874:1.0 8496:1.0 8516:1.0
6 20:0.07142857142857142 48:0.25 52:0.5 67:0.5 75:0.2222222222222222 85:0.2 98:0.5 104:0.5 122:0.3333333333333333 177:0.25 198:0.16666666666666666 201:1.0 213:2.0 297:1.0 613:1.0 718:1.0 911:0.3333333333333333 1051:1.0 1263:0.5 1440:1.0 1682:1.0 2517:1.0 2656:1.0 2836:0.3333333333333333 2873:1.0 4373:0.07142857142857142 4797:1.0 4874:0.16666666666666666 4987:0.3333333333333333 5444:1.0 5743:1.0 6292:2.0 6386:1.0 6537:1.0 7587:1.0 8007:1.0 8251:1.0
6 24:0.5 45:0.25 52:0.5 67:0.5 98:0.75 122:0.16666666666666666 172:0.25 196:0.25 201:1.0 226:0.16666666666666666 236:0.3333333333333333 261:0.3333333333333333 613:1.0 675:1.0 718:1.0 722:1.0 1097:1.0 1255:0.5 1440:1.0 1969:0.5 2656:1.0 2898:1.0 2906:1.0 3235:1.0 3378:1.0 4373:0.07142857142857142 4804:1.0 4987:0.6666666666666666 5743:1.0 6086:1.0 6292:1.0 6805:1.0 6874:1.0 7366:1.0 8007:1.0 8516:1.0 8906:1.0
6 4:0.5 27:0.125 36:0.09090909090909091 45:0.25 47:0.6666666666666666 54:1.0 67:0.25 69:0.3333333333333333 75:0.05555555555555555 104:0.5 118:1.0 122:0.3333333333333333 162:0.5 191:0.07692307692307693 201:1.0 249:0.25 513:1.0 613:1.0 703:1.0 732:1.0 864:1.0 1054:1.0 1086:1.0 1330:0.07142857142857142 1440:1.0 2495:1.0 2623:1.0 4141:1.0 4781:1.0 4834:2.0 4947:1.0 5104:1.0 5270:0.5 5444:1.0 5643:1.0 6060:1.0 6085:2.0 6292:1.0 6371:1.0 6529:1.0 7303:1.0 7554:1.0 8767:1.0 8932:1.0
6 18:0.14285714285714285 38:0.5 41:0.2857142857142857 47:0.6666666666666666 52:0.5 58:0.16666666666666666 65:1.0 67:0.25 75:0.05555555555555555 85:0.2 87:1.0 98:0.25 104:0.5 122:0.16666666666666666 191:0.15384615384615385 226:0.16666666666666666 289:0.5 326:0.5 337:0.5 441:1.0 707:1.0 767:1.0 939:0.5 1028:2.0 1149:1.0 1488:1.0 2556:1.0 3580:1.0 4373:0.07142857142857142 4856:1.0 4874:0.16666666666666666 4908:1.0 4909:0.5 4912:1.0 4970:0.25 5183:1.0 5251:0.3333333333333333 5654:0.5 6304:1.0 7556:1.0 7663:1.0 8906:1.0
6 3:0.5 15:0.5 18:0.14285714285714285 52:0.5 58:0.16666666666666666 63:1.0 67:0.5 75:0.05555555555555555 77:0.25 191:0.07692307692307693 214:1.0 226:0.16666666666666666 363:1.0 374:1.0 473:1.0 599:1.0 767:1.0 1014:1.0 1028:1.0 1142:1.0 1251:1.0 1535:0.3333333333333333 1699:0.5 3083:2.0 4133:1.0 4400:1.0 4740:1.0 4876:1.0 4882:1.0 4952:1.0 4996:1.0 5073:0.5 5139:1.0 5282:1.0 5358:0.5 5449:1.0 5864:1.0 5920:1.0 6218:1.0 6685:1.0 7459:1.0 8036:1.0 8817:1.0
6 36:0.09090909090909091 41:0.14285714285714285 47:0.6666666666666666 58:0.16666666666666666 67:0.25 75:0.2777777777777778 98:0.25 104:0.5 122:0.16666666666666666 164:1.0 261:0.3333333333333333 368:2.0 409:0.6666666666666666 534:1.0 619:0.5 803:1.0 910:0.5 1175:1.0 1754:0.5 1841:1.0 1966:1.0 2357:1.0 2556:1.0 3223:1.0 3996:1.0 4834:1.0 4880:0.125 4944:1.0 5449:1.0 5477:1.0 5864:1.0 6189:1.0 7338:1.0 7716:1.0 8001:1.0 8463:1.0 8906:1.0
6 18:0.14285714285714285 24:2.0 39:0.25 47:0.3333333333333333 67:0.5 79:0.3333333333333333 87:1.0 108:0.25 122:0.16666666666666666 130:1.0 133:1.0 139:1.0 191:0.15384615384615385 226:0.16666666666666666 261:0.3333333333333333 419:1.0 502:1.0 707:1.0 756:0.3333333333333333 767:1.0 1339:1.0 1341:0.5 1582:1.0 1933:1.0 1976:1.0 2424:1.0 2430:1.0 3264:0.25 4769:0.09090909090909091 4874:0.16666666666666666 4875:1.0 5107:1.0 5756:1.0 6148:1.0 6212:1.0 6347:1.0 6371:1.0 6559:1.0 7386:1.0 8236:1.0
6 18:0.14285714285714285 24:0.5 35:0.1 39:0.25 41:0.2857142857142857 64:0.5 67:0.25 75:0.05555555555555555 85:0.2 87:1.0 122:0.3333333333333333 139:1.0 191:0.07692307692307693 270:1.0 291:1.0 398:0.25 501:1.0 522:0.3333333333333333 758:0.3333333333333333 858:1.0 864:1.0 1019:1.0 1028:1.0 1255:0.5 1302:1.0 1581:1.0 1680:1.0 4433:1.0 4880:0.125 4987:0.3333333333333333 5061:1.0 6085:1.0 7348:1.0 7470:1.0 8262:1.0 8591:1.0 8618:1.0
6 18:0.2857142857142857 24:0.5 41:0.14285714285714285 47:0.3333333333333333 75:0.1111111111111111 85:0.2 104:1.0 226:0.16666666666666666 277:0.14285714285714285 285:0.5 289:0.5 448:1.0 535:1.0 544:1.0 718:1.0 767:1.0 1263:0.5 1484:1.0 1558:1.0 1960:1.0 2768:1.0 2860:1.0 4300:1.0 4874:0.16666666666666666 4987:0.3333333333333333 5644:1.0 5654:0.5 6019:1.0 6129:1.0 6199:1.0 6201:1.0 6212:1.0 6371:1.0 6810:1.0 7077:1.0 7227:1.0 7349:1.0 8136:1.0 8761:1.0
6 18:0.2857142857142857 39:0.25 41:0.14285714285714285 54:1.0 69:0.3333333333333333 74:0.5 104:0.5 191:0.07692307692307693 216:1.0 226:0.16666666666666666 337:0.5 398:0.25 564:1.0 568:0.07692307692307693 722:1.0 758:0.3333333333333333 939:1.0 1129:1.0 1330:0.07142857142857142 1359:0.5 1778:1.0 2560:1.0 4065:1.0 4433:1.0 4769:0.09090909090909091 4819:2.0 4874:0.16666666666666666 4875:1.0 4880:0.125 5262:1.0 5435:1.0 5436:1.0 5515:1.0 5998:1.0 6163:1.0 6209:1.0 6371:1.0 7736:1.0
6 1:0.125 3:0.5 18:0.14285714285714285 20:0.07142857142857142 23:0.5 45:0.25 52:0.5 58:0.16666666666666666 77:0.25 122:0.16666666666666666 137:1.0 147:0.5 191:0.07692307692307693 226:0.16666666666666666 240:1.0 243:1.0 252:0.3333333333333333 360:1.0 418:0.5 1028:1.0 1206:1.0 2035:1.0 2629:1.0 3069:1.0 3433:1.0 4849:1.0 4874:0.16666666666666666 4912:1.0 5067:1.0 5251:0.3333333333333333 5449:1.0 5586:0.5 5694:1.0 5896:1.0 8370:1.0 8516:1.0
6 1:0.25 12:0.01818181818181818 24:1.0 45:0.25 47:0.3333333333333333 67:0.5 69:0.3333333333333333 93:0.25 122:0.3333333333333333 277:0.14285714285714285 300:1.0 419:1.0 522:0.3333333333333333 767:1.0 913:0.5 1016:0.5 1052:1.0 1194:1.0 1557:1.0 2676:0.14285714285714285 2996:1.0 3145:1.0 3247:1.0 3926:1.0 4375:1.0 4521:1.0 4637:1.0 4762:1.0 4874:0.16666666666666666 4948:1.0 4987:0.3333333333333333 5082:1.0 5139:1.0 6761:1.0 6828:1.0 8370:1.0 8385:2.0 8548:1.0
6 18:0.14285714285714285 24:0.5 41:0.14285714285714285 53:0.5 67:0.5 82:0.125 84:0.25 85:0.2 96:1.0 122:0.6666666666666666 172:0.25 261:0.3333333333333333 304:1.0 460:1.0 462:1.0 652:1.0 813:0.5 3040:1.0 3133:1.0 3203:1.0 3264:0.25 4769:0.09090909090909091 4911:2.0 4992:1.0 5162:1.0 6346:1.0 6373:1.0 6874:1.0 7190:1.0 7220:1.0 7348:1.0 7513:1.0 8548:1.0
6 3:0.5 24:1.5 27:0.125 35:0.1 36:0.09090909090909091 41:0.2857142857142857 42:1.0 67:0.5 75:0.16666666666666666 98:0.25 104:0.5 191:0.15384615384615385 252:0.3333333333333333 270:1.0 291:1.0 305:0.3333333333333333 368:2.0 387:1.0 398:0.25 448:1.0 499:0.3333333333333333 639:0.16666666666666666 767:1.0 911:0.3333333333333333 1094:1.0 1179:1.0 1341:0.5 1627:1.0 1883:1.0 1976:1.0 4310:1.0 4849:1.0 5033:1.0 5136:1.0 5272:1.0 5367:1.0 5456:1.0 5936:1.0 5983:0.5 6525:1.0 6877:1.0 6985:1.0 8455:1.0 8456:1.0 8919:2.0
6 18:0.14285714285714285 24:0.5 27:0.125 38:0.5 45:0.25 47:0.3333333333333333 54:1.0 68:0.3333333333333333 75:0.1111111111111111 79:0.3333333333333333 108:0.25 122:0.16666666666666666 124:0.3333333333333333 128:1.0 133:1.0 191:0.07692307692307693 213:1.0 220:1.0 236:0.3333333333333333 451:1.0 513:1.0 566:0.2 572:1.0 653:1.0 712:0.5 958:0.5 990:1.0 1330:0.07142857142857142 1385:1.0 1935:1.0 2216:1.0 2638:1.0 2821:1.0 4375:1.0 4834:2.0 5001:1.0 5018:1.0 5092:1.0 5270:0.5 5322:1.0
6 18:0.14285714285714285 24:0.5 41:0.2857142857142857 45:0.25 47:0.3333333333333333 75:0.05555555555555555 104:0.5 191:0.07692307692307693 829:1.0 1028:2.0 1399:1.0 4373:0.07142857142857142 4812:1.0 4817:1.0 4818:1.0 4856:1.0 4874:0.16666666666666666 4880:0.125 4884:0.16666666666666666 4987:0.3333333333333333 5219:1.0 5270:0.5 5411:1.0 5744:1.0 5770:1.0 6069:1.0 6248:1.0 6336:1.0 7221:1.0 8082:1.0
6 3:0.5 53:0.5 54:1.0 58:0.16666666666666666 75:0.1111111111111111 122:0.3333333333333333 155:1.0 191:0.15384615384615385 214:1.0 225:1.0 226:0.3333333333333333 277:0.14285714285714285 304:1.0 368:1.0 441:0.5 473:1.0 619:0.5 910:0.5 1330:0.07142857142857142 2669:0.5 3264:0.25 3926:1.0 4769:0.09090909090909091 4834:1.0 4835:1.0 4836:1.0 4880:0.125 4994:1.0 5001:1.0 5252:1.0 5487:1.0 5490:1.0 5576:1.0 6082:1.0 6331:1.0 6422:1.0 6733:1.0 7372:1.0 8082:1.0 8766:1.0
6 18:0.2857142857142857 27:0.125 41:0.42857142857142855 47:0.3333333333333333 52:0.5 58:0.16666666666666666 67:0.5 75:0.05555555555555555 82:0.125 85:0.2 98:0.25 104:0.5 122:0.16666666666666666 196:0.25 197:0.16666666666666666 214:1.0 354:1.0 425:1.0 502:1.0 510:1.0 864:1.0 911:0.3333333333333333 958:0.5 1248:1.0 1291:1.0 1553:1.0 1561:1.0 1628:1.0 1655:1.0 1841:1.0 1915:1.0 2012:1.0 2994:1.0 3891:1.0 4373:0.14285714285714285 4797:2.0 4856:1.0 6371:1.0 8173:1.0 8182:1.0 8913:1.0
6 18:0.42857142857142855 24:0.5 27:0.125 41:0.14285714285714285 47:0.3333333333333333 52:0.5 57:0.5 61:0.5 69:0.3333333333333333 75:0.16666666666666666 77:0.25 96:1.0 98:0.25 104:0.5 122:0.16666666666666666 124:0.3333333333333333 191:0.07692307692307693 277:0.14285714285714285 425:1.0 534:1.0 564:1.0 613:1.0 703:1.0 712:0.5 837:1.0 910:0.5 1304:1.0 2862:1.0 4666:1.0 4834:1.0 4880:0.125 5001:1.0 5092:1.0 5278:1.0 5375:1.0 5472:1.0 5536:1.0 5898:1.0 5981:1.0 6248:1.0 6804:1.0
6 18:0.14285714285714285 24:0.5 35:0.1 41:0.5714285714285714 47:0.3333333333333333 75:0.1111111111111111 117:0.3333333333333333 118:1.0 122:0.5 124:0.3333333333333333 176:0.3333333333333333 177:0.25 249:0.25 258:1.0 261:0.3333333333333333 451:2.0 639:0.16666666666666666 864:1.0 910:0.5 911:0.3333333333333333 1009:1.0 1255:0.5 1561:1.0 1627:1.0 1632:1.0 2459:1.0 2560:1.0 2669:0.5 2704:1.0 2792:1.0 2862:1.0 3895:1.0 4324:1.0 6287:1.0 6418:1.0 7042:1.0 7443:1.0 7756:1.0 8121:1.0 8556:1.0 8913:1.0
6 18:0.14285714285714285 24:0.5 28:1.0 36:0.09090909090909091 41:0.2857142857142857 42:1.0 47:0.3333333333333333 48:0.25 53:0.5 67:0.25 75:0.1111111111111111 122:0.16666666666666666 329:1.0 416:1.0 484:1.0 564:1.0 619:0.5 803:1.0 1068:1.0 3517:1.0 4832:1.0 4944:1.0 5039:1.0 5186:1.0 5346:1.0 5358:0.5 5475:1.0 5477:1.0 6988:1.0 7103:1.0 7289:1.0 7743:1.0 8705:1.0 8952:1.0
6 18:0.2857142857142857 20:0.07142857142857142 75:0.05555555555555555 122:0.16666666666666666 191:0.23076923076923078 304:1.0 355:1.0 484:1.0 756:0.3333333333333333 803:1.0 1572:1.0 4084:0.5 4093:1.0 4773:1.0 4792:1.0 4819:1.0 4874:0.16666666666666666 4881:0.16666666666666666 4882:1.0 4987:0.3333333333333333 5103:1.0 5319:1.0 5989:1.0 6244:1.0 6554:1.0 6584:1.0 6608:1.0
6 4:0.5 15:0.5 18:0.14285714285714285 24:0.5 28:1.0 41:0.42857142857142855 63:1.0 67:0.25 75:0.05555555555555555 96:1.0 104:0.5 122:0.16666666666666666 133:1.0 166:0.25 200:0.5 214:1.0 226:0.16666666666666666 477:1.0 767:1.0 821:1.0 976:0.5 1028:1.0 1491:1.0 1689:2.0 2560:1.0 2569:1.0 2842:1.0 2933:0.5 3211:1.0 3711:1.0 3797:1.0 5654:0.5 5802:1.0 5904:0.5 6189:1.0 6736:1.0 7663:1.0 8251:1.0 8424:1.0
6 18:0.42857142857142855 24:0.5 38:0.5 41:0.14285714285714285 75:0.16666666666666666 104:0.5 122:0.5 162:0.5 191:0.07692307692307693 226:0.16666666666666666 484:1.0 879:1.0 939:0.5 1028:1.0 2157:0.5 2556:1.0 3553:1.0 4324:1.0 4769:0.09090909090909091 4874:0.16666666666666666 4987:0.3333333333333333 5142:1.0 5251:0.3333333333333333 5433:0.5 5443:1.0 5654:0.5 5982:1.0 6021:1.0 6044:1.0 6725:1.0 6769:1.0 6770:1.0 7102:1.0 7663:1.0
6 24:0.5 41:0.42857142857142855 47:0.6666666666666666 58:0.16666666666666666 67:0.5 69:0.3333333333333333 74:0.5 75:0.05555555555555555 87:1.0 98:0.25 104:1.5 108:0.25 191:0.07692307692307693 214:1.0 345:1.0 451:1.0 484:1.0 542:0.3333333333333333 877:0.3333333333333333 958:0.5 1014:1.0 1028:1.0 1263:0.5 2080:1.0 2459:1.0 2495:1.0 2623:1.0 3200:1.0 4084:0.5 4874:0.16666666666666666 4916:0.3333333333333333 4946:1.0 4987:0.3333333333333333 5013:1.0 5266:1.0 6019:1.0 6047:1.0 6887:1.0 7980:1.0
6 1:0.125 12:0.01818181818181818 13:0.2857142857142857 18:0.2857142857142857 20:0.07142857142857142 24:0.5 58:0.16666666666666666 67:0.5 75:0.05555555555555555 104:0.5 191:0.07692307692307693 226:0.16666666666666666 643:1.0 708:1.0 829:1.0 873:1.0 939:0.5 1028:1.0 1129:1.0 1155:0.5 1330:0.14285714285714285 1954:1.0 2157:0.5 3180:0.5 3216:1.0 4373:0.07142857142857142 4797:1.0 5490:1.0 5630:1.0 5631:1.0 5992:1.0 6078:1.0 7245:1.0 8666:1.0
6 1:0.125 12:0.01818181818181818 18:0.14285714285714285 20:0.07142857142857142 27:0.125 58:0.16666666666666666 75:0.05555555555555555 191:0.15384615384615385 1028:1.0 1216:1.0 1359:0.5 1969:0.5 2157:0.5 2979:1.0 3464:1.0 4843:0.5 4874:0.16666666666666666 4880:0.125 4912:1.0 5275:1.0 6129:1.0 6179:1.0 6900:1.0 8761:1.0
6 1:0.125 18:0.14285714285714285 24:0.5 38:0.5 41:0.42857142857142855 67:0.25 69:0.3333333333333333 75:0.1111111111111111 98:0.25 126:1.0 139:1.0 191:0.15384615384615385 226:0.16666666666666666 419:1.0 508:1.0 543:0.125 798:1.0 1028:1.0 1079:1.0 1129:1.0 2035:1.0 2066:1.0 2157:0.5 2262:2.0 2900:1.0 2979:1.0 3868:1.0 3896:1.0 4057:1.0 4865:1.0 4874:0.16666666666666666 4875:1.0 5091:1.0 5435:1.0 5436:1.0 5439:1.0 6032:1.0 6047:1.0 6082:1.0 6248:1.0 6310:1.0 7016:1.0 8476:1.0
6 1:0.125 3:0.5 15:1.0 18:0.14285714285714285 27:0.25 38:1.0 41:0.14285714285714285 67:1.0 75:0.05555555555555555 98:0.25 115:0.25 191:0.15384615384615385 214:1.0 222:1.0 236:0.6666666666666666 270:1.0 363:1.0 369:0.5 1251:1.0 1255:0.5 2333:1.0 3053:1.0 3388:1.0 3513:1.0 3797:1.0 4769:0.09090909090909091 4781:1.0 4874:0.16666666666666666 4875:1.0 5077:1.0 5139:1.0 5858:1.0 5859:1.0 6218:1.0 6248:1.0 7222:1.0 8104:1.0 8260:1.0
6 12:0.01818181818181818 18:0.42857142857142855 20:0.07142857142857142 24:0.5 47:0.6666666666666666 52:0.5 65:1.0 67:0.25 75:0.1111111111111111 77:0.25 122:0.5 220:1.0 226:0.16666666666666666 252:0.6666666666666666 374:1.0 387:2.0 425:1.0 557:1.0 707:1.0 879:1.0 975:1.0 998:1.0 1097:1.0 1902:1.0 2069:1.0 2346:1.0 3190:1.0 4765:1.0 4874:0.16666666666666666 4875:1.0 5024:1.0 5316:1.0 5398:1.0 6248:1.0 6502:1.0 7443:1.0 7597:1.0 8412:1.0 8548:1.0
6 12:0.01818181818181818 35:0.1 41:0.2857142857142857 47:0.3333333333333333 67:0.75 77:0.25 96:1.0 98:0.25 122:0.16666666666666666 210:1.0 235:0.3333333333333333 240:1.0 252:0.3333333333333333 398:0.25 494:0.5 513:1.0 557:1.0 707:1.0 840:1.0 868:1.0 912:0.25 1238:1.0 3661:1.0 4797:1.0 4815:1.0 4874:0.16666666666666666 4875:1.0 6280:1.0 6825:2.0 7765:1.0 8098:1.0
6 24:0.5 35:0.1 41:0.14285714285714285 47:0.3333333333333333 67:0.25 74:0.5 77:0.25 98:0.25 111:1.0 122:0.16666666666666666 191:0.07692307692307693 209:0.2 220:1.0 236:0.3333333333333333 373:1.0 441:0.5 448:1.0 451:1.0 506:1.0 568:0.07692307692307693 713:1.0 718:1.0 779:0.25 871:1.0 911:0.3333333333333333 957:0.3333333333333333 1253:1.0 1411:1.0 1810:1.0 2054:1.0 3235:1.0 3969:1.0 4884:0.16666666666666666 5641:1.0 6047:1.0 6064:1.0 7186:1.0
6 24:0.5 41:0.14285714285714285 47:0.6666666666666666 53:0.5 58:0.16666666666666666 75:0.16666666666666666 85:0.2 87:1.0 104:1.0 117:0.3333333333333333 122:0.16666666666666666 162:0.5 191:0.15384615384615385 277:0.14285714285714285 451:1.0 494:0.5 707:2.0 767:1.0 829:1.0 912:0.25 1027:1.0 1330:0.07142857142857142 1441:1.0 1582:1.0 2862:1.0 2898:1.0 4373:0.07142857142857142 4819:1.0 4834:1.0 4850:1.0 4874:0.16666666666666666 4947:1.0 4987:0.3333333333333333 5266:1.0 5270:0.5 5281:1.0 6424:1.0 7227:1.0
6 39:0.25 52:0.5 54:1.0 67:0.75 75:0.1111111111111111 82:0.125 85:0.2 87:1.0 98:0.25 257:1.0 454:1.0 494:0.5 692:1.0 1299:1.0 1508:1.0 2591:1.0 2790:1.0 2859:1.0 3385:1.0 4110:1.0 4799:1.0 5152:1.0 5216:1.0 5443:1.0 6080:1.0
6 24:1.0 35:0.1 41:0.2857142857142857 44:1.0 47:1.0 52:0.5 69:0.6666666666666666 75:0.05555555555555555 98:0.75 104:0.5 119:1.0 178:1.0 197:0.16666666666666666 236:0.3333333333333333 277:0.14285714285714285 288:0.6666666666666666 337:0.5 409:0.3333333333333333 494:0.5 568:0.07692307692307693 707:1.0 732:1.0 798:1.0 1014:1.0 1257:1.0 1263:0.5 1657:1.0 2054:1.0 3868:1.0 3969:1.0 4884:0.16666666666666666 4935:1.0 4971:1.0 5084:1.0 5234:1.0 5294:1.0 5515:1.0 5654:0.5 5908:1.0 6809:1.0 7685:1.0 8136:1.0 8816:1.0
6 12:0.01818181818181818 13:0.14285714285714285 18:0.42857142857142855 24:1.0 27:0.125 35:0.1 47:0.3333333333333333 52:0.5 67:0.25 69:0.3333333333333333 75:0.1111111111111111 77:0.25 85:0.2 104:1.0 152:0.3333333333333333 191:0.07692307692307693 337:0.5 538:1.0 873:1.0 1028:1.0 1054:1.0 1359:0.5 1378:0.5 1385:1.0 1422:1.0 1440:1.0 1573:1.0 2025:1.0 2035:1.0 2888:1.0 2953:1.0 3180:0.5 3264:0.25 3464:1.0 4355:1.0 4819:2.0 4987:0.3333333333333333 5013:1.0 5219:1.0 5270:0.5 5294:1.0 5318:1.0 5375:1.0 5433:0.5 5439:1.0 5513:1.0 6085:1.0 6129:1.0 6212:1.0 7372:1.0 7470:1.0 8847:1.0
6 13:0.14285714285714285 18:0.14285714285714285 24:0.5 27:0.125 41:0.14285714285714285 45:0.25 67:0.25 75:0.16666666666666666 85:0.4 104:1.0 115:0.25 128:1.0 191:0.07692307692307693 226:0.3333333333333333 235:0.3333333333333333 277:0.2857142857142857 363:1.0 448:1.0 502:1.0 506:1.0 564:1.0 703:1.0 1038:1.0 1116:1.0 1263:0.5 1393:1.0 1549:1.0 1558:1.0 1627:1.0 2809:1.0 2857:1.0 3437:1.0 4754:1.0 4773:1.0 4819:1.0 4896:1.0 4911:1.0 5210:1.0 5266:1.0 5348:1.0 5439:1.0 5533:1.0 5583:1.0 5802:1.0 6554:1.0 8243:1.0 8767:1.0
6 18:0.2857142857142857 24:1.0 41:0.42857142857142855 47:0.6666666666666666 58:0.16666666666666666 63:1.0 67:0.5 75:0.16666666666666666 82:0.125 87:2.0 108:0.25 115:0.25 198:0.16666666666666666 261:0.3333333333333333 506:1.0 626:1.0 653:1.0 703:1.0 707:1.0 736:1.0 996:1.0 1014:1.0 2241:1.0 3315:1.0 3626:1.0 4196:1.0 4307:1.0 4891:1.0 4970:0.25 5411:1.0 5662:1.0 6248:1.0 6345:1.0 6346:1.0 6455:1.0 8731:1.0
6 35:0.1 41:0.2857142857142857 45:0.25 75:0.16666666666666666 98:0.25 172:0.25 191:0.07692307692307693 277:0.14285714285714285 345:1.0 368:1.0 398:0.25 451:1.0 639:0.16666666666666666 712:0.5 918:1.0 1251:1.0 1330:0.07142857142857142 2643:1.0 3180:0.5 3847:1.0 4834:1.0 4874:0.16666666666666666 4884:0.16666666666666666 4987:0.3333333333333333 5139:1.0 5360:1.0 6270:1.0 7806:1.0 7843:1.0 8574:1.0 8909:1.0
6 18:0.2857142857142857 45:0.5 47:1.3333333333333333 52:0.5 67:0.25 75:0.16666666666666666 104:0.5 108:0.25 122:0.16666666666666666 172:0.25 252:0.3333333333333333 289:0.5 496:1.0 813:0.5 864:1.0 1028:1.0 2656:1.0 3748:1.0 4373:0.07142857142857142 4801:1.0 4856:1.0 4874:0.16666666666666666 4986:1.0 4987:0.6666666666666666 4992:1.0 4995:1.0 5100:1.0 5179:1.0 5586:0.5 5680:1.0 5742:1.0 5860:1.0 6113:1.0 6218:1.0 6248:1.0 6350:1.0 7616:1.0 7961:1.0 8470:1.0
6 24:0.5 35:0.1 41:0.14285714285714285 45:0.25 75:0.16666666666666666 104:0.5 122:0.16666666666666666 123:1.0 226:0.16666666666666666 261:0.3333333333333333 288:0.3333333333333333 345:1.0 363:1.0 409:0.3333333333333333 451:1.0 534:1.0 620:0.5 712:0.5 799:0.5 910:0.5 1094:2.0 1966:1.0 2625:1.0 2872:1.0 4019:1.0 4834:1.0 4874:0.16666666666666666 4880:0.125 4935:1.0 4986:1.0 4987:0.3333333333333333 5006:1.0 5099:1.0 5586:0.5 5654:0.5 7004:1.0 7663:1.0 7843:1.0 8574:1.0 8703:1.0
6 4:0.5 24:1.0 75:0.2777777777777778 87:1.0 122:0.3333333333333333 162:0.5 258:1.0 277:0.14285714285714285 431:0.5 451:1.0 494:0.5 613:1.0 864:1.0 1330:0.07142857142857142 1441:1.0 2440:1.0 2582:0.5 4043:1.0 4084:0.5 4373:0.07142857142857142 4834:1.0 4947:1.0 4971:1.0 5151:1.0 5313:0.09090909090909091 5551:1.0 5936:1.0 6099:1.0 6424:1.0 7227:1.0
6 18:0.2857142857142857 20:0.07142857142857142 42:1.0 47:0.3333333333333333 53:0.5 67:0.25 75:0.1111111111111111 85:0.2 104:1.0 122:0.3333333333333333 147:0.5 191:0.23076923076923078 236:0.3333333333333333 240:1.0 355:1.0 441:1.0 494:0.5 742:1.0 798:1.0 1028:1.0 1435:1.0 2038:1.0 2225:1.0 2651:1.0 3661:1.0 3968:1.0 4373:0.14285714285714285 4801:1.0 4856:2.0 4874:0.16666666666666666 4876:1.0 4912:1.0
6 24:1.5 36:0.09090909090909091 41:0.14285714285714285 58:0.16666666666666666 64:0.5 75:0.3333333333333333 98:0.75 169:1.0 172:0.25 191:0.15384615384615385 201:1.0 441:0.5 910:0.5 1028:1.0 2004:1.0 2332:1.0 3074:1.0 3264:0.25 4834:2.0 4874:0.16666666666666666 4880:0.125 4882:1.0 4987:0.3333333333333333 4994:1.0 5215:1.0 5234:1.0 5270:0.5 5294:1.0 5331:1.0 6010:1.0 7025:1.0 7101:1.0 8101:1.0 8168:1.0
6 18:0.2857142857142857 20:0.07142857142857142 24:0.5 47:0.3333333333333333 75:0.16666666666666666 104:1.5 122:0.16666666666666666 191:0.3076923076923077 214:1.0 277:0.14285714285714285 288:0.3333333333333333 484:1.0 1028:1.0 1980:1.0 2430:1.0 4355:1.0 4773:1.0 4819:1.0 4874:0.3333333333333333 4880:0.125 4912:1.0 4916:0.3333333333333333 4935:1.0 4971:1.0 4977:0.5 4987:0.6666666666666666 4992:1.0 5266:2.0 5270:0.5 5490:1.0 6554:1.0 7253:1.0 7663:1.0 8095:1.0 8847:1.0
6 3:0.5 15:0.5 18:0.14285714285714285 41:0.2857142857142857 75:0.2222222222222222 85:0.2 98:0.25 104:0.5 191:0.07692307692307693 303:1.0 305:0.3333333333333333 441:0.5 564:1.0 707:1.0 718:1.0 732:1.0 910:0.5 1028:1.0 1261:1.0 2905:1.0 3235:2.0 4874:0.16666666666666666 4880:0.125 4882:1.0 4992:1.0 4994:1.0 5266:1.0 5331:1.0 5358:0.5 5496:1.0 6162:1.0 6620:1.0 6752:1.0 7004:1.0 7451:1.0 7530:1.0 7616:1.0 7929:1.0
6 18:0.2857142857142857 24:0.5 75:0.1111111111111111 104:1.0 126:1.0 191:0.3076923076923077 484:1.0 1028:2.0 1740:1.0 2656:1.0 4355:1.0 4819:1.0 4874:0.3333333333333333 4912:1.0 4987:0.6666666666666666 4992:1.0 5013:1.0 5076:1.0 5219:1.0 5266:1.0 5284:1.0 5318:1.0 5331:1.0 5586:1.0 6085:1.0 6761:1.0 6873:1.0 7763:1.0 8847:1.0
6 12:0.01818181818181818 24:1.0 69:0.3333333333333333 75:0.05555555555555555 152:0.3333333333333333 191:0.15384615384615385 1054:1.0 1385:1.0 1440:1.0 2025:1.0 2304:1.0 2656:1.0 3264:0.25 4750:1.0 4987:0.3333333333333333 5275:1.0 5294:1.0 5548:1.0 6085:1.0 6752:1.0 7355:1.0 8678:1.0
6 12:0.01818181818181818 20:0.07142857142857142 24:0.5 35:0.2 41:0.42857142857142855 69:0.3333333333333333 74:0.5 104:0.5 123:1.0 226:0.16666666666666666 277:0.14285714285714285 387:1.0 451:1.0 460:1.0 535:1.0 639:0.3333333333333333 758:0.3333333333333333 799:0.5 1341:0.5 1529:1.0 1627:2.0 1788:1.0 2198:1.0 2332:1.0 2452:1.0 2496:1.0 3805:1.0 4782:1.0 5600:1.0 5739:1.0 6076:1.0 6449:1.0 6624:1.0 7977:1.0
6 1:0.125 18:0.14285714285714285 20:0.07142857142857142 24:0.5 35:0.1 41:0.2857142857142857 50:1.0 52:0.5 122:0.16666666666666666 128:1.0 191:0.07692307692307693 198:0.16666666666666666 226:0.16666666666666666 441:0.5 448:1.0 477:1.0 494:0.5 540:1.0 758:0.3333333333333333 998:1.0 1255:0.5 1263:0.5 1810:1.0 2222:1.0 2637:1.0 3437:1.0 4831:1.0 4882:1.0 4978:1.0 5040:1.0 5280:1.0 5321:1.0 5358:0.5 5456:1.0 5692:1.0 5703:1.0 6076:1.0 6140:1.0 6525:1.0 7890:1.0
6 18:0.42857142857142855 24:1.0 36:0.09090909090909091 38:0.5 41:0.14285714285714285 52:0.5 67:0.75 72:1.0 82:0.125 85:0.2 123:1.0 126:1.0 128:1.0 191:0.07692307692307693 363:1.0 451:1.0 494:0.5 588:1.0 653:1.0 767:1.0 974:1.0 1009:1.0 1028:1.0 1359:0.5 1558:1.0 1740:1.0 2054:1.0 2222:1.0 2556:1.0 2979:1.0 4874:0.16666666666666666 4987:0.3333333333333333 5322:1.0 5456:1.0 5703:1.0 6212:1.0 7109:1.0 7110:1.0 7527:1.0 8705:1.0 8847:1.0
6 18:0.14285714285714285 20:0.07142857142857142 35:0.1 41:0.42857142857142855 47:0.3333333333333333 67:0.5 74:1.0 98:0.25 122:0.3333333333333333 126:1.0 141:1.0 166:0.25 191:0.07692307692307693 196:0.25 227:0.5 305:0.3333333333333333 494:0.5 501:1.0 502:1.0 829:1.0 939:0.5 1028:1.0 1129:1.0 1175:1.0 1359:0.5 3464:1.0 3807:1.0 3926:1.0 4874:0.16666666666666666 4876:1.0 4880:0.125 4987:0.3333333333333333 5103:1.0 5267:1.0 5331:1.0 5358:0.5 5435:1.0 5436:1.0 5456:1.0 5616:1.0 5656:1.0 5770:1.0 6196:1.0 6504:1.0 6569:1.0 7814:0.5 7924:1.0 8242:1.0 8243:2.0 8789:1.0
6 13:0.14285714285714285 18:0.42857142857142855 20:0.07142857142857142 41:0.14285714285714285 75:0.1111111111111111 82:0.125 85:0.2 98:0.25 117:0.3333333333333333 124:0.3333333333333333 177:0.25 191:0.07692307692307693 306:0.25 557:1.0 653:1.0 707:2.0 722:1.0 758:0.3333333333333333 939:0.5 1230:1.0 1339:2.0 1990:1.0 2157:0.5 2783:1.0 3284:1.0 3780:1.0 4819:1.0 4874:0.16666666666666666 5013:1.0 5219:1.0 5318:1.0 5433:0.5 5438:1.0 5439:1.0 5490:1.0 7348:1.0 7611:1.0 8444:1.0 8490:1.0
6 24:1.0 35:0.2 41:0.14285714285714285 58:0.16666666666666666 75:0.16666666666666666 82:0.125 84:0.25 122:0.6666666666666666 133:1.0 176:0.3333333333333333 191:0.15384615384615385 201:1.0 277:0.14285714285714285 568:0.07692307692307693 910:0.5 977:1.0 1216:1.0 2933:0.5 3175:1.0 4769:0.18181818181818182 4882:1.0 5358:0.5 6301:1.0 6386:1.0 6753:1.0
6 24:0.5 41:0.14285714285714285 45:0.25 52:1.0 67:0.25 74:0.5 75:0.1111111111111111 85:0.2 87:1.0 115:0.25 235:0.3333333333333333 249:0.25 252:0.3333333333333333 261:0.3333333333333333 306:0.25 473:1.0 568:0.07692307692307693 626:1.0 718:1.0 1309:1.0 2033:1.0 2054:1.0 2833:0.5 2933:0.5 3018:1.0 4224:1.0 4310:1.0 4765:1.0 4797:1.0 4804:1.0 5015:1.0 5151:1.0 5373:1.0 5752:1.0 5775:1.0 5968:1.0 6194:1.0 6298:1.0 6357:1.0 7020:1.0
6 18:0.14285714285714285 41:0.14285714285714285 74:0.5 87:1.0 124:0.3333333333333333 177:0.25 191:0.07692307692307693 192:0.3333333333333333 223:1.0 277:0.14285714285714285 337:0.5 477:1.0 774:1.0 1222:1.0 1276:1.0 2309:1.0 2392:1.0 3264:0.25 4133:1.0 4852:1.0 4884:0.16666666666666666 4922:1.0 5656:1.0 5752:1.0 5862:1.0 5983:0.5 7253:1.0
|
08bcbba592749f0dee3377796a27fbdee1aeb0ec | b1ecf554fe1d55892b42c895be627b6bb2c07028 | /Testing/test-prgms/print-twice.tst | c3d65bf55aa393a2d78a0bade201f61618f6563f | [] | no_license | zstone1/idris-cmp | ce090576e1bf6156a696c08d107d432cf9752f83 | 23eec60f023a5276a9c72fc5ab9eb4afd1993432 | refs/heads/master | 2021-07-11T07:24:31.998724 | 2017-10-12T01:43:51 | 2017-10-12T01:43:51 | 73,444,515 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | tst | print-twice.tst | public int main(){
printf("oh ");
printf("boy");
return 0;
}
|
14d7a35e094c6a9f8691efb5db168071881eccc9 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/ARDUINO_INTERRUPT_sim.sci~ | 75bcea3a8aa34ca568bfb20f63e5a72c155de85c | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,017 | ARDUINO_INTERRUPT_sim.sci~ | //
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
//
//
function block=ARDUINO_INTERRUPT_sim(block,flag)
global port_com arduino_sample_time corresp;
function DEBUG(message)
disp("[DEBUG time = "+string(scicos_time())+"] {"+block.label+"} ARDUINO_INTERRUPT Simulation: "+message);
endfunction
select flag
case -5 // Error
case 0 // Derivative State Update
case 1 // Output Update
// Envoi de la trame sur le port série pour dire de renvoyer la valeur comptée
code_sent="Ip"+ascii(corresp(block.rpar(1)));
write_serial(1,code_sent,3)
//binary transfert
[a,b,c]=status_serial(1);
while (b < 4)
[a,b,c]=status_serial(1);
end
values=read_serial(1,4);
temp=ascii(values);
val=double(int32(uint32(256^3*temp(4)+256^2*temp(3)+256*temp(2)+temp(1))));
block.outptr(1)=val;
case 2 // State Update
case 3 // OutputEventTiming
evout = block.evout(1);
if evout < 0
evout = arduino_sample_time;
else
evout = evout + arduino_sample_time;
end
block.evout(1) = evout;
case 4 // Initialization
code_sent="Ia"+ascii(0+corresp(block.rpar(1))); //on envoie plus le PIN mais le numéro d'interruption
write_serial(1,code_sent,3)
code_sent="Iz"+ascii(corresp(block.rpar(1)));
write_serial(1,code_sent,3)
case 5 // Ending
code_sent="Ir"+ascii(corresp(block.rpar(1)));
write_serial(1,code_sent,3)
case 6 // Re-Initialisation
case 9 // ZeroCrossing
else // Unknown flag
end
endfunction
| |
931c314864bc85c0b2d80f06f047667821fb99f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH6/EX6.4/Ex6_4.sce | 3686f743aab9add87ebe67726fb011b6dbb3f8b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | Ex6_4.sce | // Example 6_4
clc;funcprot(0);
// Given data
Q=0;// kW
W=0;// kW
m_s=12.0;// kg/min
p_1=1.00;// MPa
T_1=500;// °C
T_3=15;// °C
T_4=20;// °C
// Calculation
h_1=3478.4;// kJ/kg
h_2=762.8;// kJ/kg
c_w=4.2;// kJ/kg.K
m_w=m_s*(h_1-h_2)/[c_w*(T_4-T_3)];// kg/min
printf("\nThe flow rate of cooling water taken from a local river,m_w=%4.0f kg/min",m_w);
|
79b5b21f9d0f4e8b6cc29bb87ec97b6e012c1a3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH12/EX12.8/12_8.sce | 08eba9b840eca56c6e08f7f5a65cdd842680cb60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | 12_8.sce | clc;
clear;
exec("C:\Program Files\scilab-5.3.0\bin\TCP\12_8data.sci");
rm=0.5*(ro+ri)/12;
U=(N*2*%pi/60)*rm;//ft/sec
wshaft=(-U)*(2*U)/32.174;//ft*lb/lbm
disp("Ft*lb/lbm",wshaft,"The shaft energy per unit mass of air=") |
1ea526e30c35a6a3ced5f9e6dd5834084650306d | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_a6_bfa_mt_d/~BivLCM-SR-bfi_a6_bfa_mt_d-PLin-VLin.tst | fe05fb1dd2c22cc0dcafbfb56746256eda84d4eb | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_a6_bfa_mt_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.354061D+00
2 -0.283621D-02 0.303013D-02
3 -0.105206D+00 0.117462D-02 0.441608D+00
4 0.778745D-03 -0.757411D-03 -0.589612D-02 0.379278D-02
5 -0.363013D-04 0.171110D-03 -0.508299D-03 0.145094D-03 0.273233D-02
6 0.564229D-04 0.941603D-04 0.236403D-03 -0.109579D-03 -0.239512D-03
7 0.146188D-02 0.441788D-04 -0.154084D-02 -0.260273D-04 -0.668685D-03
8 -0.392328D-03 0.142947D-04 -0.738252D-03 0.469629D-04 -0.205284D-03
9 -0.940586D-01 0.195763D-01 -0.137999D+00 0.302407D-01 0.110247D+00
10 -0.114125D+00 0.179401D-01 0.101666D+00 0.134533D-01 0.191820D+00
11 -0.931157D-01 -0.106934D-02 -0.164560D+00 0.243534D-01 -0.783471D-01
12 -0.618056D+00 0.158550D-01 0.696342D+00 0.222496D-01 0.374117D-01
13 0.156295D+00 0.199751D-01 -0.622483D-02 -0.968875D-02 -0.152333D-01
14 -0.242231D+00 0.160532D-01 0.736288D-01 0.230437D-02 0.779403D-02
15 -0.834537D+00 0.812334D-01 -0.472794D+00 -0.116037D-01 -0.129071D+00
16 -0.350750D-01 -0.127444D-01 0.270714D-01 0.823272D-03 0.252565D-03
17 -0.126833D-01 -0.206129D-02 0.402240D-02 0.652342D-03 -0.692002D-03
18 -0.495044D+00 -0.545076D-02 -0.540285D+00 0.117071D-01 0.704507D-01
19 0.272218D-01 -0.675518D-03 0.145964D+00 -0.141234D-01 -0.549101D-02
20 -0.922104D+00 -0.137262D-02 0.174376D+01 0.633145D-02 -0.499680D-01
21 0.266031D-01 0.260297D-02 -0.179563D+00 0.788993D-02 0.205309D-02
22 0.311035D-02 0.594525D-03 -0.119643D-02 -0.567149D-03 0.875085D-04
23 -0.368003D-01 -0.268935D-02 -0.238845D-01 0.124167D-01 0.128197D-02
24 0.419237D-02 -0.278515D-03 0.329033D-02 -0.390520D-03 0.111698D-03
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.828535D-03
7 0.795832D-03 0.343981D-02
8 0.313900D-04 0.363908D-03 0.310993D-02
9 -0.181057D-01 -0.211841D-01 -0.104948D-01 0.812900D+02
10 -0.263181D-01 -0.812779D-01 -0.412930D-01 0.503932D+01 0.320531D+02
11 0.180674D-01 0.366517D-01 0.570959D-01 -0.106130D+02 -0.566648D+01
12 -0.262854D-01 -0.350387D-01 0.800634D-01 -0.233021D+00 0.760773D+01
13 0.648534D-01 0.152357D+00 -0.246992D-01 -0.145660D+01 -0.366492D+01
14 -0.343439D-02 0.138294D-01 0.393745D+00 0.356026D+01 0.278037D+01
15 0.442200D-01 0.582067D-01 0.312386D-01 -0.116845D+02 -0.201198D+02
16 -0.793585D-03 -0.251092D-02 0.111863D-02 0.626389D+00 -0.896896D-01
17 -0.260151D-03 -0.537728D-04 0.412996D-03 -0.209944D+00 -0.307175D-01
18 -0.802998D-01 -0.135815D+00 -0.479765D-01 0.305742D+01 0.128541D+02
19 -0.971543D-02 0.144059D-01 0.116341D-01 0.266935D+01 -0.610279D+00
20 0.285646D-01 -0.580981D-02 -0.341772D+00 -0.732122D+01 0.715340D+01
21 0.112303D-01 -0.125699D-01 -0.135075D-01 -0.285447D+01 0.465021D+00
22 0.117727D-03 -0.125846D-03 0.441237D-03 0.295902D-01 -0.209120D-01
23 -0.310052D-03 -0.183396D-02 -0.591895D-03 0.280668D-01 0.149171D+00
24 -0.450988D-04 0.134408D-03 0.132296D-03 0.311927D-01 -0.399108D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.519913D+02
12 -0.273098D+01 0.168260D+03
13 -0.376398D+01 -0.133348D+01 0.202633D+02
14 0.708103D+01 0.960353D+01 -0.807806D+01 0.113560D+03
15 0.132585D+02 0.205456D+02 0.435211D+01 -0.225660D+01 0.372947D+03
16 0.147055D+00 0.566289D-01 -0.989638D-01 0.124822D+00 0.120520D+01
17 -0.333022D-01 -0.471390D-01 -0.319094D-01 0.121993D+00 -0.181911D+01
18 -0.637874D+01 0.886851D+01 -0.860200D+01 -0.502968D+00 -0.912629D+02
19 -0.990208D-01 0.369122D+01 0.119143D+00 0.746158D+00 -0.875628D+00
20 -0.122653D+02 -0.233716D+02 0.666595D+01 -0.718835D+02 0.476039D+02
21 0.387260D+00 -0.353138D+01 -0.127515D+00 -0.999247D+00 0.980909D-01
22 -0.541493D-01 0.397359D-01 0.419108D-02 0.651386D-01 0.432112D+00
23 -0.174144D-01 0.123770D+01 -0.845989D-01 -0.293903D+00 0.545363D+00
24 0.114729D-02 -0.163904D+00 0.210750D-02 -0.294356D-01 -0.192580D+00
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.527007D+00
17 -0.208536D-01 0.213707D-01
18 -0.374648D+00 0.425702D+00 0.280504D+03
19 -0.521081D-01 0.130941D-01 0.426083D+00 0.733248D+01
20 0.154713D+00 -0.209751D+00 -0.110175D+03 0.992944D+00 0.552885D+03
21 -0.165879D+00 -0.119592D-01 0.434259D+01 -0.683332D+01 -0.243753D+01
22 0.105287D-02 -0.455768D-02 -0.127840D+01 -0.164361D-01 0.396117D+00
23 0.467948D-01 0.625417D-03 -0.532301D+00 -0.154363D+00 0.556389D+01
24 0.140843D-02 0.112897D-02 0.443171D+00 -0.177560D-01 -0.242480D+01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.801262D+01
22 -0.432466D-01 0.131895D-01
23 -0.128543D+00 0.605328D-02 0.873066D+00
24 0.358859D-01 -0.383943D-02 -0.795550D-01 0.257971D-01
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.087 1.000
3 -0.266 0.032 1.000
4 0.021 -0.223 -0.144 1.000
5 -0.001 0.059 -0.015 0.045 1.000
6 0.003 0.059 0.012 -0.062 -0.159
7 0.042 0.014 -0.040 -0.007 -0.218
8 -0.012 0.005 -0.020 0.014 -0.070
9 -0.018 0.039 -0.023 0.054 0.234
10 -0.034 0.058 0.027 0.039 0.648
11 -0.022 -0.003 -0.034 0.055 -0.208
12 -0.080 0.022 0.081 0.028 0.055
13 0.058 0.081 -0.002 -0.035 -0.065
14 -0.038 0.027 0.010 0.004 0.014
15 -0.073 0.076 -0.037 -0.010 -0.128
16 -0.081 -0.319 0.056 0.018 0.007
17 -0.146 -0.256 0.041 0.072 -0.091
18 -0.050 -0.006 -0.049 0.011 0.080
19 0.017 -0.005 0.081 -0.085 -0.039
20 -0.066 -0.001 0.112 0.004 -0.041
21 0.016 0.017 -0.095 0.045 0.014
22 0.046 0.094 -0.016 -0.080 0.015
23 -0.066 -0.052 -0.038 0.216 0.026
24 0.044 -0.032 0.031 -0.039 0.013
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.471 1.000
8 0.020 0.111 1.000
9 -0.070 -0.040 -0.021 1.000
10 -0.161 -0.245 -0.131 0.099 1.000
11 0.087 0.087 0.142 -0.163 -0.139
12 -0.070 -0.046 0.111 -0.002 0.104
13 0.501 0.577 -0.098 -0.036 -0.144
14 -0.011 0.022 0.663 0.037 0.046
15 0.080 0.051 0.029 -0.067 -0.184
16 -0.038 -0.059 0.028 0.096 -0.022
17 -0.062 -0.006 0.051 -0.159 -0.037
18 -0.167 -0.138 -0.051 0.020 0.136
19 -0.125 0.091 0.077 0.109 -0.040
20 0.042 -0.004 -0.261 -0.035 0.054
21 0.138 -0.076 -0.086 -0.112 0.029
22 0.036 -0.019 0.069 0.029 -0.032
23 -0.012 -0.033 -0.011 0.003 0.028
24 -0.010 0.014 0.015 0.022 -0.044
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 -0.029 1.000
13 -0.116 -0.023 1.000
14 0.092 0.069 -0.168 1.000
15 0.095 0.082 0.050 -0.011 1.000
16 0.028 0.006 -0.030 0.016 0.086
17 -0.032 -0.025 -0.048 0.078 -0.644
18 -0.053 0.041 -0.114 -0.003 -0.282
19 -0.005 0.105 0.010 0.026 -0.017
20 -0.072 -0.077 0.063 -0.287 0.105
21 0.019 -0.096 -0.010 -0.033 0.002
22 -0.065 0.027 0.008 0.053 0.195
23 -0.003 0.102 -0.020 -0.030 0.030
24 0.001 -0.079 0.003 -0.017 -0.062
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.197 1.000
18 -0.031 0.174 1.000
19 -0.027 0.033 0.009 1.000
20 0.009 -0.061 -0.280 0.016 1.000
21 -0.081 -0.029 0.092 -0.891 -0.037
22 0.013 -0.271 -0.665 -0.053 0.147
23 0.069 0.005 -0.034 -0.061 0.253
24 0.012 0.048 0.165 -0.041 -0.642
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.133 1.000
23 -0.049 0.056 1.000
24 0.079 -0.208 -0.530 1.000
|
33d06fe1137371477944e909259535aafca6c56e | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /holiday(1).sci | 4a46a6272f7562a3667483dc238012834a660883 | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sci | holiday(1).sci | function[] = holiday(m,d)
if ((m == 1 & d== 1) || (m == 7 & d == 4) || (m == 12 & (d == 25 || 31))) then
disp('TRUE')
else
disp("FALSE")
end
endfunction
|
ab7fe687dc0d5eb787461627c73c52e5c8f9acbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH3/EX3.8/Ex3_8.sce | 493286e5353cf4bd0df61338e5fdcf72cbaae83c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | Ex3_8.sce | clc
no=1.5*10^10
disp("no = "+string(no)) //initializing value of electron hole per cm^3.
n=2*10^16
disp("n= "+string(n)) //initializing value of number of electrons per cm^3.
un=1200
disp("un = "+string(un)) //initializing value of mobility of n-type carrier.
up=500
disp("up = "+string(up)) ////initializing value of mobility of p-type carrier.
e=1.6*10^-19
disp("e = "+string(e)+" columb") //initializing value of charge of electron.
p=(1/(2*e*no*(sqrt(un*up))))
disp("resistivity ,p=(1/(2*e*no*(sqrt(un/up))))= "+string(p)+" ohm")//calculation
sigmamin=(1/p)
disp("conductivity ,s=(1/p))= "+string(sigmamin)+" S/cm")//calculation
sigma=e*no*(un+up)
disp("intrinsic conductivity ,sigma=e*no*(un+up))= "+string(sigma)+" S/cm")//calculation
|
a23a9e378e04a0cf5957ab3bd85ad27f3a46d63a | 918e8207504f36c7eaf613b62c71e91ad3a33a8a | /2017/educrace_by_lulu/EducRace/DATA/Scenario/PlayerCarFallAfterSecondFloorJump.sce | 596999cafdfc9298ab48f523d1bf5b856152e2de | [] | no_license | lazarusccr/GraphicsContest | b1299eeb74449b8714f126deeb64dc02da285260 | 8dec398588970e958c7f08ab7be32af760acbbd6 | refs/heads/master | 2021-04-29T07:29:46.122593 | 2017-12-28T16:26:51 | 2017-12-28T16:26:51 | 77,950,829 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 59 | sce | PlayerCarFallAfterSecondFloorJump.sce | ScaleChange 1 0.06 Linear
SendEvent 5
Wait 0.06
SendEvent 0 |
e9bb17e9bad21c56988a47ab96f30c54c98bfd7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH5/EX5.1/Example5_1.sce | 5f5368ba0014101b6d942f71d7bb2f24df341638 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | Example5_1.sce | //Example 5.1
tau=0.1;//min
xs=90;//degrees
A=10;//degrees
Y_inf=10;//degrees
Y_t=8;//degrees
//Substituting into Eq.(5.12) the appropriate values of Y_t,A,and tau gives
t=-0.1*logm(1-(Y_t/A));//min
disp('min',t,'time=') |
b4d05acf44fa1c49aac2afd6964a2fcf63c2d322 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH9/EX9.4/9_4.sce | 1839bce73ee94aa94b2b99c3e8a51c33ad52ed1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | 9_4.sce | clear;
clc;
printf("\t\t\tExample Number 9.4\n\n\n");
// Flow boiling
// Example 9.4(page no.-506)
// solution
p = 5*101325/10^(6);// [MPa] pressure of water
d = 0.0254;// [m] diameter of tube
Tw = 10;// [degree celsius]
// for calculation we use equation (9-45), noting that
dT = 10;// [degree celsius]
// the heat transfer coefficient is calculated as
h = 2.54*Tw^(3)*exp(p/1.551);// [W/square meter degree celsius]
// the surface area for a 1-m length of tube is
L = 1;// [m]
A = %pi*d*L;// [square meter]
// so the heat transfer is
q = h*A*dT;// [W/m]
printf("the heat transfer in a 1.0 m length of tube is %f W/m",q); |
58e54381ae18194c4c4f2ad996512cc2bd4dc9ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH27/EX27.1/SBG_1.sce | d82b1f3e1df1626b80825201ccef40cffb1bd9bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | SBG_1.sce | // sum 27-1
clc;
clear;
P=8000;
N1=400;
N2=200;
i=N1/N2; //i=Zg/Zp=dg/dp
gamma1=atan(1/i);
gamma2=90-gamma1;
rp=200;
R=rp/sin(gamma1);
b=0.2*R;
rm1=rp-(b*sin(gamma1)/2);
Pt=P*1000*60/(2*%pi*N1*rm1);
alpha=20*%pi/180;
Ps=Pt*tan(alpha);
Pr=Ps*cos(gamma1);
Pa=Ps*sin(gamma1);
// printing data in scilab o/p window
printf("Pt is %0.0f N ",Pt);
printf("\n Ps is %0.2f N ",Ps);
printf("\n Pr is %0.2f N ",Pr);
printf("\n Pa is %0.2f N ",Pa);
//The difference in the values is due to rounding-off of the values.
|
938cddac5d7d59c465769b1274d80c8c38b7652a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.10_18.tst | e56e235cd0b58d2b30397a21fb865a381d534750 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,775 | tst | bow.10_18.tst | 10 55:0.16666666666666666 56:1.0
10 2:0.06666666666666667 4:0.16666666666666666 13:0.5 88:1.0 143:1.0
10 13:0.5 27:0.3333333333333333 29:0.1 42:0.3333333333333333 45:1.0 68:0.3333333333333333 69:0.5 70:1.0 71:1.0 73:1.0 108:0.3333333333333333 115:1.0 165:1.0 169:0.5 211:0.5 282:1.0 469:1.0 548:1.0 558:1.0 580:1.0 1348:1.0 1603:1.0
10 2:0.06666666666666667 17:1.0 32:0.3333333333333333
10 2:0.06666666666666667 4:0.16666666666666666 169:0.5 184:1.0
10 29:0.1 74:1.0
10 2:0.06666666666666667 57:1.0 68:0.3333333333333333 114:0.16666666666666666 116:1.0 408:1.0 450:0.5 636:1.0 652:1.0
10 2:0.06666666666666667 8:1.0 371:1.0
10 2:0.06666666666666667 4:0.16666666666666666 32:0.6666666666666666 34:0.5 125:0.5 233:1.0 305:1.0 311:1.0 560:1.0 938:1.0
10 34:0.5 556:1.0
10 639:1.0
10 55:0.16666666666666666 56:1.0
10 29:0.1 31:1.0 32:0.3333333333333333 222:0.3333333333333333 343:1.0 436:1.0
10 2:0.06666666666666667 4:0.16666666666666666 17:1.0 23:1.0 29:0.1 31:2.0 32:0.6666666666666666 57:1.0 118:1.0 130:0.25 144:1.0 153:0.3333333333333333 253:1.0 292:0.2
10 2:0.06666666666666667 4:0.16666666666666666 13:0.5 32:0.3333333333333333 63:1.0 115:0.5 118:1.0 308:0.5 338:1.0 502:1.0 541:1.0 1018:1.0 1224:1.0
10 8:1.0 12:0.3333333333333333 15:0.05 23:1.0 32:1.0 68:0.3333333333333333 104:0.07142857142857142 115:0.5 116:1.0 121:1.0 127:1.0 153:0.3333333333333333 283:1.0 346:1.0 355:1.0 581:1.0 873:0.5 874:1.0 1250:1.0 1305:1.0
10 269:0.3333333333333333 639:1.0
10 55:0.16666666666666666 56:1.0
10 15:0.05 32:0.3333333333333333 161:1.0 228:0.16666666666666666 711:0.3333333333333333
10 4:0.16666666666666666 12:0.3333333333333333 15:0.05 32:0.3333333333333333 37:1.0 112:1.0 153:0.3333333333333333
10 12:0.3333333333333333 15:0.05 618:1.0
10 71:1.0 72:1.0 118:1.0 143:1.0 165:1.0 269:0.3333333333333333 270:1.0 503:1.0
10 2:0.06666666666666667 12:0.3333333333333333 15:0.05 19:0.09090909090909091 68:0.3333333333333333 121:1.0 450:0.5 640:0.3333333333333333 694:1.0 776:1.0 1542:1.0
10 4:0.16666666666666666 22:0.125 26:1.0 29:0.1 239:0.5
10 4:0.16666666666666666 12:0.6666666666666666 13:0.5 15:0.15 26:1.0 31:1.0 32:0.3333333333333333 37:1.0 90:1.0 100:0.2 114:0.16666666666666666 115:1.5 180:0.3333333333333333 209:0.5 216:1.0 336:1.0 382:1.0 450:0.5 525:0.5 580:1.0 655:1.0 662:1.0 999:1.0 1348:1.0
10 4:0.3333333333333333 12:0.3333333333333333 15:0.1 16:1.0 31:2.0 32:0.3333333333333333 58:1.0 115:0.5 118:1.0 143:2.0 146:1.0 148:0.3333333333333333 209:1.5 225:1.0 235:0.5 249:1.0 262:1.0 305:1.0 371:1.0 502:1.0 909:1.0 1010:1.0 1567:1.0
10 4:0.16666666666666666 15:0.1 16:1.0 22:0.125 29:0.1 32:0.3333333333333333 68:0.3333333333333333 83:0.5 216:1.0 222:0.3333333333333333 251:1.0 305:1.0 609:1.0 1320:1.0
10 12:0.3333333333333333 15:0.1 43:1.0 108:0.6666666666666666 110:0.5 544:1.0 580:1.0 609:1.0
10 12:0.3333333333333333 1429:1.0
10 12:0.3333333333333333 104:0.07142857142857142 108:0.3333333333333333 641:1.0
10 13:0.5 31:1.0 92:1.0 1326:1.0 1429:1.0
10 15:0.05 16:1.0 37:1.0 84:1.0 222:0.3333333333333333
10 4:0.16666666666666666 27:0.3333333333333333 143:1.0 150:0.3333333333333333 176:1.0 292:0.2 305:1.0 773:1.0 1082:1.0
10 639:1.0
10 55:0.16666666666666666 84:1.0 130:0.25
10 2:0.2 4:0.5 13:0.5 19:0.18181818181818182 23:1.0 29:0.1 32:0.6666666666666666 68:0.3333333333333333 76:2.0 92:1.0 104:0.07142857142857142 108:0.3333333333333333 110:0.5 119:1.0 131:1.0 145:1.0 148:0.3333333333333333 179:1.0 216:1.0 222:0.3333333333333333 464:1.0 496:1.0 580:1.0 977:1.0
10 2:0.06666666666666667 4:0.16666666666666666 15:0.05 22:0.125 32:0.3333333333333333 68:0.3333333333333333 76:2.0 104:0.07142857142857142 172:1.0 229:1.0 288:1.0
10 2:0.06666666666666667 15:0.05 83:0.5
10 2:0.06666666666666667 15:0.05 16:1.0 108:0.3333333333333333 115:0.5 171:0.1111111111111111
|
cc67b339d41609108d8571e535b581e25fb63c57 | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Mostrar a Posição do Maior Elemento do Vetor.sce | af5482ba74a4a97bd7e4e93d078d417a3212ab9c | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | Mostrar a Posição do Maior Elemento do Vetor.sce | //Dado um vetor mostrar a posição do maior elemento
a = input("Digitar o a matriz a=");
n=size(a);
x=a(1)
for i =2:n(2)
if x < a(i) then
x = a(i);
p = i;
end
end
disp(x,p);
|
338247ab511d9824b3fa31ed963c97f9b5d40351 | ffe9e19b244ceec2af7b863d956d8dbdc079103b | /Matemática Computacional II/8170312/Pol_Newton_DD.sci | c3662f38048c996b07304ea4560ce8819c478337 | [] | no_license | Vmvs007/ESTG-LEI | 25b67be60f3695f8677be57779dccd0670a8e48e | ae99dd7f6cd57a67cfdc6b1d303a03df3e6e5c69 | refs/heads/master | 2020-05-06T12:28:36.560414 | 2019-04-13T17:02:09 | 2019-04-13T17:02:09 | 180,124,885 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,382 | sci | Pol_Newton_DD.sci | function [Tabela,P_x_bar] = Pol_Newton_DD(x,y,x_bar)
// * + * + * + * + * + * + * + * + * + * + * +
// IN
// (x,y) suporte de interpolacao - valores dados!!!!
// x_bar ponto onde vou interpolar
// * + * + * + * + * + * + * + * + * + * + * +
// OUT
// Tabela - tabela de diferencas divididas
// P_x_bar - aproximacao usando o pol de Newton no ponto x_bar
// * + * + * + * + * + * + * + * + * + * + * +
// Criado por: Eliana Costa e Silva elianacostasilva@gmail.com
// Modificado em 17/10/2015
// - + - + - + - + - + - + - + - + - + - + - + - + - + - + -
P_x_bar = 0;
x=matrix(x,length(x),1);
y=matrix(y,length(y),1);
nlinhas = length(x);
ncol = nlinhas +1;
Tabela = zeros(nlinhas,ncol);
if length(x) ~=length(y) then
disp('ATENCAO: x e y tem dimensoes diferentes.')
disp('Verifique o conjunto suporte que introduziu!')
return
end
Tabela(:,1) = x;
Tabela(:,2) = y;
for ii =1:nlinhas-1 // percorre as colunas
for jj = 1:nlinhas-ii //percorre as linhas
Tabela(jj,ii+2) = (Tabela(jj+1,ii+1)-Tabela(jj,ii+1))/(x(jj+ii)-x(jj));
end
end
// aproximacao
P_x_bar = Tabela(1,2);
aux=1;
for ii =1:nlinhas-1
aux = aux*(x_bar-x(ii));
P_x_bar = P_x_bar + Tabela(1,ii+2)*aux;
end
endfunction
|
7626d24bfd15496fae21f67e7d7eb2610c5dffe4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH5/EX5.11.a/data5_11.sci | 36b1af71ecc1ebaaa67811a40a52803a745cdd4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sci | data5_11.sci |
//(Design against Fluctuating Load) Example 5.11
//Ultimate tensile strength of 50C4 Sut (N/mm2)
Sut = 660
//Corrected endurance limit Se (N/mm2)
Se = 280
//Minimum value of N is Nmin
Nmin = (10^3)
//Maximum value of N is Nmax
Nmax = (10^6)
//The three elements provided
//Stress in N/mm2 and time in %
stress = {350 400 500}
time = {85 12 3}
|
d754736fe8ec23fa4bb3e8f6f1fcef053b094adc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH17/EX17.6/Ex17_6.sce | 4f8e7d2eed0a2e0bcd2ed8a7ac94151db373eed9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,828 | sce | Ex17_6.sce | printf("\t example 17.6 \n");
printf("\t approximate values are mentioned in the book \n");
// basis 1ft^2 ground area
//Assumption: 20 per cent of the initial vapor content of the gas enters the water body
X1=(1.69/(14.7-1.69))*(18/29);
printf("\t X1 : %.4f lb/lb \n",X1);
G=1500;
w1=G*X1;
printf("\t total water in inlet gas : %.2f lb/hr \n",w1);
// The inlet gas is at 300F and a 120F dew point. Use 0.25 Btu/(lb)(°F) for the specific heat of nitrogen
H1=(0.0807*120)+(0.0807*1025.8)+(0.45*0.0807*(300-120))+(0.25*300); // eq 17.55
printf("\t H1 : %.0f Btu/lb dry air \n",H1);
X2=(w1*(1-.2)/G);
printf("\t outlet gas humidity : %.5f lb/lb \n",X2);
pw=(X2*29*14.7/18)/(1+(X2*29/18));
printf("\t pw : %.3f psia \n",pw);
Tw=112.9; // F, from table 7 for above pw
// The outlet gas has a temperature of 200°F and a 112.9°F dew point
H2=(X2*Tw)+(X2*1029.8)+(X2*0.45*(200-Tw))+(0.25*200); // eq 17.55
printf("\t H2 : %.1f Btu/lb dry air \n",H2);
q=G*(H1-H2);
printf("\t total heat load : %.2e Btu/hr \n",q);
w2=q/(120-85);
printf("\t water loading : %.2e lb/hr \n",w2);
printf("\t interval 1 \n");
// (Kxa*delV/L)= 0 t0 0.05
nd=0.05; // nd=Kxa*V/L
Le=0.93; // fig 17.4 at 300F
C=(0.25)+(0.45*X1);
printf("\t C : %.3f Btu/(lb)*(F) \n",C);
haV=(nd*w2*Le*C);
printf("\t haV : %.1f Btu/(hr)*(F) \n",haV);
qc=(haV*(300-120));
printf("\t qc : %.2e Btu/hr \n",qc);
delT=(qc/(C*G));
printf("\t delT : %.1f F \n",delT);
T1=(300-delT);
printf("\t T(0.05) : %.1f F \n",T1);
delt=(qc/w2);
printf("\t delt : %.2f F \n",delt);
t1=(120-delt);
printf("\t t(0.05) : %.1f F \n",t1);
printf("\t interval 2 \n");
// (Kxa*delV/L)= 0.05 to 0.15
nd1=0.1;
haV1=(nd1*w2*Le*C);
printf("\t haV1 : %.1f Btu/(hr)*(F) \n",haV1);
qc1=(haV1*(T1-t1));
printf("\t qc1 : %.1e Btu/hr \n",qc1);
delT1=(qc1/(C*G));
printf("\t delT1 : %.1f F \n",delT1);
T2=(T1-delT1);
printf("\t T(0.15) : %.2f F \n",T2);
X3=0.0748; // at 117.6F
w3=(nd1*w2*(0.0807-X3));
printf("\t water diffused during interval : %.3f lb/hr \n",w3);
w4=(w1-w3);
printf("\t water remaining : %.2f lb/hr \n",w4);
l1=1027; // Btu/lb, l1= lamda at 117.6F
qd=(w3*l1);
printf("\t qd : %.0f Btu/hr \n",qd);
q1=(qd+qc1);
printf("\t q1 : %.0f Btu/hr \n",q1);
delt1=(q1/w2);
printf("\t delt1 : %.2f F \n",delt1);
t2=(t1-delt1);
printf("\t t(0.15) : %.1f F \n",t2);
X4=0.0640; // at 112.5
X5=(w4/G);
printf("\t X(112.5F) : %.4f lb/lb \n",X5);
printf("\t interval 3 \n");
// (Kxa*delV/L)= 0.15 to 0.25
nd1=0.1;
haV1=(nd1*w2*Le*C);
printf("\t haV1 : %.1f Btu/(hr)*(F) \n",haV1);
qc2=(haV1*(T2-t2));
printf("\t qc2 : %.2e Btu/hr \n",qc2);
delT2=(qc2/(C*G));
printf("\t delT2 : %.1f F \n",delT2);
T3=(T2-delT2);
printf("\t T(0.25) : %.1f F \n",T3);
w5=(nd1*w2*(X5-X4));
printf("\t water diffused during interval : %.3f lb/hr \n",w5);
w6=(w4-w5);
printf("\t water remaining : %.2f lb/hr \n",w6);
l2=1030; // Btu/lb, l1= lamda at 112.5F
qd1=(w5*l2);
printf("\t qd1 : %.2e Btu/hr \n",qd1);
q2=(qd1+qc2);
printf("\t q2 : %.3e Btu/hr \n",q2);
delt2=(q2/w2);
printf("\t delt2 : %.2f F \n",delt2);
t3=(t2-delt2);
printf("\t t(0.25) : %.1f F \n",t3);
X6=0.0533; // at 106.5
X7=(w6/G);
printf("\t X(106.5F) : %.4f lb/lb \n",X7);
// The calculations of the remaining intervals until a. gas temperature of 200°F is reached are shown in Fig. 17.17
w7=21.92; // total water diffused from table in solution
d=(w7/w1)*100;
printf("\t calculated diffusion : %.0f \n",d);
printf("\t Using some standard low-pressure-drop data \n");
// For G = 1500, extrapolate to L = 2040 on logarithmic coordinates. Kxa = 510.
ndt=.54; // from 1st table in solution
Kxa=510; // from 2nd table in solution
Z=(ndt*w2/Kxa);
printf("\t tower height : %.2f ft \n",Z);
A=(50000/G);
printf("\t cross section : %.1f ft^2 \n",A);
// end
|
763f12bbb2a8f9737777204a746fe3b9179eed47 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH2/EX2.17/Ex2_17.sce | 0dc1425901543d1da874b8d5676888323cff3c65 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 855 | sce | Ex2_17.sce | errcatch(-1,"stop");mode(2);//caption:find(a)arithmetic mean(b)deviation from mean(c)average deviation(d)standard deviation(e)variance(f)probable reading of one error
//Ex2.17
x1=12.8//first reading(in V)
x2=12.2//second reading(in V)
x3=12.5//third reading(in V)
x4=13.1//fourth reading(in V)
x5=12.9//fifth reading(in V)
x6=12.4//sixth value(in V)
n=6//number of reading
x=(x1+x2+x3+x4+x5+x6)/n
disp(x,'(a)arithmetic mean(in V)=')
d1=x1-x
d2=x2-x
d3=x3-x
d4=x4-x
d5=x5-x
d6=x6-x
disp(d6,d5,d4,d3,d2,d1,'(b)value of deviation(in V)=')
D=((d1)+(-d2)+(-d3)+(d4)+(d5)+(-d6))/n//taking mod of deviation value
disp(D,'(c)average deviation=')
S=((d1^2+d2^2+d3^2+d4^2+d5^2)/(n-1))^(0.5)
disp(S,'(d)standard deviation(in V)=')
V=S^2
disp(V,'(e)variance(in V)=')
P=0.6745*V
disp(P,'(f)probable error of one reading(in V)=')
exit();
|
37e5862ae75c9701b53daa0ab053379c8bc8a3eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH4/EX4.2/Chap4_Ex2.sce | 53e00c02a924373d413fa9cb78fdc43cdb385d7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,015 | sce | Chap4_Ex2.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-4, Example 2, Page 108
//Title: Design of a Tuyere Distributor
//==========================================================================================================
clear
clc
//INPUT
lor=0.1;//Minimum allowable tuyere spacing in m
uorm=30;//Maximum allowable jet velocity from the tuyere in m/s
uo=0.4;//Superficial velocity of gas in m/s
uor=30.2;//Gas velocity through orifice,from Exa 1, in m/s
Cd=0.6;//Dicharge coefficient from Exa 1
rhog=3.6//Density of gas in kg/m^3
pi=3.1428;
//CALCULATION
Nor=1/(lor^2);//Calculation of number of orifices per unit area by assuming minimum spacing for tuyeres
dor={(4/pi)*(uo/uor)*(1/Nor)}^0.5;//Calculation of diameter of inlet orifiec by using Eqn.(13)
//Computation of diameter of hole for different number of holes per tuyere
q=(lor^2)*uo;//Volumetric flow rate in m^3/s
Nh=[8;6;4];//Different number of holes per tuyere
n=length(Nh);
i=1;
while i<=n
dh(i)=((((q/Nh(i))*(4/pi))/uorm)^0.5);//Calculation of diameter of holes
i=i+1;
end
deltaph=(rhog/2)*((uor/Cd)^2);
//OUTPUT
printf('\nNumber of holes(number of holes/tuyeres)');
printf('\tDiameter of hole(m)');
j=1;
while j<=n
mprintf('\n%f',Nh(j));
mprintf('\t\t\t\t\t%f',dh(j));
j=j+1;
end
printf('\nThe design chosen is as follows');
printf('\n\tTuyeres are as shown in Fig.2(b),page 97');
mprintf('\n\tNumber of holes = %f(Since rectangular pitch is chosen for tuyeres)',Nh(2));
mprintf('\n\tDiameter of hole = %fm',dh(2));
mprintf('\n\tDiameter of incoming high-pressure-drop orifice = %fm ID',dor);
printf('\nChecking the pressure drop in tuyeres');
mprintf('\nSince pressure drop of %fPa gives sufficiently high distributor pressure drop as seen in Exa.1, use of inlet orifice can be dispensed.',deltaph);
//====================================END OF PROGRAM ====================================================== |
b58ab208ae62ca28c1397b9d071a537760fd4c4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /20/CH10/EX10.12.416/example10_12_pg416.sce | 15d8dc5f145cc1222d5f6f6c67a60faeddc2cd86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,326 | sce | example10_12_pg416.sce | // Example10_12_pg416.sce
// Regulation by mmf method
// Theory of Alternating Current Machinery by Alexander Langsdorf
// First Edition 1999, Thirty Second reprint
// Tata McGraw Hill Publishing Company
// Example in Page 416
clear; clc; close;
// Given data
va = 2500e+3; // Volt Ampere rating of the transformer, VA
vll = 6600; // Line to Line voltage, Volts
r = 0.073; // Resistance in Ohms
x = 0.87; // Reactance in Ohms
pf1 = 0.8;
phase = 3;
// Calculations
phi = acos(pf1);
V = vll / sqrt(3);
I = round(va / (phase*V)) ;
IR_a = I*r;
IX_a = I*x;
V_vec = V*(cos(phi) +%i*sin(phi));
E = V_vec + IR_a;
E_mag = sqrt(real(E)^2 + imag(E)^2);
F_r1_mag = 16500;
cos_alpha = (real(E)/E_mag);
sin_alpha = (imag(E)/E_mag);
alpha = acos(cos_alpha);
F_r1 = F_r1_mag*(cos(%pi/2 + alpha) + %i*sin(%pi/2 + alpha));
A_plus_Ax = 10000;
F = F_r1 - (A_plus_Ax);
F_mag = sqrt(real(F)^2 + imag(F)^2);
printf("\n Magnitude of F is %0.2f amp-turns per pole", F_mag);
disp('This magnitude of F corresponds to Open-circuit voltage of 4330 Volts');
oc_volt = 4330;
regulation = ((oc_volt - V)/V)*100;
printf("\nRegulation is found to be %0.1f %% \n", regulation);
// Result
// Magnitude of F is 23866.02 amp-turns per pole
// This magnitude of F corresponds to Open-circuit voltage of 4330 Volts
//
// Regulation is found to be 13.6 %
|
8fa8ea9842c36dab2e9b5965897a90672fba57ff | b4be5ed282b4c531c0d140038804106b52e5e9be | /data3.sce | 6f520f14e11b687ef4491d1440754acdc776404e | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | data3.sce | loadmatfile('data3.mat')
z = [data(:,1) data(:,2)];
a = 1
b = [0 0.5721 -0.5742]
c = 1
d = 1
f = [1 -1.3960 0.4014]
oeModel = idpoly(a,b,c,d,f,1)
a = 1
b = [0 0.6224 -0.6235]
c = [1 0.3991 0.0195]
d = [1 -0.5210 -0.3558]
f = [1 -1.3586 0.3626]
bjModel = idpoly(a,b,c,d,f,1)
// zero initial condition
//[yOE0,x0OE0] = predict(data,oeModel);
//[yBJ0,x0BJ0] = predict(data,bjModel);
////5 step ahead predictor
//[yOE5,x0OE5] = predict(data,oeModel);
//[yBJ5,x0BJ5] = predict(data,bjModel);
//
num = [0. 0.6224 -0.9477704 0.1033936 0.2218413];
den = [1. -0.9595 -0.1601173 0.118221 0.0070707];
|
9511e7217077e6d39854bf1e79a28314c4a1b7c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH7/EX7.6/7_6.sce | 9d2ed5b51e80311416969a3a035b8d9734cff1fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | 7_6.sce | clc
//initialisation of variables
clear
Ps1= 1050 //lbf/ft^2
fr= 10.7
p= 36.6 //lbf/ft^2
p1= 195 //lbf/ft^2
fr1= 16
fr2= 1.8
//CALCULATIONS
p2= fr*p
dp= Ps1-p2
lc= dp/p
sp= Ps1+p1-p*(fr1+fr2)
lc1= sp/p
//RESULTS
printf ('Pressure = %.f lbf/ft^2',p1)
printf ('\n pressure difference = %.f lbf/ft^2',dp)
printf ('\n Loss coefficient = %.f ',lc)
printf ('\n Loss coefficient = %.1f ',lc1)
|
5830fef1611ce0d457b1c8992f89db9dc2ab838f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH5/EX5.4/5_4.sce | 8c5ce200b09f22a07cae92d23c858873aa71361f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | 5_4.sce | clc
//initialisation of variables
T1= 25 //C
T2= 600 //C
k1= 6.0954
k2= 3.2533*10^-3 //K
k3= -10.71*10^-7 //K^-1
//CALCULATIONS
dS= k1*2.303*log10((273+T2)/(273+T1))+k2*(T2-T1)+(k3/2)*((273+T2)^2-(273+T1)^2)
//RESULTS
printf ('increase in entropy= %.2f cal deg^-1 mole^-1',dS)
|
5c1525bbe8cb991dc408ae799441a4adf262ff4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.28/Ex6_28.sce | 3132bc6360cff7c84f7e34ad1fedb95cc81e62e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Ex6_28.sce | clc;
f=50;
V=440;
P=4;
N=1490; //Rated speed
N1=1600; //New Speed
Ns=(120*f)/P;
s=(Ns-N)/Ns;
//With neglecting resistances and leakage reactances
//Torque is directly proportional to s/(fr2)
//Appllying the condition for same torque we get
//a=s/f
a=(s/f);
//Ns/s=b
b=120/P;
//s=(Ns-N1)/Ns
//Using above equation we get equation (f*f)-7500f-400000
Q=[1 -7500 400000]
R=roots(Q);
f1=R(2);
mprintf('Value of new Frequency is %f Hz',f1);
|
ecb74192700a5cf0299c8c2179ad64292505bfe4 | f5bb8d58446077a551e4d9a6461a55255db523fe | /sistemas_lineares/lista_quest8.sce | 9e50c75a2ced197875253ed331b198dc3e988e96 | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | lista_quest8.sce | A = [20, -10, 4; -10, 25, -5; -4, -5, 20]
b = [26; 0; 7]
R = gaussjacob(A, b, [0;0;0], 0.0001)
disp(R)
printf("\nAproximaçao obtida:")
disp(X)
X = R(:,$)
r = A*X - b
printf("\nValor do residuo:")
disp(sqrt(sum(r.^2)))
|
6935d984b2279be631617a1e8addac1b2b250907 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/fwht.sci | e0a15ff781b244fb2c9faacd989d4d6758f12be5 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,466 | sci | fwht.sci | function y = fwht(x, varargin)
//Compute the Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm
//Calling Sequence
//fwht (x)
//fwht (x, n)
//fwht (x, n, order)
//Parameters
//x: real or complex valued scalar or vector
//n: x is truncated or extended to have length n
//order: Specification of order in which coefficients should be arranged
//Description
//Compute the Walsh-Hadamard transform of x using the Fast Walsh-Hadamard Transform (FWHT) algorithm. If the input is a matrix, the FWHT is calculated along the columns of x.
//
//The number of elements of x must be a power of 2; if not, the input will be extended and filled with zeros. If a second argument is given, the input is truncated or extended to have length n.
//
//The third argument specifies the order in which the returned Walsh-Hadamard transform coefficients should be arranged. The order may be any of the following strings:
//
//"sequency"
//The coefficients are returned in sequency order. This is the default if order is not given.
//
//"hadamard"
//The coefficients are returned in Hadamard order.
//
//"dyadic"
//The coefficients are returned in Gray code order.
funcprot(0);
rhs= argn(2);
if(rhs<1 | rhs > 3)
error("Wrong number of input arguments");
end
select(rhs)
case 1 then
y= callOctave("fwht", x);
case 2 then
y= callOctave("fwht",x, varagin(1));
case 3 then
y= callOctave("fwht",x, varargin(1), varargin(2));
end
endfunction
|
e745ea34dd7d2083b1c2a6bf94a21f6ad14c31f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH3/EX3.3/Example_3_3.sce | a29d59aa18606d344e6f529826c6d0b81877365e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Example_3_3.sce | //Theoretical Density Computation for Copper
clear;
clc;
printf("\tExample 3.3\n");
R=1.28D-08; //Atomic radius in cm
A_Cu=63.5; //Atomic wt of copper
n=4; //For FCC
Na=6.023D23; //Avogadro no.
a=2*R*sqrt(2);
Vc=a^3;
den=n*A_Cu/(Vc*Na);
printf("\nDensity is %.2f g/cm^3\n",den);
//End |
3b990c2e2fac22cb2f21f617f6a4bc90419bd8d2 | 32869948ce801ed2e69b5fb986fc310cab9a6d4a | /macros/buildmacros.sce | 3d164d525e9a28eff52f130235e942f4254477aa | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ierturk/SciPowerLab | 54ed5755cf4f3854176d7088f893317fe86cc0cf | da5d153272bae12564c1ded95241d6b40c8b4a90 | refs/heads/master | 2022-07-20T15:29:09.447509 | 2022-07-18T21:10:36 | 2022-07-18T21:10:36 | 94,237,627 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | buildmacros.sce | // ErturkMe - Copyright 2011 - 2022
// http://erturk.me
// ierturk@ieee.org
// See license.txt
function buildmacros()
curdir = get_absolute_file_path("buildmacros.sce");
macrosdirs = [..
"MachinePal",..
"ControlPal"..
];
for i=1:size(macrosdirs,"*") do
exec(curdir + "/" + macrosdirs(i) + "/buildmacros.sce");
end
endfunction
buildmacros();
clear buildmacros; // remove buildmacros on stack
|
425a4a8121b111cc66d9516fc9e9eec13fda56cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH17/EX17.23/17_23.sci | 20a365918c2f15df00f7a1c908797370e9a7b35c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,096 | sci | 17_23.sci | //function//
A=[-2 0;1 -1]
B=[0;1]
x=[0;0]
disp(x,"x(t)=')
s=poly(0,'s');
[Row Col]=size(A) //Size of a matrix A
m=s*eye(Row,Col)-A //sI-A
n=det(m) //To Find The Determinant of si-A
p=inv(m) ; // To Find The Inverse Of sI-A
syms t s m;
disp(p,"phi(s)=") //Resolvent Matrix
t=(t-m)
q=eval(q) //At t=t-m ,evaluating q i.e phi(t-m)
//Integrate q w.r.t m (Indefinite Integration)
r=integ(q*B,m)
m=0 //Upper limit is t
g=eval(r) //Putting the value of upper limit in q
m=t //Lower Limit is 0
h=eval(r) //Putting the value of lower limit in q
y=(h-g);
disp(y,"y=")
printf("x(t)= phi(t)*x(0) + integ(phi(t-m)*B) w.r.t m from 0 t0 t \n")
//x(t)=phi(t)*x(0)+integ(phi(t-m)*B)w.r.t m from 0 t0 t
y1=(q*x)+y;
disp(y1,"x(t)=")
// CONTROLABILITY OF THE SYSTEM
Cc=cont_mat(A,B);
disp(Cc,"Controlability Matrix=")
//To Check Whether the matrix(Cc)is singular i.e determint of Cc=0
if determ(Cc)==0;
printf("Since the matrix is Singular, the system is not controllable \n");
else;
printf("The system is controllable \n")
end;
|
1bd57353cb4946ebb3ae44f05a1c14ac06e7d3c9 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/X09S.prev.tst | 43d10e7d0b4155171b873dfacbc6c73a6c4e05c4 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,236 | tst | X09S.prev.tst | # flat Ramanujan.X09 3*m^2 + 5*m*n - 5*n^2
# flat Ramanujan.X09 4*m^2 - 4*m*n + 6*n^2
# flat Ramanujan.X09 5*m^2 - 5*m*n - 3*n^2
# flat Ramanujan.X09 6*m^2 - 4*m*n + 4*n^2
# merg Ramanujan.X09 - 3*x_y_z^2
# merg Ramanujan.X09 3*x_y_z^2
# merg Ramanujan.X09 6*x_y_z^2
# merg Ramanujan.X09 6*x_y_z^2
# orig Ramanujan.X09 -(6*m^2-4*m*n+4*n^2)^3
# orig Ramanujan.X09 (3*m^2+5*m*n-5*n^2)^3
# orig Ramanujan.X09 +(4*m^2-4*m*n+6*n^2)^3
# orig Ramanujan.X09 +(5*m^2-5*m*n-3*n^2)^3
# poly Ramanujan.X09 0
000018 [3,4,5,6] Ramanujan.X09 factor=1 parm= [-1,0]
000018 [3,4,5,6] Ramanujan.X09 factor=1 parm= [0,-1]
000018 [3,4,5,6] Ramanujan.X09 factor=1 parm= [0,1]
000018 [3,4,5,6] Ramanujan.X09 factor=1 parm= [1,0]
000018 [3,4,5,6] Ramanujan.X09 factor=16 parm= [-4,0]
000018 [3,4,5,6] Ramanujan.X09 factor=16 parm= [0,-4]
000018 [3,4,5,6] Ramanujan.X09 factor=16 parm= [0,4]
000018 [3,4,5,6] Ramanujan.X09 factor=16 parm= [4,0]
000018 [3,4,5,6] Ramanujan.X09 factor=21 parm= [-2,-5]
000018 [3,4,5,6] Ramanujan.X09 factor=21 parm= [-5,-2]
000018 [3,4,5,6] Ramanujan.X09 factor=21 parm= [2,5]
000018 [3,4,5,6] Ramanujan.X09 factor=21 parm= [5,2]
000018 [3,4,5,6] Ramanujan.X09 factor=25 parm= [-5,0]
000018 [3,4,5,6] Ramanujan.X09 factor=25 parm= [0,-5]
000018 [3,4,5,6] Ramanujan.X09 factor=25 parm= [0,5]
000018 [3,4,5,6] Ramanujan.X09 factor=25 parm= [5,0]
000018 [3,4,5,6] Ramanujan.X09 factor=4 parm= [-2,0]
000018 [3,4,5,6] Ramanujan.X09 factor=4 parm= [0,-2]
000018 [3,4,5,6] Ramanujan.X09 factor=4 parm= [0,2]
000018 [3,4,5,6] Ramanujan.X09 factor=4 parm= [2,0]
000018 [3,4,5,6] Ramanujan.X09 factor=9 parm= [-3,0]
000018 [3,4,5,6] Ramanujan.X09 factor=9 parm= [0,-3]
000018 [3,4,5,6] Ramanujan.X09 factor=9 parm= [0,3]
000018 [3,4,5,6] Ramanujan.X09 factor=9 parm= [3,0]
000032 [1,9,10,12] Ramanujan.X09 factor=12 parm= [-2,4]
000032 [1,9,10,12] Ramanujan.X09 factor=12 parm= [-4,2]
000032 [1,9,10,12] Ramanujan.X09 factor=12 parm= [2,-4]
000032 [1,9,10,12] Ramanujan.X09 factor=12 parm= [4,-2]
000032 [1,9,10,12] Ramanujan.X09 factor=3 parm= [-1,2]
000032 [1,9,10,12] Ramanujan.X09 factor=3 parm= [-2,1]
000032 [1,9,10,12] Ramanujan.X09 factor=3 parm= [1,-2]
000032 [1,9,10,12] Ramanujan.X09 factor=3 parm= [2,-1]
000032 [1,9,10,12] Ramanujan.X09 factor=7 parm= [-3,-4]
000032 [1,9,10,12] Ramanujan.X09 factor=7 parm= [-4,-3]
000032 [1,9,10,12] Ramanujan.X09 factor=7 parm= [3,4]
000032 [1,9,10,12] Ramanujan.X09 factor=7 parm= [4,3]
000058 [7,14,17,20] Ramanujan.X09 factor=1 parm= [-1,-2]
000058 [7,14,17,20] Ramanujan.X09 factor=1 parm= [-2,-1]
000058 [7,14,17,20] Ramanujan.X09 factor=1 parm= [1,2]
000058 [7,14,17,20] Ramanujan.X09 factor=1 parm= [2,1]
000058 [7,14,17,20] Ramanujan.X09 factor=4 parm= [-2,-4]
000058 [7,14,17,20] Ramanujan.X09 factor=4 parm= [-4,-2]
000058 [7,14,17,20] Ramanujan.X09 factor=4 parm= [2,4]
000058 [7,14,17,20] Ramanujan.X09 factor=4 parm= [4,2]
000086 [18,19,21,28] Ramanujan.X09 factor=3 parm= [-1,-4]
000086 [18,19,21,28] Ramanujan.X09 factor=3 parm= [-4,-1]
000086 [18,19,21,28] Ramanujan.X09 factor=3 parm= [1,4]
000086 [18,19,21,28] Ramanujan.X09 factor=3 parm= [4,1]
000122 [3,36,37,46] Ramanujan.X09 factor=1 parm= [-2,-3]
000122 [3,36,37,46] Ramanujan.X09 factor=1 parm= [-3,-2]
000122 [3,36,37,46] Ramanujan.X09 factor=1 parm= [2,3]
000122 [3,36,37,46] Ramanujan.X09 factor=1 parm= [3,2]
000140 [27,30,37,46] Ramanujan.X09 factor=1 parm= [-1,-3]
000140 [27,30,37,46] Ramanujan.X09 factor=1 parm= [-3,-1]
000140 [27,30,37,46] Ramanujan.X09 factor=1 parm= [1,3]
000140 [27,30,37,46] Ramanujan.X09 factor=1 parm= [3,1]
000164 [15,42,49,58] Ramanujan.X09 factor=3 parm= [-1,5]
000164 [15,42,49,58] Ramanujan.X09 factor=3 parm= [-5,1]
000164 [15,42,49,58] Ramanujan.X09 factor=3 parm= [1,-5]
000164 [15,42,49,58] Ramanujan.X09 factor=3 parm= [5,-1]
000188 [7,54,57,70] Ramanujan.X09 factor=1 parm= [-1,3]
000188 [7,54,57,70] Ramanujan.X09 factor=1 parm= [-3,1]
000188 [7,54,57,70] Ramanujan.X09 factor=1 parm= [1,-3]
000188 [7,54,57,70] Ramanujan.X09 factor=1 parm= [3,-1]
000264 [23,63,84,94] Ramanujan.X09 factor=1 parm= [-2,3]
000264 [23,63,84,94] Ramanujan.X09 factor=1 parm= [-3,2]
000264 [23,63,84,94] Ramanujan.X09 factor=1 parm= [2,-3]
000264 [23,63,84,94] Ramanujan.X09 factor=1 parm= [3,-2]
000284 [35,59,92,98] Ramanujan.X09 factor=3 parm= [-4,5]
000284 [35,59,92,98] Ramanujan.X09 factor=3 parm= [-5,4]
000284 [35,59,92,98] Ramanujan.X09 factor=3 parm= [4,-5]
000284 [35,59,92,98] Ramanujan.X09 factor=3 parm= [5,-4]
000322 [23,86,97,116] Ramanujan.X09 factor=1 parm= [-1,4]
000322 [23,86,97,116] Ramanujan.X09 factor=1 parm= [-4,1]
000322 [23,86,97,116] Ramanujan.X09 factor=1 parm= [1,-4]
000322 [23,86,97,116] Ramanujan.X09 factor=1 parm= [4,-1]
000348 [23,94,105,126] Ramanujan.X09 factor=1 parm= [-3,-5]
000348 [23,94,105,126] Ramanujan.X09 factor=1 parm= [-5,-3]
000348 [23,94,105,126] Ramanujan.X09 factor=1 parm= [3,5]
000348 [23,94,105,126] Ramanujan.X09 factor=1 parm= [5,3]
000368 [23,95,116,134] Ramanujan.X09 factor=1 parm= [-4,-5]
000368 [23,95,116,134] Ramanujan.X09 factor=1 parm= [-5,-4]
000368 [23,95,116,134] Ramanujan.X09 factor=1 parm= [4,5]
000368 [23,95,116,134] Ramanujan.X09 factor=1 parm= [5,4]
000412 [86,95,97,134] Ramanujan.X09 factor=1 parm= [-1,-5]
000412 [86,95,97,134] Ramanujan.X09 factor=1 parm= [-5,-1]
000412 [86,95,97,134] Ramanujan.X09 factor=1 parm= [1,5]
000412 [86,95,97,134] Ramanujan.X09 factor=1 parm= [5,1]
000516 [57,113,166,180] Ramanujan.X09 factor=1 parm= [-3,4]
000516 [57,113,166,180] Ramanujan.X09 factor=1 parm= [-4,3]
000516 [57,113,166,180] Ramanujan.X09 factor=1 parm= [3,-4]
000516 [57,113,166,180] Ramanujan.X09 factor=1 parm= [4,-3]
000538 [5,163,164,206] Ramanujan.X09 factor=1 parm= [-2,5]
000538 [5,163,164,206] Ramanujan.X09 factor=1 parm= [-5,2]
000538 [5,163,164,206] Ramanujan.X09 factor=1 parm= [2,-5]
000538 [5,163,164,206] Ramanujan.X09 factor=1 parm= [5,-2]
000678 [45,173,214,246] Ramanujan.X09 factor=1 parm= [-3,5]
000678 [45,173,214,246] Ramanujan.X09 factor=1 parm= [-5,3]
000678 [45,173,214,246] Ramanujan.X09 factor=1 parm= [3,-5]
000678 [45,173,214,246] Ramanujan.X09 factor=1 parm= [5,-3]
|
50d9ea28f715e34c9b4d23472451ce74e207292d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH23/EX23.17/Ex23_17.sce | 60f980197dbc89957bba9a89cfae8df2a2281945 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,047 | sce | Ex23_17.sce |
function[z]=pol2rect(r,theta)
x=r*cos(theta)
y=r*sin(theta)
z=x+y*%i
endfunction
function[r]=mag(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
endfunction
j=%i
R1=.15//per phase stator winding resistance
//block rotor test
Vb=133/sqrt(3)//per phase voltage
Ib=100//per phase current
Wb=8085/3//per phase power
Zb=Vb/Ib//per phase impedance
Rb=Wb/Ib^2//per phase resistance
Xb=sqrt(Zb^2-Rb^2)//per phase reactance
R2_dash=Rb-R1//per phase rotor resistance referred to stator
X2_dash=Xb/2//per phase rotor reactance referred to stator
X1=X2_dash//per phase stator leakage reactance
//no load test
Vo=400/sqrt(3)//per phase voltage
Io=20//per phase current
Wo=2080/3//per phase power
pf=Wo/(Vo*Io)//power factor
phi0=acos(pf)
Iw=Io*cos(phi0)
Im=-Io*sin(phi0)*j
Io=pol2rect(Io,-phi0)
Z1=R1+X1*j
Ro=(Vo-Io*Z1)/Iw
Xm=(Vo-Io*Z1)/Im
mprintf("Equivalent circuit parameters are\nR1=%f ohm;\nX1=%f ohm;\nR2_dash=%f ohm;\nX2_dash=%f ohm;\nRo=%f ohm;\nXm=%f ohm",R1,X1,R2_dash,X2_dash,mag(Ro),mag(Xm))
|
abe74e3ca37af63c30c570e9f6c9d7bcb6770df8 | 46b2e0d9f2de6dc4ce132cc405494354129e9fb3 | /Rank of a matrix.sce | 617b1622eee053ee011db20cde2be2cab8289726 | [] | no_license | nilaybhatia/Scilab-pracs | 967f03fc5aa8ad000e221944f17e9b4a81b38883 | a885af1da65d57bd66a6f9d546cd9595ca652b43 | refs/heads/master | 2020-04-09T07:23:47.318916 | 2018-12-08T16:58:25 | 2018-12-08T16:58:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | Rank of a matrix.sce | //Facing problem, not working properly...yet
clc
function rankofA=matrixRank(A)
counter=0
for i=[1:rows]
for j=[1:cols]
if (A(i,j)~=0)
counter=counter+1
break
end
end
end
rankofA=counter
//disp(counter)
endfunction
matri=input("Enter a matrix")
[rows,cols]=size(matri)
disp(rows,cols)
function echelonOfA=EchelonForm(A)
echelonOfA=A
for i=2:rows
for j=1:i-1
echelonOfA(i,:)=echelonOfA(i,:)-(echelonOfA(i,j)/echelonOfA(j,j))*echelonOfA(j,:)
end
end
endfunction
disp(EchelonForm(matri))
disp(matrixRank(EchelonForm(matri)))
|
4cee6a963afc5f313e4042a95772d0f03a146892 | fa428f297a915e9a041597642bfe29627ab69c42 | /app/views/comingsoon.sce | 83a13e5f44d79886afb62e121c69903d30eaa127 | [] | no_license | TheBrenny/Web-Dev-and-Security | dff903be92838b14f7126dd1f7092922b86bf2cc | e4abb96dc24e606704b09f5acdd2684d6d5d577d | refs/heads/main | 2023-06-17T08:33:35.176024 | 2021-06-15T05:07:20 | 2021-06-15T05:07:20 | 343,603,444 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | comingsoon.sce | [[i= partials/header ]]
[[i= partials/navbar ]]
<div class="container center">
<h1 style="text-align:center;"><i>COMING SOON!</i></h1>
</div>
[[i= partials/footer ]] |
3a8581be99075caa31f8c406e71e81c4512be9d3 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/macros/flex_blocks/OTHER/FLEX_DMB_LedsLcd.sci | 347c7a303e97a5e4fed6308f50fd29318c14a06a | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,195 | sci | FLEX_DMB_LedsLcd.sci | function [x,y,typ] = FLEX_DMB_LedsLcd(job,arg1,arg2)
//** ------------------------------------ INPUT ---------------------------------
x=[];y=[];typ=[];
select job //** main state machine switch
case 'plot' then //** plot the object
graphics = arg1.graphics;
exprs = graphics.exprs;
name = exprs(1)(1);
standard_draw(arg1)
case 'getinputs' then //** inputs
[x,y,typ] = standard_inputs(arg1) //**
case 'getoutputs' then //**
[x,y,typ] = standard_outputs(arg1)
case 'getorigin' then //**
[x,y]=standard_origin(arg1)
case 'set' then //** set parameters
x = arg1 ; //**
model = arg1.model;
graphics = arg1.graphics;
label = graphics.exprs;
block_type = model.ipar(1);
sblock_id = string(model.ipar(2));
// lcd_intyp
lcd_intyp = 'dd';
if model.ipar(3)==1 then
if model.ipar(4)==1 then
lcd_intyp = 'dd';
else
lcd_intyp = 'du';
end
else
if model.ipar(4)==1 then
lcd_intyp = 'ud';
else
lcd_intyp = 'uu';
end
end
while %t do
dialog_box_banner = "Flex LEDs/LCD Parameters";
[ok, new_block_id, new_lcd_intyp] = getvalue(dialog_box_banner,...
['Flex Identifier';'LCD input type [d:real, u:uint8] '], list('vec',1,'str',1), [sblock_id; lcd_intyp]);
if ~ok then break, end //** in case of error
label(1)(1) = 'Flex_'+string(new_block_id);
ng = [];
z = 0;
nx = 0;
nz = 0;
nin = 1;
ci = 1;
nevin = 1;
co = [];
nevout = 0;
depu = %t; dept = %f;
dep_ut = [depu dept];
funam = 'flex_blocks';
funtyp = 4 ;
input_leds_type = 5;//int8
new_lcd_intyp = ascii(new_lcd_intyp);
if new_lcd_intyp(1)==ascii('d') then
if new_lcd_intyp(2)==ascii('d') then
input_lcd_type = [1;1]; //real,real
i = [1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 1];
else if new_lcd_intyp(2)==ascii('u') then
input_lcd_type = [1;8]; //real,uint8
i = [1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 -1];
else
message("Error: unknown type for LCD port 2");
end
end
else if new_lcd_intyp(1)==ascii('u') then
if new_lcd_intyp(2)==ascii('d') then
input_lcd_type = [8;1]; //uint8,real
i = [1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 -1;1 1];
else if new_lcd_intyp(2)==ascii('u') then
input_lcd_type = [8;8]; //uint8,uint8
i = [1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 -1;1 -1];
else
message("Error: unknown type for LCD port 2");
end
end
else
message("Error: unknown type for LCD port 1");
end
end
ipar = [block_type;new_block_id;input_lcd_type];
it = [input_leds_type;input_leds_type;input_leds_type;input_leds_type;...
input_leds_type;input_leds_type;input_leds_type;input_leds_type;...
input_lcd_type(1);input_lcd_type(2)];
o = [];
ot = [];
[model, graphics, ok] = set_io(model, graphics, list(i,it), list(o, ot), ones(ci,1), []);
if ~ok then
message("something wrong in in/out settings");
end
model.sim = list(funam,funtyp) ; //** computation function
model.in = i(:,1);
model.in2 = i(:,2);
model.out = [];
model.out2 = [];
model.evtin = ci;
model.evtout = [];
model.state = [];
model.dstate=[] ;
model.rpar = [];
model.ipar = ipar;
model.firing = [];
model.dep_ut = dep_ut;
model.nzcross = 0 ;
x.model = model ;
graphics.exprs = label ;
x.graphics = graphics ;
break
end
case 'define' then //** the standard define
flex_block_type_buttons = 0;
flex_block_type_ledslcd = 1;
block_type = flex_block_type_ledslcd;
block_id = 0;
name = 'Flex_' + string(block_id);
model = scicos_model();
funam = 'flex_blocks';
funtyp = 4 ;
model.sim=list(funam, funtyp) //** simulating function
i = [1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 1;1 -1;1 -1];
model.in = i(:,1);
model.in2 = i(:,2);
input_leds_type = 5;//int8
input_lcd_type = [8;8]; //uint8,uint8
it = [input_leds_type;input_leds_type;input_leds_type;input_leds_type;...
input_leds_type;input_leds_type;input_leds_type;input_leds_type;...
input_lcd_type(1);input_lcd_type(2)];
model.intyp = it;
model.out = [] ;
model.out2 = [];
model.evtin = 1 ;
model.evtout = [] ;
model.state = [] ;
model.dstate = [] ;
model.rpar = [];
model.ipar = [block_type;block_id;8;8];
model.blocktype = 'c';
model.firing = [] ;
model.dep_ut = [%t %f];
model.nzcross = 0 ;
label = list( [name], [] ) ;
gr_i=['[x,y,typ]=standard_inputs(o) ';
'dd=sz(1)/16'
'r = xstringl(0,0,''LED0'')';
'if ~arg1.graphics.flip then'
' dd=sz(1)-r(3)-dd'
'end'
'xstring(orig(1)+dd,y(1)-r(4)/2,''LED0'')'
'xstring(orig(1)+dd,y(2)-r(4)/2,''LED1'')'
'xstring(orig(1)+dd,y(3)-r(4)/2,''LED2'')'
'xstring(orig(1)+dd,y(4)-r(4)/2,''LED3'')'
'xstring(orig(1)+dd,y(5)-r(4)/2,''LED4'')'
'xstring(orig(1)+dd,y(6)-r(4)/2,''LED5'')'
'xstring(orig(1)+dd,y(7)-r(4)/2,''LED6'')'
'xstring(orig(1)+dd,y(8)-r(4)/2,''LED7'')'
'xstring(orig(1)+dd,y(9)-r(4)/2,''LCD1'')'
'xstring(orig(1)+dd,y(10)-r(4)/2,''LCD2'')'
'rect = xstringl(0,0,name)'
'if graphics.flip then'
' xstring(orig(1)+sz(1)-rect(3),orig(2)+sz(2)/2-rect(4),name);'
'else'
' xstring(orig(1),orig(2)+sz(2)/2-rect(4),name);'
'end'
];
x = standard_define([4 6],model,label,gr_i)
case 'compile' then
flex_path = getenv("FLEXPATH","");
if isempty(flex_path) == %T then
disp("Environment variable FLEXPATH not found!");
disp("The FLEX Demo Board SIMULATOR has not been installed!");
disp("Please note that the FLEX Demo Board SIMULATOR is included only with the full version of the ScicosLab-pack.");
else
[info_file,ierr] = fileinfo(flex_path);
if ierr <> 0 then
disp("Flex file " + flex_path + " not found!");
end
end
end
endfunction
|
439f10e5bfb3570f6863c023e4f3ee9d6931d956 | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/microdaq_blocks/mdaq_uart_read.sci | 48ce402c068ae0f53091c81407948deda4d8ce2d | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 4,120 | sci | mdaq_uart_read.sci | function [x,y,typ] =mdaq_uart_read(job,arg1,arg2)
uart_recv_desc = ["UART read";
"This block receives data from MicroDAQ UART port. Block supports";
"blocking and non-blocking mode. Block allows data sync with";
"transmiter by 32bit data containing user defined value. If ''Use sync";
"data'' is enabled data output will return data stream after 32bit sync";
"blocking and non-blocking mode. Block allows data sync with";
"value.";
"";
"Max data size is 512 bytes.";
"";
"MODULE:";
" 0 - UART0";
" 1 - UART1";
" 2 - UART2";
"";
"Use sync data:";
" 0 - false";
" 1 - true";
"";
"Enable blocking mode:";
" 0 - false";
" 1 - true";
"";
"Set UART recv block parameters:"];
x=[];y=[];typ=[];
select job
case 'set' then
x=arg1
model=arg1.model;
graphics=arg1.graphics;
exprs=graphics.exprs;
while %t do
try
getversion('scilab');
[ok,module, data_size, use_sync,sync_data,enable_blocking,timeout,exprs]=..
scicos_getvalue(uart_recv_desc,..
['Module:';
'Data size:';
'Use sync data:';
'Sync data (32bit hex):';
'Enable blocking mode';
'Timeout (miliseconds):'],..
list('vec',1,'vec',1,'vec',1,'str',1,'vec',1,'vec',1),exprs)
catch
[ok,module, data_size, use_sync,sync_data,enable_blocking,timeout,exprs]=..
getvalue(uart_recv_desc,..
['Module:';
'Data size:';
'Use sync data:';
'Sync data (32bit hex):';
'Enable blocking mode';
'Timeout (miliseconds):'],..
list('vec',1,'vec',1,'vec',1,'str',1,'vec',1,'vec',1),exprs)
end;
if ~ok then
break
end
if module > 2 | module < 0 then
ok = %f;
message("Use values 0,1 or 2 to set UART module.");
end
if data_size > 512 | data_size < 0 then
ok = %f;
message("Incorrect Data size. (max 512)");
end
if use_sync > 1 | use_sync < 0 then
ok = %f;
message("Use values 0 or 1 to set ''Use sync data''.");
end
if enable_blocking > 1 | enable_blocking < 0 then
ok = %f;
message("Use values 0 or 1 to set ''Enable blocking mode''.");
end
if timeout < 0 then
timeout = 100;
end
if ok then
[model,graphics,ok] = check_io(model,graphics, [], [data_size,1], 1, []);
graphics.exprs = exprs;
model.rpar = [];
model.ipar = [module;data_size;use_sync;hex2dec(sync_data);enable_blocking;timeout];
model.dstate = [];
x.graphics = graphics;
x.model = model;
break
end
end
case 'define' then
module = 0;
data_size = 16;
use_sync = 0;
sync_data = "7161646d";
enable_blocking = 0;
timeout = 100;
model=scicos_model()
model.sim=list('mdaq_uart_read_sim',5)
model.in = []
//intyp 8 - uint8
model.out=[data_size;1]
model.outtyp=[8;3]
model.evtin=1
model.rpar=[];
model.ipar=[module;data_size;use_sync;hex2dec(sync_data);enable_blocking;timeout]
model.dstate=[];
model.blocktype='d'
model.dep_ut=[%t %f]
exprs=[sci2exp(module);sci2exp(data_size);sci2exp(use_sync);sync_data;sci2exp(enable_blocking);sci2exp(timeout)]
gr_i=['xstringb(orig(1),orig(2),['''' ; ],sz(1),sz(2),''fill'');']
x=standard_define([4 3],model,exprs,gr_i)
x.graphics.in_implicit=[];
x.graphics.exprs=exprs;
end
endfunction
|
a129d367a3361988403694fb58f575c0452b9e1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH14/EX14.7/14_7.sce | fec3dad0b1ee2a40a0a5fd741407bac4e982f27d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | 14_7.sce | clear;
clc;
//Example - 14.7
//Page number - 464
printf("Example - 14.7 and Page number - 464\n\n");
//This problem involves proving a relation in which no mathematics and no calculations are involved.
//For prove refer to this example 14.7 on page number 464 of the book.
printf(" This problem involves proving a relation in which no mathematics and no calculations are involved.\n\n");
printf(" For prove refer to this example 14.7 on page number 464 of the book.")
|
45525a54d8e8dfed54d4b51906e6cc9d68bd7c58 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-1/result7s0.tst | c404ed737b9cec059a721f6e74063dadac8d2e7b | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | tst | result7s0.tst | @relation yeast-1
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, EXC, VAC, POX, ERL}
@inputs Mcg, Gvh, Alm, Mit, Erl, Pox, Vac, Nuc
@outputs Class
MIT CYT
CYT NUC
MIT MIT
MIT CYT
CYT CYT
ME3 MIT
NUC NUC
CYT CYT
MIT MIT
MIT CYT
MIT MIT
CYT CYT
CYT CYT
ME3 ME3
CYT CYT
MIT CYT
MIT NUC
NUC NUC
NUC NUC
CYT MIT
CYT CYT
ME2 CYT
ME2 ME2
NUC CYT
ME1 ME1
NUC NUC
CYT NUC
ME3 ME3
NUC MIT
MIT MIT
CYT CYT
NUC CYT
MIT MIT
MIT MIT
MIT MIT
NUC NUC
MIT CYT
NUC CYT
ME1 ME2
CYT CYT
NUC CYT
ME2 ME1
NUC NUC
MIT NUC
ME3 MIT
EXC ME1
NUC NUC
CYT ME3
EXC CYT
EXC ME1
NUC NUC
NUC NUC
POX POX
MIT ME3
NUC CYT
NUC NUC
CYT CYT
NUC CYT
POX CYT
NUC NUC
ME3 ME3
CYT CYT
CYT CYT
NUC NUC
ME1 ME1
VAC ME3
ME3 ME3
NUC NUC
NUC NUC
CYT NUC
CYT CYT
NUC CYT
NUC NUC
NUC NUC
NUC NUC
MIT MIT
CYT NUC
CYT CYT
CYT CYT
CYT MIT
CYT NUC
MIT NUC
MIT MIT
CYT NUC
CYT MIT
CYT MIT
ME1 ME1
CYT CYT
CYT CYT
CYT NUC
ME2 ME3
CYT CYT
NUC MIT
NUC NUC
ME3 MIT
NUC NUC
NUC NUC
NUC CYT
NUC NUC
EXC ME1
NUC NUC
NUC NUC
CYT CYT
CYT NUC
CYT CYT
CYT NUC
CYT CYT
CYT NUC
NUC NUC
CYT CYT
CYT CYT
CYT CYT
CYT NUC
CYT CYT
NUC MIT
ME2 ME2
CYT CYT
VAC ME1
VAC CYT
NUC NUC
NUC NUC
ME3 NUC
ME3 ME3
NUC NUC
MIT CYT
ME1 ME1
MIT MIT
ME3 ME3
ME3 NUC
NUC NUC
ME3 CYT
ME3 ME3
ME3 NUC
ME3 CYT
NUC CYT
NUC MIT
MIT CYT
MIT MIT
NUC NUC
CYT CYT
CYT CYT
ME3 ME3
CYT ME3
CYT CYT
MIT MIT
NUC CYT
MIT MIT
CYT CYT
|
422e7a0ff5e7bbb547c85602c9692bc9b56497c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH8/EX8.14/Ex8_14.sce | 5383e59be2a5dccec88937aba6f10486bc07b86d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | Ex8_14.sce |
clear//
//Variable Declaration
e_a=100*10**-6 //Strain
e_b=300*10**-6 //Strain
e_c=-200*10**-6 //Strain
E=180 //Youngs Modulus in GPa
v=0.28 //Poissons Ratio
//Calculations
y_xy=(e_b-(e_a+e_c)*0.5) //Strain in xy
e_bar=(e_a+e_c)*0.5 //Strain
R_e=sqrt(y_xy**2+(150*10**-6)**2) //Resultant Strain
//Corresponding Parameters from Mohrs Diagram
sigma_bar=(E/(1-v))*e_bar*10**3 //Stress in MPa
R_sigma=(E/(1+v))*R_e*10**3 //Resultant Stress in MPa
//Principal Stresses
sigma1=sigma_bar+R_sigma //MPa
sigma2=sigma_bar-R_sigma //MPa
theta=atan(y_xy/(150*10**-6))*180*%pi**-1*0.5 //Degrees
//Result
printf("\n The Principal Stresses are as follows")
printf("\n Sigma1= %0.1f MPa and Sigma2= %0.2f MPa",sigma1,sigma2)
printf("\n The plane orientation is %0.2f degrees",theta)
|
61df1352240200da45cb59c372c09af9a5049217 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH7/EX7.4/Ex7_4.sce | f3ba0720da9f78caebbf6562f0bd117ec1d6f470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,244 | sce | Ex7_4.sce | sigma_cbc=5//in MPa
sigma_st=230//in MPa
MF=1.4//modification factor
//let a be span to depth ratio
l=1//span, in m
a=MF*7
D=l*1000/a//in mm
D=105//assume, in mm
//to calculate loading
self_weight=25*(D/10^3)*1.5//in kN/m
finish=0.5*1.5//in kN/m
live_load=0.75*1.5//in kN/m
W=self_weight+finish+live_load//in kN/m
lef=l+0.23/2//effective span, in m
M=W*lef/2//in kN-m
//check for depth
d=(M*10^6/(0.65*1500))^0.5//in mm
dia=12//assume 12 mm dia bars
D=d+12/2+15//<105, hence OK
D=100//assume, in mm
d=D-dia/2-15//in mm
//main steel at mid-span
Ast=M*10^6/(sigma_st*0.9*d)//in sq mm
s1=1500*0.785*12^2/Ast//>3d = 237 mm
s1=235//assume, in mm
Ads=0.12/100*1000*D//distribution steel, in sq mm
//assume 6 mm dia bars
s2=1000*0.785*6^2/Ads//in mm
s2=235//assume, in mm
Tbd=0.84//in MPa
Ld=dia*sigma_st/4/Tbd// in mm
Ld=821//round-off, in mm
Tv=W*10^3/1500/d//in MPa
As=1500*0.785*12^2/235//in sq mm
pt=As/1500/d*100//in %
Tc=0.316//in MPa
//as Tc>Tv, no shear reinforcement required
mprintf("Summary of design\nThickness of slab = %d mm\nCover = 15mm\nMain steel = 12 mm dia @ %d mm c/c\nProvide development length of %d mm in the beam from face of beam\nDistribution steel = 6 mm dia @ %d mm c/c",D,s1,Ld,s2)
|
ee7a210628161e80213ab3460b7c6d3073026293 | fa1dce9ce0696cada1df5b34389384bde14c62af | /BackPropagation/matlab/siec.sce | a132a0df99d8b63d695f3afcb3c9710274f249f1 | [] | no_license | DarthC0mp1ler/MIW | 356c45e8b9e0a1544979fa433124b52e1d8bbf6a | 38b2998e22565d158dd23eba834d20573e5700c7 | refs/heads/main | 2023-06-01T11:32:36.033066 | 2021-06-13T14:11:39 | 2021-06-13T14:11:39 | 376,556,338 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | siec.sce | clear close()
P = -2 :0.1: 2; T = P.^2 + 1*(rand(P)-0.5);
//siec
S1 = 100;
W1 = rand(S1, 1)- 0.5; B1 = rand(S1, 1)- 0.5;
W2 = rand(1, S1) -0,5; B2 = rand(1,1) -0.5;
lr = 0.001
for epoka = 1 : 20
//odpowiedz sieci
A1 = tanh(W1*P + B1*ones(P));
A2 = W2*A1 + B2;
//propagacja wsteczna
E2 = T - A2;
E1 = W2'*E2;
dW2 = lr* E2 * A1';
dB2 = lr *E2 * ones(E2)';
dW1 = lr * (1 - A1.*A1) .* E1 * P';
dB1 = lr * (1 - A1.*A1) .* E1 * ones(P)';
W2 = W2 + dW2; B2 = B2 + dB2;
W1 = W1 + dW1; B1 = B1 + dB1;
if modulo(epoka, 1)==0 then
clf();
plot(P,T, 'r*')
plot(P,A2)
sleep(500);
end
end
|
a760978a278e9ae2bf26be7d2e5bb41f1f675cf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.47/example_3_47.sce | 5b5e37fa150809684f91f812e25b2ba889715c94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | example_3_47.sce | clear;
clc;
disp("--------------Example 3.47---------------")
message_size=5*10^6; //5 M byte
bandwidth=10^6; // 1Mbps
propagation_speed=2.4*10^8; //2.4*10^8 m/s
distance=12000*10^3; // 12,000 km
propagation_time=distance/propagation_speed; //propagation time formula
transmission_time=(message_size*8)/bandwidth; //transmission time formula
// display result
printf("\nThe propagation time is %d ms.\n",propagation_time*10^3);
printf("The transmission time is %d s.\n",transmission_time);
printf("\nNote that in this case, because the message is very long and the bandwidth is not very high, the dominant factor is\nthe transmission time, not the propagation time. The propagation time can be ignored.")
|
e5d06b3e1656cf1a78d0a4c15064dbc2ecfd71a1 | c41363019d1f7a89a914b7026cf50242ec9bcfac | /el/templates/_element.tst | aebd9474e04eb1cb65553303732d2babd8895ccf | [
"MIT"
] | permissive | jhrdina/generator-polymerts | 256e293757160a61068447058ce7728aa72b1dd3 | 87c8e683fad328b8863a24165fdbe521e8abb4b2 | refs/heads/master | 2021-01-15T19:30:26.181536 | 2016-02-11T14:26:56 | 2016-02-11T14:26:56 | 50,454,493 | 0 | 0 | null | 2016-01-26T19:46:41 | 2016-01-26T19:46:41 | null | UTF-8 | Scilab | false | false | 249 | tst | _element.tst | /// <reference path="<%= pathToBower %>/polymer-ts/polymer-ts.d.ts"/>
@component('<%=elementName%>')
class <%=className%> extends polymer.Base {
@property({ type: String, value: 'Hello World!' })
greet: string;
}
<%=className%>.register();
|
5bb4d9aa0a24c8de4ddc99e4d4a9252bec691a36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH2/EX2.18/EX18.sce | 2a5e56cb639abfda91d83d09609bdc0d0b2b5402 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | EX18.sce | // Example 2.18: Diffusion length
clc, clear
I=1e-3; // Forward bias current in amperes
C=1e-6; // Diffusion capacitance in farads
Dp=13; // Diffusion constant for Si
eta=2; // for Si
VT=26e-3; // Voltage equivalent to temperatue at room temperature in volts
Lp=sqrt(C*Dp*eta*VT/I); // Diffusion length in metres
Lp=Lp*1e2; // Diffusion length in centimetres
disp(Lp,"Diffusion length (cm) ="); |
6dc2d2c56d057572c718f88559c6793e55350b1e | 73f78cdeffea591ff380589c4b1dd03d77d63e0a | /projects/08/test3/test3.tst | 78e5aa09f1ef97bdc2b624db92f34ec889acf26e | [] | no_license | orensam/nand2tetris | bf7fe02f4580aff3dfa17e76145c0591112a9adb | dff1e1c014d27030037d4afb834cfdbf221c379d | refs/heads/master | 2020-07-21T21:28:27.084153 | 2014-10-28T10:20:09 | 2014-10-28T10:20:09 | 17,370,144 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | tst | test3.tst | load test3.asm,
output-file test3.out,
compare-to test3.cmp,
output-list RAM[5000]%D1.6.1 RAM[5001]%D1.6.1 RAM[5002]%D1.6.1;
repeat 1000000 {
ticktock;
}
output;
|
a1b4214e33090074a9bf45107233b750167f2afa | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH3/EX3.13/ex13.sce | bbe7e546fb9df8f4c42dbf43769b95e572b53c6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | ex13.sce | //example 13
//calculating mass of gas
clear
clc
Pc=4250 //critical pressure of propane in kPa
Tc=369.8 //critical temperature in K
T=15 //temperature of propane in celsius
Tr=T/Tc //reduced temperature
Prsat=0.2 // reduced pressure
P=Prsat*Pc //pressure in kPa
x=0.1 //given quality
Zf=0.035 //from graph
Zg=0.83 //from graph
Z=(1-x)*Zf+x*Zg //overall compressibility factor
V=0.1 //volume of steel bottle in m^3
R=0.1887 //in kPa-m^3/kg-K
m=P*V/(Z*R*(T+273)) //total propane mass in kg
printf("\n hence,the total propane mass is m = %.3f kg. \n",m)
printf("\n and pressure is P = %.3f kPa. \n",P) |
8ed2048233ccbd44840c80ac972f39c72cbcefed | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.1.a/example11a.sce | 592ad32bab9ae623c2b53923697fd51be4628f5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | example11a.sce | //Example 1.1a
//Determine whether the given signal is periodic or not
clc;
t=0:1/100:1
x=sin(15*%pi*t);
plot(x);
disp('ploting the signal and showing that it is periodic with period=2pi/15pi'); |
87dca8deb6e4fe5788e842982457346a98688982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH12/EX12.22/Ex12_22.sce | 85d44e75f5d1f0e64522f2bf39e35ca1a435c145 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Ex12_22.sce | clear
//Given
e=1500 //V
dl=3 //A
dt=0.001 //s
//Calculation
M=(e*dt)/dl
//Result
printf("\n Mumtual induction between the two coils is %0.3f H", M)
|
865059349ae95384f025be3202b5529732363829 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH7/EX7.28/Ex7_28.sce | 0eb5dcba499ea0a6a9c924910cfbb277b82f9ec6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | Ex7_28.sce | clc
//to calculate energy of a neutron
//consider nucleus as a cubical box of size 10^-14m
//x=y=z=a=10^-14=l
//for neutron to be in the lowest energy state nx=ny=nz=1
//formula is E=(%pi^2*h^2/8*%pi^2*m)*((nx/lx)^2+(ny/ly)^2+(nz/lz)^2)
h=6.626*10^-34 //planck's constant in Js
m=1.6*10^-27 //mass in kg
l=10^-14 //in m
E=(%pi^2)*(h^2)*3/(4*(%pi^2)*2*m*(1.6*10^-19)*l^2)
disp("lowest energy of a neutron is E="+string(E)+"eV")
|
73e4b60b0344e412f9071fd345265cb53c7dbefb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH17/EX17.3/Ex17_3.sce | 630f14d3953b2702b1e593e7c2034ac8715b65b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | Ex17_3.sce | // Example 17_3
clc;funcprot(0);
//Given data
P=3000;// kW
P_1=10;// bar
T_1=250;// °C
P_c=65;// cm of Hg
P_b=75.2;// cm of Hg
gradT=15;// °C
T_c=35;// The temperature of the condensate in °C
C_pw=4.2;// kJ/kg.°C
//Calculation
//(a)
p_t=(P_b-P_c)*0.1359;// bar
p_s=p_t;// bar (as p_a=0)
// From h-s chart
x=0.846;// Dryness fraction from h-s chart
h_1=2984;// kJ/kg
h_2=2234;// kJ/kg
h_f2=147;//kJ/kg
gradh=(h_1-h_2);// kJ/kg
m_s=P/gradh;// kg/sec
m_s=m_s*3600;// kg/hr
SSC=m_s/P;// Specific steam consumption in kg/kW-hr
//(b)
n_th=(gradh/(h_1-h_f2))*100;// Thermal efficiency in %
//(c)
m_w=(m_s*(h_2-h_f2))/(gradT*C_pw*1000);//Cooling water supplied in tons/hr.
printf('\n(a)Specific steam consumption=%0.1f kg/kW-hr \n(b)Thermal efficiency of the plant=%0.1f percentage \n(c)Cooling water supplied=%0.0f tons/hr',SSC,n_th,m_w);
|
f9839f7879a061bbf308a584cf7346787a55dc25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH7/EX7.4/eg7_4.sce | 64f26e6c0b6443a3c223c2906f26d7ec2a166c7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | eg7_4.sce | clear;
//clc();
d_ab=3;
d_bc=4;
d_ca=5;
r=0.015;
d_aa=r*exp(-0.25);
d_bb=r*exp(-0.25);
d_cc=r*exp(-0.25);
la=.2*(log([sqrt(d_ab*d_ca)/d_aa]) + %i*0.866*log([d_ab/d_ca]));
lb=2*(log([sqrt(d_ab*d_bc)/d_bb])/10 + %i*0.866*log([d_bc/d_ab])/10);
lc=2*(log([sqrt(d_bc*d_ca)/d_cc])/10 + %i*0.866*log([d_ca/d_bc])/10);
lav=(la +lb + lc)/3;
printf("\n the average inductance is: %f mH/km\n",lav);
|
8791a37f0f4d781b35acdaa48346b47816fda42c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH6/EX6.9/Ex6_9.sce | d5c5731b065570dea349b3698effc77b66aa42ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | Ex6_9.sce | //Example number 6.9, Page number 120
clc;clear;
close;
//Variable declaration
Ee=10; //electron kinetic energy(eV)
Ep=10; //proton kinetic energy(eV)
e=1.6*10**-19; //charge(c)
me=9.1*10**-31; //mass(kg)
mp=1.67*10**-27; //mass(kg)
//Calculation
cebar=sqrt(2*Ee*e/me); //electron velocity(m/s)
cpbar=sqrt(2*Ep*e/mp); //proton velocity(m/s)
//Result
printf("electron velocity is %.3e m/s",cebar)
printf("\n proton velocity is %.3e m/s",cpbar)
//answers given in the book are wrong
|
ba4b0ddf0fcf5794199cbb7beef750597e2af46b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.13/Ex5_13.sce | 2006f5a010c95fedc081b1544b4f772af308407c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | Ex5_13.sce | clear
//Given
R1=4.5
A1=1
A2=2.0
l2=3
l1=1.0
//Calculation
R=(l2/l1)*(A1/A2)
R2=R*R1
//Result
printf("\n The resistance of another wire is %0.3f ohm", R2)
|
ad78704e71079188f1c1d21520101b9dfdbe6857 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH7/EX7.7/Ex7_7.sce | 95cb0000667d3679f5160d2b7b5e4bf9d5ac595d | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 423 | sce | Ex7_7.sce | // Variable declaration
n = 16 // sample size
Mean = 3.42 // sample mean
std_dev = 0.68 // standard deviation
// Calculation
// t(0.05) = 2.947
t = 2.947
y1 = Mean - t*(std_dev / sqrt(n)) // lower limit of range
y2 = Mean + t*(std_dev / sqrt(n)) // upper limit of range
// Result
printf ( "99%% confidence interval(in grams): ( %.2f , %.2f )",y1,y2)
|
5b8c5a716556cfb37dc1710aaffaa9477a673373 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH11/EX11.8/ex11_8.sce | 40781e6651cf55377dd734efa905e32a3674bab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | ex11_8.sce | clc;
clear all;
//let Ec1-Ef=0.3eV=x and Ec2-Ef=y
x=0.3;//Ec-Ef in eV
T1=300;//tempreture in kelvin
T2=330;//tempreture in kelvin
//Ec-Ef=k*T*log(Nc/Nd) so..
y=T2*x/T1;//Ec2-Ef in eV
disp('eV',y,'Ec2-Ef in eV is=');
|
f2b98902773df1d4cf1fcf897dd49c08cd4e7d75 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2ac/rc2ac6.sce | 947aa04d2152e3e8d5b9e46d54590f71fbee0ce2 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | rc2ac6.sce | //check o/p for i/p vector containing terms that are greater than one
k = [1 1 3 4 5 6 7];
r0 = 0.1;
a = rc2ac(k,r0)
disp(a);
//output
//!--error 10000
//At least one of the reflection coefficients is equal to one.The algorithm fails for this case.
//at line 32 of function rc2ac called by :
//a = rc2ac(k,r0)
|
9307d3fe73f5bc735421091ca18a56eed3e31af8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH8/EX8.1/Ex8_1.sce | b21184e1d47fac287a229f1603580ee61838181e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Ex8_1.sce | clear ;
clc;
// Example 8.1
printf('Example 8.1\n\n');
printf('Page No. 222\n\n');
// given
V = 240;// Voltage in Volts
I = 8;// Current in Amps
//By ohm's law-> V = I*R
R = V/I;// In ohms
printf('The resistance of the given circuit is %.0f ohms',R)
|
deba97998e2d0d93e227589171ba9551878a921a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH10/EX10.6/Ex10_6.sce | a8aced99f64bbdf7aacee684242bc2e4dcae2f18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | Ex10_6.sce | //Example 10_6
clc();
clear;
//To determine the mass of the air in flask
p=1.013*10^5 //Units in Pa
v=50*10^-6 //Units in meter^3
M=28 //Units in Kg/Mol
R=8314 //units in J/Kmol K
T=293 //units in K
m=(p*v*M)/(R*T) //Units in Kg
printf("The mass of air in flask is=")
disp(m)
printf("Kg")
|
ab4e9e790580f8799f8943ee4a3d524029e220b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH4/EX4.6/example4_6.sce | fed540643e95dd781e138402913274769ae6a02e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | example4_6.sce | disp('chapter 4 ex4.6')
disp('given')
disp('capacitor coupled inverting amplifier design')
disp("frequency range for the circuit =10Hz to 1KHz")
disp('Rl=250ohms')
disp("From inverting amplifier designed in ex 3.7 R1=1Kohms")
R1=1000
f1=10
disp("Xc1=R1/10 at F1")
disp("C1=1/(2*pi*f1*(R1/10))")
C1=1/(2*%pi*f1*(R1/10))
disp('farads',C1)
Rl=250
disp("Xc2=Rl at f1")
disp("C2=1/(2*pi*f1*Rl)")
C2=1/(2*%pi*f1*Rl)
disp('farads',C2)
disp("From inverting amplifier designed in ex 3.7 R2=47Kohms")
R2=47000
disp("Cf=1/(2*pi*f1*R2)")
Cf=1/(2*%pi*f1*R2)
disp('farads',Cf)
disp("The circuit voltage should be normally between 9 to 18 volts") |
2b6678184f27e4b0b52bded928249f4b34f5c3e2 | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/Gradient/gradproj.sce | 630e438b8a107058da240ad9501c9aea5688a61e | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,133 | sce | gradproj.sce | exec('C:\Users\Julien Guégan\Desktop\PFE\algorithmes\affichage.sce',-1)
function z = cout(x)
z = 0.05*x(1)^4+ 0.1*x(2)^4 + 10*x(1)*x(2)+20*x(1)
endfunction
function g = inegalite(x) //dlf g(x)<0
g = -x(1)-2
endfunction
f = cout
g = inegalite
clf()
affiche(fonction,10,-10,10,-10,'contour')
xlabel('$x_1$','fontsize',4)
ylabel('$x_2$','fontsize',4)
tol = 0.001
x0 = [0 0]
x = x0
cdtarret = %T
n = 1
L = length(g(x))
M = []
while (cdtarret) then
n = n+1
df = numderivative(f,x)
G = g(x)
for i = 1:L
if (G(i) == 0) //contrainte active
M = [M numderivative(g,x)]
end
end
r = -(eye(n) - M*inv(M'*M)*M')*df
while (r == 0)
u = -inv(M'*M)*M'*df
if (min(u) < 0)
indice = find(u == min(u))
M(:,ind) = []
else
return x;
end
end
alpha = 0.01//linesearch(f,x,-df,df)//le pas
G = g(x + alpha*r)
for i = 1:L
while (G(i) < 0) //contrainte inactive
alpha = alpha /2
end
end
xnp1 = x + alpha*df
cdtarret = norm(x-xnp1)>tol
x = xnp1
n = n+1
end
|
9ec67d24145088a2d4108f6d3679c87c5c8de76c | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/ADRSolver/Tests/Advection2D_m12_DG_tri_VarP.tst | da86153e4e55d37cc437f8d5bb9583b97a45c67c | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 616 | tst | Advection2D_m12_DG_tri_VarP.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>2D unsteady DG advection, tri, order 4, P=Variable</description>
<executable>ADRSolver</executable>
<parameters>Advection2D_m12_DG_tri_VarP.xml</parameters>
<files>
<file description="Session File">Advection2D_m12_DG_tri_VarP.xml</file>
</files>
<metrics>
<metric type="L2" id="1">
<value variable="u" tolerance="1e-9">4.03599e-07</value>
</metric>
<metric type="Linf" id="2">
<value variable="u" tolerance="1e-9">4.24106e-05</value>
</metric>
</metrics>
</test>
|
4106cd84694b5c4c375d708150dab9bd95de107d | a88b208abd12ac4ba83e2ac21e779fd1a10209cc | /Prac 3.sce | c711967d71152a0121f788eb6553618db390df20 | [] | no_license | Dhwanit2501/SS-Practicals | fd133d4c179c8f865baeaec62787a71a82e9034e | 21db80b290ca0bc3bd43439c52714be711c60820 | refs/heads/main | 2023-01-19T07:24:25.466057 | 2020-11-25T14:33:49 | 2020-11-25T14:33:49 | 315,964,795 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | Prac 3.sce | //Task 1
n=0:1:25;
fs=0.002;
t=n/fs;
x=cos(2*%pi*0.02*t);
plot2d3(n,x);
//Task 2
figure;
n=0:1:25;
fs=0.04;
t=n/fs;
x=cos(2*%pi*0.02*t);
plot2d3(n,x);
//Task 3
figure;
n=0:1:25;
fs=0.4;
t=n/fs;
x=cos(2*%pi*0.02*t);
plot2d3(n,x);
//Task 4
figure;
n=0:1:25;
fs=50;
t=n/fs;
x1=cos(2*%pi*5*t);
plot2d3(n,x1);
figure;
n=0:1:25;
fs=50;
t=n/fs;
x2=cos(2*%pi*45*t);
plot2d3(n,x2);
figure;
n=0:1:25;
fs=50;
t=n/fs;
x3=cos(2*%pi*55*t);
plot2d3(n,x3);
|
1c50aeac8de020a08b4bc522bb0c14a5ea30c7a6 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/07/MemoryAccess/PointerTest/PointerTest.tst | 40afda00d772f720ec76c2d071330f40e89983cc | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | tst | PointerTest.tst | // File name: projects/07/MemoryAccess/PointerTest/PointerTest.tst
load PointerTest.asm,
output-file PointerTest.out,
compare-to PointerTest.cmp,
output-list RAM[256]%D1.6.1 RAM[3]%D1.6.1
RAM[4]%D1.6.1 RAM[3032]%D1.6.1 RAM[3046]%D1.6.1;
set RAM[0] 256,
repeat 450 {
ticktock;
}
output;
|
211bdebd18e22de05429696a536e91c292d8695a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH9/EX9.1/Ex9_1.sce | 559c1b874a5c0c95fc90cd31cc23e02b79b2baef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Ex9_1.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 9 : SYNCHRONOUS GENERATOR
// Example : 9.1
clc;clear; // clears the console and command history
// Given data
N = 300 // speed of water turbine in rpm
f = 50 // frequency in Hz
// caclulations
P = 120*f/N // number of poles
// display the result
disp("Example 9.1 solution");
printf(" \n Number of poles of the generator \n P = %.0f poles \n", P );
|
84b773d0a41550ba98f6489690dfd018e77f929b | 7a026ddf1258edbcb6765e2a096281765cc3dd28 | /lab02/prog.sce | c997927c3c8761757c578c46f46cfaf7996709da | [] | no_license | TEVolkov/2020-2021_mathmod | 5df8e8a30270de5523458d0ab9af08d99d753f36 | d2cab66f10d9432076ecbe6931e3b404b5ea42d4 | refs/heads/master | 2023-03-31T01:55:12.296974 | 2021-04-02T09:34:31 | 2021-04-02T09:34:31 | 338,531,723 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | prog.sce | s = 7.6;
fi = 3*%pi/4;
function dr=f(tetha, r)
dr=r/2.4;
endfunction;
//r0 = s/3.6; //первый случай
//tetha0 = 0;
r0 = s/1.6; //второй случай
tetha0 = -%pi;
tetha = 0:0.01:2*%pi;
r=ode(r0,tetha0,tetha,f);
function xt=f2(t)
xt=tan(fi)*t;
endfunction
t = 0:1:1000;
polarplot(tetha,r,style = color('green'));
plot2d(t,f2(t),style = color('red'));
|
3c1e97958d66d36638abd6803c7408d097376a67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH7/EX7.9/7q9.sce | 0ea46862cd355b4c002d2fd3f9aa3a121dcb9498 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | 7q9.sce | clc
//initialisation of variables
e= 0.6
D10= 0.09 //mm
D60= 0.16 //mm
//calculations
Cu=D60/D10
k= 35*(e^3/(1+e))*(Cu^0.6)*(D10^2.32)
//results
printf ('hydraulic conductivity = % 3f cm/sec ',k)
|
7aff53ce894b749914bf6f311e50602dc620c260 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH14/EX14.5.b/14_5_soln.sce | 0b0264092016707a6b817460194269d999110498 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | 14_5_soln.sce | clc;
pathname=get_absolute_file_path('14_5_soln.sce')
filename=pathname+filesep()+'14_5_data.sci'
exec(filename)
// Solution:
// suction pressure in absolute,
p_suc_abs=p_suc+p_atm; //psia
// maximum weight that suction cup can lift,
F=ceil((p_atm*(%pi/4)*Do^2)-(p_suc_abs*(%pi/4)*Di^2)); //lb
// maximum weight suction cup can lift with perfect vaccum,
W=p_atm*(%pi/4)*Do^2; //lb
// Results:
printf("\n Results: ")
printf("\n The maximum weight that suction cup can lift is %.0f lb.",F)
printf("\n The maximum weight that suction cup can lift with perfect vacuum is %.0f lb.",W)
|
eaa73dc918f222616ee37b37b1f15d75646a4dd8 | 16bc0f0143e1916c84c6fc0f7cfb18fb9e6ca37b | /misc/pcs/bode.sce | 61666bb87d25d98bc9cd9bc9603b79026caee70c | [] | no_license | shubhamc1200/LabFiles | 9a4268e216c58a1cdfc2f3b3e482e73567033e9f | 45d7611a3089380f6c7b683142ad186238d7754c | refs/heads/main | 2023-08-02T11:38:27.592450 | 2021-09-30T07:21:23 | 2021-09-30T07:21:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | bode.sce | s = poly(0,'s');
n1 = [200];
d1 = [(s+2)*(s+4)*(s+5)];
TF1 = syslin('c',n1/d1);
//subplot(1,2,1);
bode(TF1,0.1,10);
xlabel("Transfer Function 1");
[p,fm] = p_margin(TF1);
[g,fr] = g_margin(TF1);
disp("For First Transfer Function : ")
disp("Gain Margin : ");
disp(g);
disp("Phase Margin : ");
disp(p);
disp("Phase Crossover Frequency : ");
disp(fm);
disp("Gain Crossover Frequency : ");
disp(fr);
/*
n2 = [s+20];
d2 = [(s+1)*(s+7)*(s+50)];
TF2 = syslin('c',n2/d2);
subplot(1,2,2);
bode(TF2,0.01,100);
xlabel("Transfer Function 2");
[p,fm] = p_margin(TF2);
[g,fr] = g_margin(TF2);
disp("For Second Transfer Function : ");
disp("Gain Margin : ");
disp(g);
disp("Phase Margin : ");
disp(p);
disp("Phase Crossover Frequency : ");
disp(fm);
disp("Gain Crossover Frequency : ");
disp(fr);
*/
|
e9d817adcd7f12f4a59f8063aeb46ea6264ef21d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH14/EX14.9/Ex14_9.sce | 98af51baa98bd8e241c9f6bc89fc3166f6b04414 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Ex14_9.sce | //Initilization of variables
l=2.5 //m
v_A=4 //m/s
a_A=5 //m/s^2
theta=30 //degrees
//Calculations
//Vector triangle yields v_a.b=2.93 m/s
v_ab=2.93 //m/s
w=v_ab/l //rad/s (clockwise)
//Ploygon yields alpha_a/b=2.75 m/s^2
alpha_ab=2.75 //m/s^2
alpha=alpha_ab/l //rad/s^2 (counterclockwise)
//Result
clc
printf('The value of angular velocity is %frad/s and that of angular acceleration is %frad/s^2',w,alpha)
|
b043cf16490e76eafbfedd3b99a6a11b276b11be | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/knapsack.man.tst | f24776354b69ad5c2e13dae64538ef550e7e50ed | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | tst | knapsack.man.tst | clear;lines(0);
weight=ones(1,15).*.[1:4];
profit=ones(1,60);
capa=[15 45 30 60];
[earn,ind]=knapsack(profit,weight,capa)
|
6999b3421cd30e25b891efde81912245db60146e | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.41/41.sce | 84555c48d2d421ee819d118cc341b140224bac40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | 41.sce | clc
T1=288; //K
T3=883; //K
rp=6; //rp=p2/p1
n_compressor=0.80;
n_turbine=0.82;
m_a=16; //kg/s
cp1=1.005; //kJ/kg K, For compression process
y1=1.4; // For compression process
cp2=1.11; //kJ/kg K
y2=1.333;
T2=T1*(rp)^((y1-1)/y1);
T2a=(T2-T1)/n_compressor + T1;
T4=T3/rp^((y2-1)/y2);
T4a=T3-n_turbine*(T3-T4);
W_compressor=cp1*(T2a-T1);
W_turbine=cp2*(T3-T4a);
W_net=W_turbine-W_compressor;
Power=m_a*W_net;
disp("Power =")
disp(Power)
disp("kW") |
4e29ea9c72df5c793441514451ff85ce2243c423 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/sr_ni_1o.sce | d1bcbe90e8f4b35953c9e983b2638c88a6f89b54 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,622 | sce | sr_ni_1o.sce | //**************************** sr_ni_1o **********************************
if (blk_name.entries(bl) == "sr_ni_1o") then
mputl("#sr_ni_1o",fd_w);
sr_ni_1o_str= ".subckt sftreg";
for ss=1:scs_m.objs(bl).model.ipar(1)
sr_ni_1o_str=sr_ni_1o_str+" in["+string(ss-1)+"]=net"+string(blk(blk_objs(bl),2))+"_"+string(ss);
end
for ss=scs_m.objs(bl).model.ipar(1):15
sr_ni_1o_str=sr_ni_1o_str+" in["+string(ss)+"]=net"+string(blk(blk_objs(bl),4+numofip))+"_1";
end
if((ramp_chk==1)&(sft_chk==1))
sr_ni_1o_str=sr_ni_1o_str+" in[16]=clear"+" in[17]=net"+string(blk(blk_objs(bl),4))+"_1"+" in[18]=net"+string(blk(blk_objs(bl),5))+"_1"+" out[0]=net"+string(blk(blk_objs(bl),2+numofip))+"_1"+" out[1]=net"+string(blk(blk_objs(bl),3+numofip))+"_1"+" out[2]=net"+string(blk(blk_objs(bl),4+numofip))+"_1"+" out[3]=net"+string(blk(blk_objs(bl),5+numofip))+"_1 #sftreg_fg =0";
else
sr_ni_1o_str=sr_ni_1o_str+" in[16]=net"+string(blk(blk_objs(bl),3))+"_1"+" in[17]=net"+string(blk(blk_objs(bl),4))+"_1"+" in[18]=net"+string(blk(blk_objs(bl),5))+"_1"+" out[0]=net"+string(blk(blk_objs(bl),2+numofip))+"_1"+" out[1]=net"+string(blk(blk_objs(bl),3+numofip))+"_1"+" out[2]=net"+string(blk(blk_objs(bl),4+numofip))+"_1"+" out[3]=net"+string(blk(blk_objs(bl),5+numofip))+"_1 #sftreg_fg =0";
end
mputl(sr_ni_1o_str,fd_w);
mputl(" ",fd_w);
if scs_m.objs(bl).model.rpar(1) == 1 then
plcvpr = %t;
plcloc=[plcloc;"net"+string(blk(blk_objs(bl),2+numofip))+"_1",string(scs_m.objs(bl).model.rpar(2))+' '+string(scs_m.objs(bl).model.rpar(3))+' 0'];
end
end
|
159be2607b8dee80dbef0e1cb0c5ee6682f3ee44 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/Calibration_VarianceSwap/CalibHeston/utils/genros.sce | 4046d42b50e7acf458552345ac2f6ded53772689 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | genros.sce | function [f,g,ind]=genros(x,ind)
n=size(x,'*');
dzs(2)=100.0d+0;
f=1.0d+0
for i=2:n
f=f + dzs(2)*(x(i)-x(i-1)**2)**2 + (1.0d+0-x(i))**2
end
g=ones(n,1);
g(1)=-4.0d+0*dzs(2)*(x(2)-x(1)**2)*x(1)
nm1=n-1
for i=2:n-1
ip1=i+1
g(i)=2.0d+0*dzs(2)*(x(i)-x(i-1)**2)
g(i)=g(i) -4.0d+0*dzs(2)*(x(ip1)-x(i)**2)*x(i) - 2.0d+0*(1.0d+0-x(i))
end
g(n)=2.0d+0*dzs(2)*(x(n)-x(nm1)**2) - 2.0d+0*(1.0d+0-x(n))
endfunction
|
48db1f20ff3da420764d61af5cb92405ccbfb2d3 | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/FalsePosRateAudioSamples.sci | 18b3f28d11d0b599c6b6a020d488a9f63029a0d1 | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,975 | sci | FalsePosRateAudioSamples.sci | function [falsePosRates, falsePosRMS, falsePosVar] = FalsePosRateAudioSamples()
falsePosRates = zeros(1, 95);
[falsePosHits, falsePosRMS, falsePosVar] = TotalFalsePosHits();
falsePosRates = falsePosHits./GetNumOfExecutions();
endfunction
function [totalFalsePosHits, falsePosRMSMean, falsePosRMSVar] = TotalFalsePosHits()
totalFalsePosHits = zeros(1, 95);
falsePosRMSMean = zeros(1, 95);
falsePosRMSVar = zeros(1, 95);
for audioStageIndex = 0:3
[falsePosStageHits, falsePosRMSStageMean, falsePosRMSStageVar] = FalsePosForStage(audioStageIndex);
falsePosRMSMean = WeightedAvg(falsePosRMSMean, falsePosRMSStageMean, totalFalsePosHits, falsePosStageHits);
falsePosRMSVar = WeightedAvg(falsePosRMSVar, falsePosRMSStageVar, totalFalsePosHits, falsePosStageHits);
totalFalsePosHits = falsePosStageHits + totalFalsePosHits;
end
endfunction
function [falsePosStageHits, falsePosRMSStageMean, falsePosRMSStageVar] = FalsePosForStage(audioStageIndex)
falsePosStageHits = zeros(1, 95);
falsePosRMSStageVar = zeros(1, 95);
falsePosRMSStageMean = zeros(1, 95);
for audioNoteIndex = 0:11
[falsePosCurrAudio, falsePosCurrAudioRMS] = FalsePosForAudioNote(audioStageIndex, audioNoteIndex)
falsePosCurrAudio95 = PlaceInLength95Signal(falsePosCurrAudio, audioStageIndex, audioNoteIndex);
falsePosCurrAudioRMS95 = PlaceInLength95Signal(falsePosCurrAudioRMS, audioStageIndex, audioNoteIndex);
falsePosStageHits = falsePosCurrAudio95 + falsePosStageHits;
[falsePosRMSStageMean, falsePosRMSStageVar] = UpdateAvgAndVarAtIndxs(falsePosRMSStageMean, falsePosRMSStageVar, falsePosCurrAudioRMS95, falsePosStageHits, (falsePosCurrAudio95>0));
end
endfunction
function [runningAvg, runningVar] = UpdateAvgAndVarAtIndxs(prevAvg, prevVar, currValues, updateCounts, updateIndexes)
prevAvgToUse = prevAvg(updateIndexes);
prevVarToUse = prevVar(updateIndexes);
updateCountsToUse = updateCounts(updateIndexes);
currValuesToUse = currValues(updateIndexes);
[runningAvgToUpdate, runningVarToUpdate] = RunningAvgAndVar(prevAvgToUse, prevVarToUse, currValuesToUse, updateCountsToUse);
runningAvg = prevAvg;
runningVar = prevVar;
runningAvg(updateIndexes) = runningAvgToUpdate;
runningVar(updateIndexes) = runningVarToUpdate;
endfunction
function [falsePositives, falsePosRMS] =FalsePosForAudioNote (audioStageIndex, audioNoteIndex)
audioSample = LoadAudioSample(audioStageIndex, audioNoteIndex);
audioSample = PrepAudioForProcessing(audioSample, 44100)
[falsePositives, falsePosRMS] = FalsePosInSignal(audioSample, audioStageIndex, audioNoteIndex);
endfunction
function numOfExecutions = GetNumOfExecutions()
numOfExecutions1to48 = [1:48];
numOfExecutions47to1 = [47:-1:1];
numOfExecutions = [numOfExecutions1to48 numOfExecutions47to1];
endfunction
function [falsePositives, falsePosRMS] = FalsePosInSignal(signal, signalStageIndex, signalNoteIndex)
falsePositives = zeros(1, 48);
falsePosRMS = zeros(1, 48);
for stageIndex = 0:3
for noteIndex = 0:11
// if(stageIndex~=signalStageIndex | noteIndex~=signalNoteIndex) then
[hasNote, noteRMS] = HasNote(signal, stageIndex, noteIndex);
falsePositives(Convert2DIndexTo1D(stageIndex, noteIndex, 12) + 1) = hasNote;
if(hasNote) then
falsePosRMS(Convert2DIndexTo1D(stageIndex, noteIndex, 12) + 1) = noteRMS;
end
// end
end
end
endfunction
function normalizedHits = PlaceInLength95Signal(falsePosHitsForNote, stageIndex, noteIndex)
normalizedHits = zeros(1, 95);
startIndex = -1*Convert2DIndexTo1D(stageIndex, noteIndex, 12) + 48;
mprintf('start index is %d \n', startIndex);
normalizedHits(startIndex:(startIndex + 47)) = falsePosHitsForNote;
endfunction |
1453616deb8fde5630db26df74eb9f9b4a388895 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH5/EX5.11/ex5_11.sce | 602968670c6684578a5d496154d8560e5cd601eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | ex5_11.sce | // Example 5.11, page no-314
clear
clc
dens=1026
p=25*10^3
V=sqrt(2*p/dens)
printf("V=%.2f m/sec =%.3f km/hr",V,V*18/5)
|
e0c576f46acc09f5f9f700008d6d327da12d7132 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH3/EX3.15/Ex3_15.sce | 69215596db0b1b3e69770dc7b0fc75bfe90263bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | Ex3_15.sce | clc();
clear;
//Given :
lambda = 5900 ; //Wavelength in A
delta_T = 150; // Temperature of the metal cylinder is now raised by 150 K
p = 20 ; // p is the number of rings shifted due to increase in t_n (t_n is the thickness of the air film)
l = 5 ; // length of the metal cyclinder in mm
mu = 1; //refractive index for air
//Increase in length = (p*lambda)/2*mu
// 1 A = 1.0*10^-7 mm
delta_l = (p*lambda*10^-7)/2*mu; // increase in length in mm
//Linear expansivity of the metal of the cyclinder
alpha = (delta_l)/(l*delta_T); // in 1/K
printf("The linear expansivity of the metal of the cylinder using Newtons rings apparatus is : %.1f x 10^-6/K ", alpha*10^6);
|
5f25cbb158bbc92a8ae43779b82912631f71cf1e | 78ff3e16a288175ff606f38ee5ee877d4844773e | /5_chapter/5_15_example_old.sci | 3b5d87c541c2ac3833b7eb7055da69a605562629 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sci | 5_15_example_old.sci | //Example 5-15 Head and Power Loss During Water Pumping
Wdot_pump=5 //pump power rating [kW]
z_2=45 //elevation of upper reservoir surface from lower reservoir surface [m]
Vdot=0.03 //flow rate of water through pump [m^3/s]
rho=1000 //density of water [kg/m^3] |
8a50fbb447ec9e0d3d81f4841ebffd0550286eb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH5/EX5.6/Ex5_6.sce | b00233e44ecf91e12f661de6f6e956318f8af1e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,437 | sce | Ex5_6.sce | clc
Na=5*10^16
disp("Na = "+string(Na)+"cm^-3") //initializing value of acceptor atoms
Nd=5*10^17
disp("Nd = "+string(Nd)+"cm^-3") //initializing value of donor atoms
Dp = 15
disp("Dp= "+string(Dp)+"cm^2/s")//initializing value of hole diffusion coefficient
Dn = 30
disp("Dn= "+string(Dn)+"cm^2/s")//initializing value of electron diffusion coefficient
Tn = 10^-8
disp("Tn= "+string(Tn)+"s")//inializing value of electron minority carrier lifetime
Tp = 10^-7
disp("Tp= "+string(Tp)+"s")//inializing value of hole minority carrier lifetime
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
kbT = 0.026
disp("kbT = "+string(kbT)+"eV") //initializing value of kbT at 300K
ni = 1.84*10^6
disp("ni= "+string(ni)+"cm^-3")//initializing value of intrinsic carrier concentration
np=ni^2/Na
disp("The electron conc in p type is ,np=ni^2/Na= "+string(np)+"cm^-3")//calculation
pn=ni^2/Nd
disp("The holes conc in n type is ,pn=ni^2/Nd= "+string(pn)+"cm^-3")//calculation
Lp = sqrt(Dp*Tp)
disp("The hole diffusion length is ,Lp = sqrt(Dp*Tp)= "+string(Lp)+"cm")//calculation
Ln = sqrt(Dn*Tn)
disp("The electron diffusion length is ,Ln = sqrt(Dn*Tn)= "+string(Ln)+"cm")//calculation
Gamma_inj = ((e*Dn*np)/(Ln))/(((e*Dn*np)/(Ln))+((e*Dp*pn)/(Lp)))
disp("The efficiency of diode is ,Gamma_inj = ((e*Dn*np)/(Ln))/(((e*Dn*np)/(Ln))+((e*Dp*pn)/(Lp)))= "+string(Gamma_inj))//calculation
|
34131dd67ca720d101558b60c95c0a547a037f97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH2/EX2.16/example_16.sce | 18944e881e04dc5b8f4d555945178ca839ad18a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | example_16.sce | clc
clear
printf("example 2.16 page number 76\n\n")
//to find the molecular formula
C=54.5 //% of carbon
H2=9.1 //% of hydrogen
O2=36.4 //% of oxygen
x=C/12; //number of carbon molecules
y=O2/16; //number of oxygen molecules
z=H2/2 //number of hydrogen molecules
molar_mass=88;
density=44;
ratio=molar_mass/density;
x=ratio*2;
y=ratio*1;
z=ratio*4;
printf("x = %f, y = %f, z = %f",x,y,z)
printf("\n\nformula of butyric acid is = C4H8O2")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.