blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 6
214
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
50
| license_type
stringclasses 2
values | repo_name
stringlengths 6
87
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 15
values | visit_date
timestamp[us]date 2016-08-04 09:00:04
2023-09-05 17:18:33
| revision_date
timestamp[us]date 1998-12-11 00:15:10
2023-09-02 05:42:40
| committer_date
timestamp[us]date 2005-04-26 09:58:02
2023-09-02 05:42:40
| github_id
int64 436k
586M
⌀ | star_events_count
int64 0
12.3k
| fork_events_count
int64 0
6.3k
| gha_license_id
stringclasses 7
values | gha_event_created_at
timestamp[us]date 2012-11-16 11:45:07
2023-09-14 20:45:37
⌀ | gha_created_at
timestamp[us]date 2010-03-22 23:34:58
2023-01-07 03:47:44
⌀ | gha_language
stringclasses 36
values | src_encoding
stringclasses 17
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 1
class | length_bytes
int64 5
10.4M
| extension
stringclasses 15
values | filename
stringlengths 2
96
| content
stringlengths 5
10.4M
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
77dcaf69f0c3b221e20f96fc572bd5373222f862
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/343/CH1/EX1.68/ex_68.sce
|
7964f755cb31ea8beebae9ac6dd9b874ff92e645
|
[] |
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
| 321
|
sce
|
ex_68.sce
|
R1=10; //Assigning values to parameters
R2=20;
R3=40;
R4=30;
R5=15;
V=2;
I1=V/(R1+R4);
I2=V/(R2+R5);
Vth=R2*I2-R1*I1; //Calculation of Thevenin voltage
Rth=((R1*R4)/(R1+R4))+((R2*R5)/(R2+R5)); //Calculation of Thevenin resistance
Il=Vth/(Rth+R3);
disp("Amperes",Il,"Load current")
|
51d078859f1e94fd54aa0df4161ad79b0915b480
|
b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf
|
/TD1/logistique/logistiqueB.sce
|
e53689b21cd3db3fe7446d4316e2bcebaa225928
|
[] |
no_license
|
MFrizzy/Modelisation
|
51794b2edf421f9d2206cb73972d8d8d7b1e9759
|
0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb
|
refs/heads/master
| 2021-08-29T12:02:20.042037
| 2017-12-13T22:39:21
| 2017-12-13T22:39:21
| 106,943,303
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 273
|
sce
|
logistiqueB.sce
|
clear
clf
d=0.3;
bvect = 0.1 : 0.05 : 0.55;
ndate = 0:30;
alpha = 0.05;
for i = 1:10
b=bvect(i);
x(1) = 1;
for n = 1:30
x(n+1)=x(n)+b*x(n)- (d*x(n)+alpha*x(n)*x(n));
end
plot2d(ndate, x, style = -1);
plot2d(ndate, x, style = i);
end
|
6f8651ab22f682993a27643a3b03dd9718989211
|
1489f5f3f467ff75c3223c5c1defb60ccb55df3d
|
/tests/test_numeric_1_c.tst
|
aa8439a54149be36b5c1d084987190ca1487fcc8
|
[
"MIT"
] |
permissive
|
ciyam/ciyam
|
8e078673340b43f04e7b0d6ac81740b6cf3d78d0
|
935df95387fb140487d2e0053fabf612b0d3f9e2
|
refs/heads/master
| 2023-08-31T11:03:25.835641
| 2023-08-31T04:31:22
| 2023-08-31T04:31:22
| 3,124,021
| 18
| 16
| null | 2017-01-28T16:22:57
| 2012-01-07T10:55:14
|
C++
|
UTF-8
|
Scilab
| false
| false
| 1,015
|
tst
|
test_numeric_1_c.tst
|
set 2
2
div 3
0.666666666666666666
mul 3
1.99999999999999999
div 3
0.666666666666666663
mul 3
1.99999999999999998
div 3
0.66666666666666666
mul 3
1.99999999999999998
round 16
2.0000000000000000
div 3
0.666666666666666666
div 4
0.166666666666666666
mul 4
0.666666666666666664
mul 3
1.99999999999999999
div 3
0.666666666666666663
div 4
0.166666666666666665
mul 4
0.66666666666666666
mul 3
1.99999999999999998
round 16
2.0000000000000000
mul -1
-2
div 3
-0.666666666666666666
mul 3
-1.99999999999999999
div 3
-0.666666666666666663
mul 3
-1.99999999999999998
round 16
-2.0000000000000000
div 3
-0.666666666666666666
div 4
-0.166666666666666666
mul 4
-0.666666666666666664
mul 3
-1.99999999999999999
div 3
-0.666666666666666663
div 4
-0.166666666666666665
mul 4
-0.66666666666666666
mul 3
-1.99999999999999998
round 16
-2.0000000000000000
mul -1
2
set 123456789.123456789
123456789.123456789
div 3
41152263.041152263
mul 3
123456789.123456789
mul 4
493827156.493827156
div 4
123456789.123456789
digits
18
whole_digits
9
|
896906e18c391ebb7166e6c9f5c9baee08d2b7e0
|
08bfc8a1f8e44adc624d1f1c6250a3d9635f99de
|
/SDKs/swig/Examples/test-suite/scilab/inherit_missing_runme.sci
|
3580b53f3f2b3b3cb160f116cf1c0d55b91a6743
|
[] |
no_license
|
Personwithhat/CE_SDKs
|
cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02
|
7afbd2f7767c9c5e95912a1af42b37c24d57f0d4
|
refs/heads/master
| 2020-04-09T22:14:56.917176
| 2019-07-04T00:19:11
| 2019-07-04T00:19:11
| 160,623,495
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 128
|
sci
|
inherit_missing_runme.sci
|
version https://git-lfs.github.com/spec/v1
oid sha256:e86003c7fc5c232523f2a2bbfd05d16f183ad6c0c99055e0b0b72be0eee372ef
size 305
|
026d4344249176efd2ff8aec51a0dbd0378e8d4f
|
f542bc49c4d04b47d19c88e7c89d5db60922e34e
|
/PresentationFiles_Subjects - Kopie/SCHI/DZ59LCP/ATWM1_Working_Memory_MEG_DZ59LCP_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce
|
d9cb8c99f4689e358305114616c4c1e9d854741f
|
[] |
no_license
|
atwm1/Presentation
|
65c674180f731f050aad33beefffb9ba0caa6688
|
9732a004ca091b184b670c56c55f538ff6600c08
|
refs/heads/master
| 2020-04-15T14:04:41.900640
| 2020-02-14T16:10:11
| 2020-02-14T16:10:11
| 56,771,016
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 48,620
|
sce
|
ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce
|
# ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 28;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 300; width = 300; color = 0, 0, 0;} frame1;
box { height = 290; width = 290; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 290; width = 290; color = 128, 128, 128;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
44 62 292 292 399 125 2242 2992 2542 fixation_cross gabor_113 gabor_180 gabor_058 gabor_164 gabor_113_alt gabor_180 gabor_058_alt gabor_164 "2_1_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_113_180_058_164_target_position_2_4_retrieval_position_2" gabor_circ gabor_180_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_1_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_180_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2142 2992 2092 fixation_cross gabor_060 gabor_147 gabor_092 gabor_131 gabor_060_alt gabor_147 gabor_092_alt gabor_131 "2_2_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2100_gabor_patch_orientation_060_147_092_131_target_position_2_4_retrieval_position_2" gabor_circ gabor_147_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_2_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_147_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1942 2992 2442 fixation_cross gabor_089 gabor_170 gabor_007 gabor_112 gabor_089_alt gabor_170 gabor_007_alt gabor_112 "2_3_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2450_gabor_patch_orientation_089_170_007_112_target_position_2_4_retrieval_position_2" gabor_circ gabor_031_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_3_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 64 292 292 399 125 1842 2992 2592 fixation_cross gabor_011 gabor_137 gabor_175 gabor_091 gabor_011_alt gabor_137 gabor_175 gabor_091_alt "2_4_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2600_gabor_patch_orientation_011_137_175_091_target_position_2_3_retrieval_position_1" gabor_011_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_4_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_011_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1742 2992 2392 fixation_cross gabor_014 gabor_077 gabor_037 gabor_153 gabor_014_alt gabor_077 gabor_037_alt gabor_153 "2_5_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_014_077_037_153_target_position_2_4_retrieval_position_2" gabor_circ gabor_124_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_5_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_124_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2142 2992 1942 fixation_cross gabor_110 gabor_001 gabor_044 gabor_080 gabor_110_alt gabor_001 gabor_044_alt gabor_080 "2_6_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_1950_gabor_patch_orientation_110_001_044_080_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_126_framed blank blank blank blank fixation_cross_white "2_6_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1742 2992 2192 fixation_cross gabor_085 gabor_066 gabor_124 gabor_014 gabor_085 gabor_066_alt gabor_124 gabor_014_alt "2_7_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_085_066_124_014_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_173_framed gabor_circ blank blank blank blank fixation_cross_white "2_7_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2242 2992 2442 fixation_cross gabor_071 gabor_043 gabor_133 gabor_160 gabor_071 gabor_043_alt gabor_133_alt gabor_160 "2_8_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2450_gabor_patch_orientation_071_043_133_160_target_position_1_4_retrieval_position_1" gabor_071_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_8_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1792 2992 1992 fixation_cross gabor_006 gabor_158 gabor_116 gabor_027 gabor_006 gabor_158_alt gabor_116_alt gabor_027 "2_9_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_006_158_116_027_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_027_framed blank blank blank blank fixation_cross_white "2_9_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_027_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2192 2992 2442 fixation_cross gabor_083 gabor_145 gabor_121 gabor_103 gabor_083_alt gabor_145 gabor_121_alt gabor_103 "2_10_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2450_gabor_patch_orientation_083_145_121_103_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_058_framed blank blank blank blank fixation_cross_white "2_10_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_058_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 64 292 292 399 125 1942 2992 2092 fixation_cross gabor_047 gabor_111 gabor_065 gabor_128 gabor_047_alt gabor_111 gabor_065 gabor_128_alt "2_11_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1950_3000_2100_gabor_patch_orientation_047_111_065_128_target_position_2_3_retrieval_position_1" gabor_047_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_11_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_047_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1992 2992 2192 fixation_cross gabor_099 gabor_042 gabor_027 gabor_080 gabor_099 gabor_042_alt gabor_027 gabor_080_alt "2_12_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2200_gabor_patch_orientation_099_042_027_080_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_167_framed gabor_circ blank blank blank blank fixation_cross_white "2_12_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_167_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1942 2992 2142 fixation_cross gabor_054 gabor_171 gabor_122 gabor_017 gabor_054 gabor_171_alt gabor_122 gabor_017_alt "2_13_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_054_171_122_017_target_position_1_3_retrieval_position_1" gabor_102_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_13_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1892 2992 1942 fixation_cross gabor_009 gabor_115 gabor_132 gabor_166 gabor_009_alt gabor_115 gabor_132_alt gabor_166 "2_14_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_009_115_132_166_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_166_framed blank blank blank blank fixation_cross_white "2_14_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_166_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 64 292 292 399 125 1892 2992 2092 fixation_cross gabor_007 gabor_070 gabor_178 gabor_088 gabor_007_alt gabor_070 gabor_178_alt gabor_088 "2_15_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2100_gabor_patch_orientation_007_070_178_088_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_178_framed gabor_circ blank blank blank blank fixation_cross_white "2_15_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_178_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2042 2992 2442 fixation_cross gabor_043 gabor_101 gabor_133 gabor_060 gabor_043 gabor_101 gabor_133_alt gabor_060_alt "2_16_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2450_gabor_patch_orientation_043_101_133_060_target_position_1_2_retrieval_position_2" gabor_circ gabor_150_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_16_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_150_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2142 2992 2492 fixation_cross gabor_173 gabor_037 gabor_127 gabor_108 gabor_173_alt gabor_037 gabor_127_alt gabor_108 "2_17_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_173_037_127_108_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_108_framed blank blank blank blank fixation_cross_white "2_17_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_108_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2042 2992 2292 fixation_cross gabor_001 gabor_077 gabor_140 gabor_029 gabor_001 gabor_077 gabor_140_alt gabor_029_alt "2_18_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_001_077_140_029_target_position_1_2_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_18_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1992 2992 2342 fixation_cross gabor_080 gabor_016 gabor_104 gabor_044 gabor_080 gabor_016 gabor_104_alt gabor_044_alt "2_19_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2350_gabor_patch_orientation_080_016_104_044_target_position_1_2_retrieval_position_1" gabor_080_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_19_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_080_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1742 2992 2142 fixation_cross gabor_179 gabor_163 gabor_058 gabor_021 gabor_179_alt gabor_163_alt gabor_058 gabor_021 "2_20_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_179_163_058_021_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_058_framed gabor_circ blank blank blank blank fixation_cross_white "2_20_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_058_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1792 2992 2342 fixation_cross gabor_038 gabor_002 gabor_171 gabor_154 gabor_038 gabor_002 gabor_171_alt gabor_154_alt "2_21_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_038_002_171_154_target_position_1_2_retrieval_position_1" gabor_083_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_21_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 64 292 292 399 125 2042 2992 1992 fixation_cross gabor_033 gabor_161 gabor_115 gabor_143 gabor_033_alt gabor_161 gabor_115 gabor_143_alt "2_22_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2000_gabor_patch_orientation_033_161_115_143_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_143_framed blank blank blank blank fixation_cross_white "2_22_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_143_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1792 2992 2042 fixation_cross gabor_127 gabor_095 gabor_046 gabor_016 gabor_127 gabor_095_alt gabor_046_alt gabor_016 "2_23_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2050_gabor_patch_orientation_127_095_046_016_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_016_framed blank blank blank blank fixation_cross_white "2_23_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_016_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1892 2992 2042 fixation_cross gabor_173 gabor_127 gabor_063 gabor_003 gabor_173 gabor_127_alt gabor_063_alt gabor_003 "2_24_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2050_gabor_patch_orientation_173_127_063_003_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_143_framed blank blank blank blank fixation_cross_white "2_24_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_143_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1892 2992 2492 fixation_cross gabor_050 gabor_092 gabor_077 gabor_138 gabor_050_alt gabor_092 gabor_077 gabor_138_alt "2_25_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2500_gabor_patch_orientation_050_092_077_138_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_122_framed gabor_circ blank blank blank blank fixation_cross_white "2_25_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_122_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 63 292 292 399 125 1892 2992 2292 fixation_cross gabor_031 gabor_111 gabor_167 gabor_048 gabor_031_alt gabor_111 gabor_167 gabor_048_alt "2_26_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_2300_gabor_patch_orientation_031_111_167_048_target_position_2_3_retrieval_position_1" gabor_079_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_26_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_079_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2042 2992 1892 fixation_cross gabor_155 gabor_071 gabor_115 gabor_178 gabor_155_alt gabor_071 gabor_115_alt gabor_178 "2_27_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_1900_gabor_patch_orientation_155_071_115_178_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_042_framed blank blank blank blank fixation_cross_white "2_27_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1742 2992 2392 fixation_cross gabor_084 gabor_132 gabor_046 gabor_014 gabor_084 gabor_132_alt gabor_046_alt gabor_014 "2_28_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_084_132_046_014_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_153_framed blank blank blank blank fixation_cross_white "2_28_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_153_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1792 2992 2042 fixation_cross gabor_121 gabor_036 gabor_016 gabor_174 gabor_121 gabor_036 gabor_016_alt gabor_174_alt "2_29_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2050_gabor_patch_orientation_121_036_016_174_target_position_1_2_retrieval_position_2" gabor_circ gabor_036_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_29_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_036_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1992 2992 2042 fixation_cross gabor_085 gabor_069 gabor_008 gabor_114 gabor_085_alt gabor_069 gabor_008 gabor_114_alt "2_30_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2050_gabor_patch_orientation_085_069_008_114_target_position_2_3_retrieval_position_2" gabor_circ gabor_024_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_30_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_024_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1842 2992 2242 fixation_cross gabor_052 gabor_020 gabor_134 gabor_158 gabor_052 gabor_020 gabor_134_alt gabor_158_alt "2_31_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_052_020_134_158_target_position_1_2_retrieval_position_1" gabor_100_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_31_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_100_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 64 292 292 399 125 1842 2992 2492 fixation_cross gabor_087 gabor_108 gabor_043 gabor_158 gabor_087 gabor_108_alt gabor_043 gabor_158_alt "2_32_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2500_gabor_patch_orientation_087_108_043_158_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_158_framed blank blank blank blank fixation_cross_white "2_32_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_158_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1742 2992 2092 fixation_cross gabor_167 gabor_081 gabor_096 gabor_128 gabor_167_alt gabor_081 gabor_096 gabor_128_alt "2_33_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_167_081_096_128_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_096_framed gabor_circ blank blank blank blank fixation_cross_white "2_33_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1792 2992 1992 fixation_cross gabor_092 gabor_180 gabor_155 gabor_140 gabor_092_alt gabor_180 gabor_155 gabor_140_alt "2_34_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_092_180_155_140_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_018_framed gabor_circ blank blank blank blank fixation_cross_white "2_34_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2242 2992 2242 fixation_cross gabor_148 gabor_180 gabor_017 gabor_036 gabor_148 gabor_180_alt gabor_017 gabor_036_alt "2_35_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2250_gabor_patch_orientation_148_180_017_036_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_062_framed gabor_circ blank blank blank blank fixation_cross_white "2_35_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_062_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1742 2992 2542 fixation_cross gabor_108 gabor_177 gabor_090 gabor_159 gabor_108_alt gabor_177_alt gabor_090 gabor_159 "2_36_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2550_gabor_patch_orientation_108_177_090_159_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_140_framed gabor_circ blank blank blank blank fixation_cross_white "2_36_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_140_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2092 2992 2592 fixation_cross gabor_106 gabor_025 gabor_043 gabor_149 gabor_106 gabor_025_alt gabor_043 gabor_149_alt "2_37_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_106_025_043_149_target_position_1_3_retrieval_position_1" gabor_060_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_37_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_060_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 63 292 292 399 125 2192 2992 2192 fixation_cross gabor_148 gabor_104 gabor_169 gabor_042 gabor_148_alt gabor_104 gabor_169_alt gabor_042 "2_38_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2200_gabor_patch_orientation_148_104_169_042_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_121_framed gabor_circ blank blank blank blank fixation_cross_white "2_38_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_121_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1842 2992 2342 fixation_cross gabor_095 gabor_025 gabor_147 gabor_180 gabor_095 gabor_025_alt gabor_147 gabor_180_alt "2_39_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_095_025_147_180_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_147_framed gabor_circ blank blank blank blank fixation_cross_white "2_39_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_147_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2092 2992 2242 fixation_cross gabor_007 gabor_178 gabor_028 gabor_118 gabor_007_alt gabor_178_alt gabor_028 gabor_118 "2_40_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_007_178_028_118_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_118_framed blank blank blank blank fixation_cross_white "2_40_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_118_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1942 2992 1992 fixation_cross gabor_170 gabor_011 gabor_098 gabor_060 gabor_170_alt gabor_011 gabor_098 gabor_060_alt "2_41_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_170_011_098_060_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_098_framed gabor_circ blank blank blank blank fixation_cross_white "2_41_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_098_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1892 2992 2092 fixation_cross gabor_120 gabor_039 gabor_060 gabor_077 gabor_120 gabor_039 gabor_060_alt gabor_077_alt "2_42_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2100_gabor_patch_orientation_120_039_060_077_target_position_1_2_retrieval_position_1" gabor_120_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_42_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_120_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 64 292 292 399 125 2042 2992 2192 fixation_cross gabor_124 gabor_055 gabor_164 gabor_019 gabor_124 gabor_055_alt gabor_164 gabor_019_alt "2_43_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2200_gabor_patch_orientation_124_055_164_019_target_position_1_3_retrieval_position_2" gabor_circ gabor_055_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_43_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_055_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1992 2992 2142 fixation_cross gabor_085 gabor_102 gabor_131 gabor_065 gabor_085_alt gabor_102 gabor_131_alt gabor_065 "2_44_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2150_gabor_patch_orientation_085_102_131_065_target_position_2_4_retrieval_position_2" gabor_circ gabor_102_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_44_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2142 2992 2292 fixation_cross gabor_011 gabor_150 gabor_121 gabor_165 gabor_011_alt gabor_150 gabor_121_alt gabor_165 "2_45_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2300_gabor_patch_orientation_011_150_121_165_target_position_2_4_retrieval_position_2" gabor_circ gabor_150_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_45_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_150_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1892 2992 1892 fixation_cross gabor_077 gabor_017 gabor_097 gabor_149 gabor_077 gabor_017 gabor_097_alt gabor_149_alt "2_46_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_077_017_097_149_target_position_1_2_retrieval_position_1" gabor_077_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_46_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_077_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2192 2992 1942 fixation_cross gabor_120 gabor_165 gabor_054 gabor_039 gabor_120_alt gabor_165_alt gabor_054 gabor_039 "2_47_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_120_165_054_039_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_006_framed gabor_circ blank blank blank blank fixation_cross_white "2_47_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 63 292 292 399 125 2092 2992 2492 fixation_cross gabor_136 gabor_049 gabor_103 gabor_169 gabor_136 gabor_049 gabor_103_alt gabor_169_alt "2_48_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2500_gabor_patch_orientation_136_049_103_169_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_120_framed blank blank blank blank fixation_cross_white "2_48_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_120_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1992 2992 1942 fixation_cross gabor_075 gabor_160 gabor_016 gabor_035 gabor_075 gabor_160 gabor_016_alt gabor_035_alt "2_49_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_075_160_016_035_target_position_1_2_retrieval_position_1" gabor_125_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_49_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_125_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1742 2992 1892 fixation_cross gabor_051 gabor_009 gabor_030 gabor_118 gabor_051 gabor_009_alt gabor_030_alt gabor_118 "2_50_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_051_009_030_118_target_position_1_4_retrieval_position_1" gabor_097_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_50_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_097_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2142 2992 2392 fixation_cross gabor_114 gabor_048 gabor_131 gabor_083 gabor_114_alt gabor_048 gabor_131 gabor_083_alt "2_51_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_114_048_131_083_target_position_2_3_retrieval_position_2" gabor_circ gabor_003_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_51_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2192 2992 1942 fixation_cross gabor_124 gabor_147 gabor_172 gabor_061 gabor_124_alt gabor_147_alt gabor_172 gabor_061 "2_52_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_124_147_172_061_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_172_framed gabor_circ blank blank blank blank fixation_cross_white "2_52_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_172_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 63 292 292 399 125 1842 2992 2292 fixation_cross gabor_084 gabor_020 gabor_129 gabor_047 gabor_084 gabor_020_alt gabor_129 gabor_047_alt "2_53_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2300_gabor_patch_orientation_084_020_129_047_target_position_1_3_retrieval_position_2" gabor_circ gabor_068_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_53_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_068_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2092 2992 2542 fixation_cross gabor_138 gabor_090 gabor_048 gabor_170 gabor_138 gabor_090 gabor_048_alt gabor_170_alt "2_54_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2550_gabor_patch_orientation_138_090_048_170_target_position_1_2_retrieval_position_1" gabor_138_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_54_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_138_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1942 2992 2242 fixation_cross gabor_050 gabor_035 gabor_122 gabor_088 gabor_050 gabor_035 gabor_122_alt gabor_088_alt "2_55_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_050_035_122_088_target_position_1_2_retrieval_position_1" gabor_004_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_55_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 63 292 292 399 125 2092 2992 1992 fixation_cross gabor_009 gabor_150 gabor_175 gabor_090 gabor_009 gabor_150_alt gabor_175_alt gabor_090 "2_56_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2000_gabor_patch_orientation_009_150_175_090_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_036_framed gabor_circ blank blank blank blank fixation_cross_white "2_56_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_036_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1842 2992 2142 fixation_cross gabor_156 gabor_094 gabor_043 gabor_178 gabor_156 gabor_094_alt gabor_043_alt gabor_178 "2_57_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_156_094_043_178_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_178_framed blank blank blank blank fixation_cross_white "2_57_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2042 2992 2392 fixation_cross gabor_065 gabor_094 gabor_050 gabor_175 gabor_065_alt gabor_094 gabor_050 gabor_175_alt "2_58_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2400_gabor_patch_orientation_065_094_050_175_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_004_framed gabor_circ blank blank blank blank fixation_cross_white "2_58_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1792 2992 1892 fixation_cross gabor_135 gabor_019 gabor_055 gabor_161 gabor_135 gabor_019_alt gabor_055_alt gabor_161 "2_59_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_1900_gabor_patch_orientation_135_019_055_161_target_position_1_4_retrieval_position_1" gabor_135_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_59_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_135_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 63 292 292 399 125 2242 2992 2142 fixation_cross gabor_151 gabor_012 gabor_032 gabor_118 gabor_151_alt gabor_012_alt gabor_032 gabor_118 "2_60_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2250_3000_2150_gabor_patch_orientation_151_012_032_118_target_position_3_4_retrieval_position_2" gabor_circ gabor_061_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_60_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_061_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2142 2992 2592 fixation_cross gabor_072 gabor_144 gabor_056 gabor_020 gabor_072_alt gabor_144 gabor_056_alt gabor_020 "2_61_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2600_gabor_patch_orientation_072_144_056_020_target_position_2_4_retrieval_position_2" gabor_circ gabor_144_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_61_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_144_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1992 2992 2542 fixation_cross gabor_099 gabor_013 gabor_062 gabor_045 gabor_099 gabor_013 gabor_062_alt gabor_045_alt "2_62_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_099_013_062_045_target_position_1_2_retrieval_position_2" gabor_circ gabor_013_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_62_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_013_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1842 2992 1892 fixation_cross gabor_068 gabor_086 gabor_013 gabor_042 gabor_068 gabor_086 gabor_013_alt gabor_042_alt "2_63_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_1900_gabor_patch_orientation_068_086_013_042_target_position_1_2_retrieval_position_2" gabor_circ gabor_086_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_63_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2242 2992 2342 fixation_cross gabor_114 gabor_085 gabor_055 gabor_003 gabor_114_alt gabor_085 gabor_055_alt gabor_003 "2_64_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_114_085_055_003_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_139_framed blank blank blank blank fixation_cross_white "2_64_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 64 292 292 399 125 2242 2992 2042 fixation_cross gabor_043 gabor_012 gabor_149 gabor_176 gabor_043_alt gabor_012 gabor_149_alt gabor_176 "2_65_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2250_3000_2050_gabor_patch_orientation_043_012_149_176_target_position_2_4_retrieval_position_1" gabor_043_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_65_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_043_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 1942 2992 2242 fixation_cross gabor_174 gabor_063 gabor_032 gabor_096 gabor_174_alt gabor_063_alt gabor_032 gabor_096 "2_66_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_174_063_032_096_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_096_framed blank blank blank blank fixation_cross_white "2_66_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 2092 2992 2592 fixation_cross gabor_132 gabor_042 gabor_160 gabor_113 gabor_132 gabor_042_alt gabor_160 gabor_113_alt "2_67_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_132_042_160_113_target_position_1_3_retrieval_position_1" gabor_084_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_67_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_084_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 62 292 292 399 125 2192 2992 2192 fixation_cross gabor_036 gabor_116 gabor_010 gabor_082 gabor_036 gabor_116_alt gabor_010_alt gabor_082 "2_68_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2200_gabor_patch_orientation_036_116_010_082_target_position_1_4_retrieval_position_1" gabor_036_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_68_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_036_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 61 292 292 399 125 1792 2992 2342 fixation_cross gabor_116 gabor_096 gabor_075 gabor_034 gabor_116 gabor_096_alt gabor_075_alt gabor_034 "2_69_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_116_096_075_034_target_position_1_4_retrieval_position_1" gabor_162_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_69_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_162_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
44 63 292 292 399 125 2192 2992 2292 fixation_cross gabor_005 gabor_177 gabor_116 gabor_071 gabor_005_alt gabor_177_alt gabor_116 gabor_071 "2_70_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2300_gabor_patch_orientation_005_177_116_071_target_position_3_4_retrieval_position_2" gabor_circ gabor_132_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_70_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_132_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
};
|
8b18f723f3de0aab20139f666072d7e651e60695
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2183/CH6/EX6.1/Ex_6_1.sce
|
0cb810bffc8aeaccc7e4ad364c7b10c49d3a93f9
|
[] |
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
| 314
|
sce
|
Ex_6_1.sce
|
// Example 6.1 //inernal quantum efficiency
clc;
clear;
close;
tr=2.5;//radiative recombination time in milli second
tnr=50;//non radiative recombination time in milli second
t=(tr*tnr)/(tr+tnr);//Bulk recombination life time in millisecond
nint= (t/tr)
disp(nint*100,"inernal quantum efficiency is(%) ")
|
50d2af1d17caf23337c2b88d7f90ebdaea40f9e4
|
097591ff707dad61b15d02ef979997b1425cc204
|
/02/Comparator.tst
|
63f91cce7bb3f5f0b762bc45535f34a24a37e41c
|
[] |
no_license
|
murillohl/ESC
|
d044cbadb0d108362f46ce0e2ca0c59beb3d11ec
|
688e7acd67132c20c88748f05a2604ed9dcb63ef
|
refs/heads/master
| 2020-03-27T05:31:35.873290
| 2018-12-11T11:39:54
| 2018-12-11T11:39:54
| 146,028,401
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 308
|
tst
|
Comparator.tst
|
load Comparator.hdl,
output-file Comparator.out,
compare-to Comparator.cmp,
output-list in%B1.16.1 eqz%B2.1.2 ltz%B2.1.2;
set in %B0000000000000000,
eval,
output;
set in %B0111111111111111,
eval,
output;
set in %B1000000000000000,
eval,
output;
set in %B1111111111111111,
eval,
output;
|
e5d5d315e42b12aed260ca841db34aa67de13ca7
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2024/CH9/EX9.17/9_17.sce
|
114f85e136e68384e860ae7d2753aad8c9751794
|
[] |
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
| 221
|
sce
|
9_17.sce
|
clc
//Initialization of variables
hf=1187.2 //Btu/lbm
p2=100 //psia
//calculations
t=328 //F
u2=hf
disp("from steam table,")
t2=540 //F
p2=100 //psia
dt=t2-t
//results
printf("Rise in temperature = %d F",dt)
|
ede3d2576e7789f5cda4cfb20342a3f6ffc03aa7
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2309/CH5/EX5.a.2/A_Ex5_2.sce
|
8842b14586880e95908fe15be65d0d9888451fa1
|
[] |
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
| 774
|
sce
|
A_Ex5_2.sce
|
// Chapter 5 additional Example 2
//==============================================================================
clc;
clear;
// input data
// Copper has FCC structure
r = 1.278; // Atomic radius in angstrom
N = 6.023*10^26; // Avagadros number in atoms/kilomole
A = 63.54; // Atomic weight of copper
n = 4; // No. of atoms per unit cell for FCC
//Calculations
r1 = r*10^-10; // Radius conversion from angstrom to m
a = (4*r1)/sqrt(2); // lattice parameter for FCC
p = (n*A)/(N*a^3); // Density of copper
//Output
mprintf(' Density of copper = %3.2f kg/m^3',p);
//==============================================================================
|
a1bb887f671a7f2ef48c360e7b96df39125e0544
|
717ddeb7e700373742c617a95e25a2376565112c
|
/545/CH5/EX5.8/ch_5_eg_8.sce
|
812c04d917b98885427f93896eefaf765509ce05
|
[] |
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
| 1,108
|
sce
|
ch_5_eg_8.sce
|
clc
disp("the soln of eg 5.8-->Chemical Reaction and Diffusion in Pore");
lnght=.001
k_const=.001
D=10^-9
delta_x=l/100
C=1 //in mol/m3
//B.C. are C=1 at x=0
// dC/dx=0 at x=10^-3 since at the end point conc. is const.
//using central difference method we get the following eqns which can be solved using TDMA method
for i=2:99, a(i)=1 //sub diagonal assignment
end
a(100)=2 //since C99=C100 using B.C.
for j=1:100, b(j)=-2.0001, //main diagonal assignment
end
for k=1:99, c(k)=1; //super diagonal assignment
end
d(1)=-1
for l=2:100, d(l)=0;
end //given values assignment
i=1;
n=100;
beta1(i)=b(i); //initial b is equal to beta since a1=0
gamma1(i)=d(i)/beta1(i); //since c7=0
m=i+1;
for j=m:n, beta1(j)=b(j)-a(j)*c(j-1)/beta1(j-1);
gamma1(j)=(d(j)-a(j)*gamma1(j-1))/beta1(j);
end
x(n)=gamma1(n); //since c7=0
n1=n-i;
for k=1:n1, j=n-k; x(j)=gamma1(j)-c(j)*x(j+1)/beta1(j);
end
disp(x(50),"the values of conc. at x=.5mm or at the 50th node is");
|
70ba1b01e7a1ec5f6b7eac1f75a005034e9a99ed
|
a62e0da056102916ac0fe63d8475e3c4114f86b1
|
/set14/s_Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106.zip/Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106/CH8/EX8.7/ex8_7.sce
|
61e29bac9e529a60b02c727bfec0369ac874a844
|
[] |
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
| 169
|
sce
|
ex8_7.sce
|
errcatch(-1,"stop");mode(2);// Example 8.7, Page No-378
R2=10000
Vo=12
Vref=7.15
R1=(Vo/Vref)*R2 - R2
R1a=R1/1000
printf('\nR1= %.2f kohm', R1a)
exit();
|
55698ccf7bf59c547c449252f8cd31ca7300f565
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3843/CH2/EX2.7/Ex2_7.sce
|
7055758c54fbfadbcca50b8c5317c62031faee34
|
[] |
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,248
|
sce
|
Ex2_7.sce
|
// Example 2_7
clc;funcprot(0);
// Given data
T=500+273;// K
rho=24;// The density in kg/m^3
R=0.462;// kJ/kg.K
v=1/rho;// m^3/kg
// Calculation
// (a)
P=rho*R*T;// kPa
printf("\n(a)Using the ideal gas equation,The pressure of steam(P)=%4.0f kPa.",P);
// (b)
// Using values for a and b from Table B-8,the vander Waals equation provides
a=1.703;
b=0.00169;
P=((R*T)/(v-b))-(a/v^2);// kPa
printf("\n(b)Using the vander Waals equation,the pressure of steam(P)=%4.0f kPa.",P);
// (c)
// Using values for a and b from Table B-8,the Redlich-Kwong equation provides
a=43.9;
b=0.00117;
P=((R*T)/(v-b))-(a/(v*(v+b)*sqrt(T)));// kPa
printf("\n(c)Using the Redlich-Kwong equation,the pressure of steam(P)=%4.0f kPa.",P);
// (d)
T_c=647.4;// The critical temperature in K
T_R=T/T_c;// The reduced temperature
P_c=8000;// The critical pressure in kPa
P_R=P/P_c;// The reduced pressure
// By using the reduced temperature and the reduced pressure
Z=0.93;// The compressibilty factor
P=(Z*R*T)/v;// kPa
printf("\n(d)By using the compressibilty factor,the pressure of steam(P)=%4.0f kPa.",P);
// (e)
// By using the steam tables,
P=8000;// kPa
printf("\n(e)By using the steam tables,the pressure of steam(P)=%4.0f kPa.",P);
|
63c4394f8201407967bcf8f8ddf10a94fae12dd2
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2321/CH4/EX4.2.1/EX4_2_1.sce
|
c76cef1a9c6e01789122eebc7a69c6af15a8e5f4
|
[] |
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,358
|
sce
|
EX4_2_1.sce
|
//Example No. 4.2.1
clc;
clear;
close;
format('v',7);
l=5;//cm(length of antenna)
f=100;//MHz(operating frequency)
Io=120;//mA(Terminal current)
t=1;//s(time)
theta=45;//degree(Angle)
r=3;//m(radius)
c=3*10^8;//m/s////Speed of light
omega=2*%pi*f*10^6;//rad/sec(rotation)
k=omega/c;//rad/m(Phase constant)
kr=2*%pi*r/3;//degree(Phase constant)
Er=Io*10^-3*l*10^-2/(2*%pi*r^2)*cosd(theta)*120*%pi*[1+1/(%i*kr)]*exp(-%i*kr+%i*omega*t);//V/m(Electric field)
Er=Er*1000;//mV/m(Electric field)
Er_mag=abs(Er);//mV/m(magnitude of Er)
Er_angle=atand(imag(Er),real(Er));//degree(angle of Er)
disp(Er_angle,Er_mag,"Value of Er : magnitude(mV/m) and angle in degree : ");
Etheta=Io*10^-3*l*10^-2/(4*%pi*r)*sind(theta)*120*%pi*%i*k*[1+1/(%i*kr)+1/(%i*kr)^2]*exp(-%i*kr+%i*omega*t);//V/m(Electric field)
Etheta_mag=abs(Etheta);//V/m(magnitude of Etheta)
Etheta_angle=atand(imag(Etheta),real(Etheta));//degree(angle of Etheta)
disp(Etheta_angle,Etheta_mag,"Value of Etheta : magnitude(V/m) and angle in degree : ");
Hfi=Io*10^-3*l*10^-2/(4*%pi*r)*sind(theta)*%i*k*[1+1/(%i*kr)]*exp(-%i*kr+%i*omega*t);//A/m(Magnetic field)
Hfi_mag=abs(Hfi);//A/m(magnitude of Hfi)
Hfi_angle=atand(imag(Hfi),real(Hfi));//degree(angle of Hfi)
disp(Hfi_angle,Hfi_mag,"Value of HΦ : magnitude(A/m) and angle in degree : ");
//Answer is not accurate in the book.
|
306431a2c4883b46700c25750e01b5072470ecf6
|
1d7b0d2d2e1b23faa4bf321453d437f21afd5fe5
|
/lab 6 - Sampling/scilab6_q1_sampling.sce
|
f2eabdbdffd39660c62a559479b09983ea9583a3
|
[] |
no_license
|
aaryashah11/60002190003_SciLab
|
2847a459a8a90ef07f4f17d8f18bb1be39a6c574
|
9ca078e5a8790fd0b1dea8320687e68c976a1efc
|
refs/heads/main
| 2023-01-19T05:53:02.417751
| 2020-11-25T07:55:15
| 2020-11-25T07:55:15
| 315,696,665
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 305
|
sce
|
scilab6_q1_sampling.sce
|
clc ;
n=0:1:25;
fs=0.02;
T=1/fs;
t=n*T;
x = cos(2* %pi *0.02*(n/fs) ) ;
plot2d3(n ,x) ;
figure;
n=0:1:25;
fs=0.04;
T=1/fs;
t=n*T;
x = cos(2* %pi *0.02*(n/fs) ) ;
plot2d3(n ,x) ;
figure;
n=0:1:25;
fs=0.4;
T=1/fs;
t=n*T;
x = cos(2* %pi *0.02*(n/fs) ) ;
plot2d3(n ,x) ;
figure;
|
7a5cbdc1fe0888694e9f77941ebfaeac430e47d6
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/764/CH7/EX7.8.a/data7_8.sci
|
1d39288b628e998fd56452a98b96366f568d3373
|
[] |
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
| 350
|
sci
|
data7_8.sci
|
//(Threaded Joints) Example 7.8
//Refer Fig.7.23 on page 239
//Number of bolts N
N = 2
//Permissible tensile stress in the bolts sigmaMax (N/mm2)
sigmaMax = 75
//Load acting on the bracket P (kN)
P = 20
//Eccentricity value e (mm)
e = 550
//Distance of bolt1 from the C l1 (mm)
l1 = 450
//Distance of bolt2 from the C l2 (mm)
l2 = 50
|
6a1d60f24d01f512b4a2ce1ce790baa2c4390017
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2072/CH21/EX21.5/Ex21_5.sce
|
b98e178fcfcc9b1f5985332d24028a565ba82301
|
[] |
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
| 208
|
sce
|
Ex21_5.sce
|
//Example 21.5
clc;
V_max=150//in V
V_rms=(V_max)/sqrt(2)
I_max=.255//in ohm
I_rms=I_max/sqrt(2)
cos=.426
P=V_rms*I_rms*cos
disp(V_rms,"Voltage in V=")
disp(I_rms,"Current in Amps=")
disp(P,"Power in watt=")
|
e79dcdc71a24f1f8ad3d77f5e35c9d65f3238491
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/98/CH11/EX11.12/example11_12.sce
|
b5ef70cf0aaba59cc706ec6868e921d91b37203e
|
[] |
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
| 647
|
sce
|
example11_12.sce
|
//Chapter 11
//Example 11_12
//Page 282
clear;clc;
d_in=2;
d_out=8;
e1=5;
e2=4;
e3=3;
g_max=40;
d1=e1*d_in/e2;
d2=e1*d_in/e3;
printf("GRADED CABLE: \n");
printf("d1 = %.2f cm \n", d1);
printf("d2 = %.2f cm \n", d2);
v=g_max/2*(d_in*log(d1/d_in)+d1*log(d2/d1)+d2*log(d_out/d2));
sv=v/sqrt(2);
printf("Permissible peak voltage for the cable = %.3f kV \n", v);
printf("Safe working rms voltage for the cable = %.3f kV \n\n", sv);
pv=g_max/2*d_in*log(d_out/d_in);
printf("UNGRADED CABLE: \n");
printf("Permissible peak voltage for the cable = %.3f kV \n", pv);
printf("Safe working rms voltage for the cable = %.3f kV \n\n", pv/sqrt(2));
|
4a71dd047ce8471e60ead4f55290bb6583e5a01e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3885/CH6/EX6.13/Ex6_13.sci
|
71b989efcfad1be88a579a01970a19a1c59a40ee
|
[] |
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,167
|
sci
|
Ex6_13.sci
|
//control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 6.13
clc;
clear;
s=poly(0,'s')
//given tranfer function g(s)=100/(s+1)*(s+2)*(s+10)
h=syslin('c',100/(s+1)*(s+2)*(s+10))
pm=45//given phase margin
w=4//given gain cross over frequency in rad/sec
//put s=jw in G(s) magnitude of G(jw) gives A1 and angle of G(jw) gives phi1 at w
A1=0.5
phi=-161//in degrees
theta=pm-19//desired pm -pm of uncompensated system
ess=0.1//steady state error for ramp input
kv=1/ess//velocity errpr constant
//the transfer function of PID controller is Gc(s)=kp+kd*s+ki/s
//by definition of velocity error constant applying s=0 in S*Gc(s)*G(s)
ki=2//integeral constant
disp(ki,'the value of integral constant')
kd=((sind(theta)/(w*A1))+(ki/w^2))//derivative constant
kp=cosd(theta)/A1//proportional constant
disp(kd,kp,'the values of proportional constant and derivative constant are')
hc=syslin('c',0.344*(s^2+5.23*s+5.81)/s)
disp(hc,'the transfer function of PID controller is')
hcmp=syslin('c',h*hc)
disp(hcmp,'the transfer function of compensated system is')
|
2f160f7a3f8c836d483e61aff30001e26dc406ef
|
e4678000832d299b2f62fd1a09d7a5627b312b1d
|
/elk.tst
|
25572b1bb52d40db9b6045dac7f1b9a21704e7b6
|
[] |
no_license
|
vengatc/Notes
|
e88c621deee3c3c4a3893d0ad58d8d6911829f89
|
e603951a99af8a2f7c3ea64f5662dcda50f31d88
|
refs/heads/master
| 2021-09-24T09:54:25.646343
| 2021-09-21T05:06:54
| 2021-09-21T05:06:54
| 147,392,926
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 69
|
tst
|
elk.tst
|
/elasticsearch
/kibana
/filebeat
logstash -f config/logstash.conf
|
7cc768179f1713ca03693d2b080caf977569be9f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1100/CH12/EX12.4/12_4.sce
|
8be082ed90c67cc466979525acc2a56cf4dbf2c1
|
[] |
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
| 638
|
sce
|
12_4.sce
|
clc
//initialisation of variables
r2= 0.0078 //lb water /lb dry air
r1= 0.0032 //lb water /lb dry air
h2= 25.33 //Btu/lb
h1= 12.9 //Btu/lb
pg= 0.1217 //psia
p= 14.7 //psia
h3= 13 //Btu/lb
n= 60
t2=70
t1=40
cpa=0.240
R2= 0.00788 //lb/lb of dry sir
w1= 0.00477 //lb/lb of dry sir
//CALCULATIONS
disp('Method 1')
w= r2-r1
q= h2-h1-w*h3
printf ('In method 1, Enthalpy =%.2f Btu/lb of dry air',q)
disp('Method 2')
R1= 0.622*(n/100)*(pg/(p-pg))
R2=0.00788
w2=R2-R1
//All constants are obtained from steam tables
Q=cpa*(t2-t1)+R2*(1092.6)-R1*(1079.6) -w2*h3
printf ('In method 2, Enthalpy = %.2f btu/lb of dry air',Q)
|
291c7cd9d87d58fda388f56c19be7a4e4bdb7964
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2762/CH2/EX2.4.1/2_4_1.sce
|
74c3e21294cb172a46f4e96d4ad501845406f9db
|
[] |
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
| 882
|
sce
|
2_4_1.sce
|
//Transport Processes and Seperation Process Principles
//Chapter 2
//Example 2.4-1
//Principles of Momentum Transfer and Overall Balances
//given data
dely=0.5;//dist between 2 plates in cm
delv=10;//vel diff along z in cm/s
mu=0.0177//viscosity in CP
//a) after integrating shear stress(tao)= mu*(delv)/dely
tao=mu*(delv/dely);//g/(s2*cm)
//shear rate= delv/dely as the vel change is linear with y
SR=delv/dely;
mprintf("shear stress in cgs = %f dyn/cm2",tao)
mprintf(" shear rate in cgs = %f s-1",SR)
//b) in lb force
mulb=mu*(6.7197/100);//viscosity changes to lbm/(ft*s)
taolb=(mulb*delv)/(dely*32.174);//lbf/ft2
mprintf(" shear stress in english units = %f lbf/ft2",taolb)
mprintf(" shear rate in english units = %f s-1",SR)
//c)
taosi=(mu*0.1*delv)/(dely);
mprintf(" shear stress in si = %f N/m2",taosi)
mprintf(" shear rate in si = %f s-1",SR)
//end
|
e06bf833704f579f9c63dde7330c572d326aa174
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/476/CH5/EX5.1/Example_5_1.sce
|
a4b1eea3a549b702151ea2a1a5265f5c6a8e9829
|
[] |
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
| 932
|
sce
|
Example_5_1.sce
|
//A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 1
clear;
clc;
//Given:
u1 = 1; //entering velocity of water (m/s)
d_ent = 0.2; //entrance diameter of reducer (m)
d_exit = 0.1; //exit diameter of reducer (m)
P_ent = 105; //pressure at entrance (kPa)
z = 5; //distance between entrance and exit (m)
g = 9.81; //acceleration due to gravity
den = 1000; //density of water (kg/m^3)
//To calculate the pressure at exit
A1 = (%pi/4)*d_ent^2; //cross section area of entrance (m^2)
A2 = (%pi/4)*d_exit^2; //cross section area of exit (m^2)
//By the equation of continuity and since density of water remains constant
u2 = (A1*u1)/A2;
//By Bernoulli's equation between section 1 and 2 (Eq 5.20 Page no. 118)
P_exit = (-((u2^2-u1^2)/2)-(g*z)+(P_ent*10^3/den))*(den/10^3);
mprintf('The pressure at exit is %f kPa',P_exit);
//end
|
03e9f59f124e8db34b5722e4b26d142261b364bf
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3281/CH4/EX4.3/ex4_3.sce
|
0a84ccc6906793f29771bb16755503b5151c8667
|
[] |
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
| 594
|
sce
|
ex4_3.sce
|
//Page Number: 194
//Example 4.3
clc;
//Given
c=3D+8; //m/s
a=2.286;//cm
a1=a/100;//m
b=1.024;//cm
b1=b/100;//m
f=10D+9;//hz
sig=6D+7;
u=4D-7*%pi;
w=2*%pi*f;
eet=377;
//Shortest cavity length
lamc=2*a1;//m
fc=c/lamc;//hz
lam=c/f;//m
lamg=lam/sqrt(1-(fc/f)^2);//m
sc=lamg/2;//m
disp('cm',sc*100,'Shortest cavity length:');
//Qw of the resonator operating in TE101 mode
rs=sqrt((w*u)/(2*sig));//ohm
lamr=c/f;
x=(((a1*b1)/(sc^2))+((sc^2+a1^2)/(2*sc*a1))+(b1*sc/a1^2));
qw=(2*%pi*eet*a1*b1*sc)/(rs*(lamr^3)*x);
disp(qw,'Qw of the resonator operating in TE101 mode');
|
9621464e7085f2d098b121e8adb6411da80e55e2
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2621/CH4/EX4.9/Ex4_9.sce
|
35ecdb9a3d975289acf0640f37bdec1cf9a82f3d
|
[] |
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
| 466
|
sce
|
Ex4_9.sce
|
// Example 4.9
clc;
clear;
close;
format('v',6);
// Given data
R= 40;// in kΩ
R= R*10^3;// in Ω
C= 0.2;// in µF
C= C*10^-6;// in F
Vin= 5;// in V
V1= 3;// in V
t= 50;// in ms
Vout= 3;// in V
t=[0:0.1:50];
vout= -1/(R*C)*integrate('(Vin-V1)','t',0,t)*10^-3+Vout;//in V
plot(t,vout);
title("Sketch of output voltage");
xlabel("Time in milliseconds");
ylabel("Output voltage in volts")
disp("Plot for output voltage shown in figure");
|
a68a7ae5c82459194d3cc44a7c39d0f7fe896186
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2048/DEPENDENCIES/plotacf.sci
|
a36f8cafff5affa3144ebccd48e5d75e44d3ca96
|
[] |
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,037
|
sci
|
plotacf.sci
|
// Procedure to plot the ACF, as discussed in Sec. 6.4.3. An example usage is given in 6.5.
// 6.6
// PLOTACF: Plots normalized autocorrelation function
//
// USAGE:: [acf]=plotacf(x,errlim,len,print_code)
//
// WHERE:: acf = autocorrelation values
// x = time series data
// errlim > 0; error limit = 2/sqrt(data_len)
// len = length of acf that need to to be plotted
// NOTE: if len=0 then len=data_length/2;
// print_code = 0 ==> does not plot OR ELSE plots
//
// Pranob Banerjee
function [x]=plotacf(y,errlim,len,code)
exec('normacf.sci',-1);
exec('label.sci',-1)
x = normacf(y);
l = length(y);
r=l:2*(l-1); lim=2/sqrt(l); rl=1:length(r) ;
N=length(rl); x=x(r);
if len>0 & len<N, rl=1:len; x=x(rl); N=len; end;
if(code > 0 )
if(errlim > 0 )
rl=rl-1;
plot(rl,x,rl,x,'o' , rl,lim*ones(N,1),'--', ...
rl,-lim*ones(N,1),'--')
xgrid
else
plot(rl,x)
end
end;
a = gca();
a.data_bounds = [0 min(min(x),-lim-0.1); len-1 1.1];
label(' ',4,'Lag','ACF',4)
endfunction;
|
4493af9d582d7aa649d28edcc0f3b47d0c765cd8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1268/CH5/EX5.5/5_5.sce
|
395114163a8d2c5e2687151e7a57db6fabe4a001
|
[] |
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
| 211
|
sce
|
5_5.sce
|
clc;
disp("Example 5.5")
// WE need to calculate the integral of the manipulated expression in terms of y/delta
int= integrate('2*y-(5*y*y)+(4*y*y*y)-(y*y*y*y)','y',2,1)
disp(int, "Momentum thickness is ")
|
3b6ca22f703692bae47d77b056a4978e00589e91
|
b2675f983fedb79e5e6f1940962373bda0570ec4
|
/Example_JSON_Scripting.tst
|
be2081228c0b603d4e0b9dc20e3cd293f58fa0a7
|
[] |
no_license
|
Meena92/Projects
|
b854c40b91515bb429c9e13fb0cbc95c03e0a9d6
|
06361e24bf51883ff4140db5c37c3f40836a5752
|
refs/heads/master
| 2020-03-29T01:45:03.726432
| 2019-06-11T05:26:08
| 2019-06-11T05:26:08
| 149,404,524
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 12,380
|
tst
|
Example_JSON_Scripting.tst
|
<?xml version="1.0" ?>
<TestCase name="Example_JSON_Scripting" version="5">
<meta>
<create version="10.1.0" buildNumber="10.1.0.283" author="admin" date="08/31/2017" host="NESJO02" />
<lastEdited version="10.1.0" buildNumber="10.1.0.283" author="admin" date="08/31/2017" host="NESJO02" />
</meta>
<id>BBF0F2D98E7411E798E14A7F20524153</id>
<Documentation>Put documentation of the Test Case here.</Documentation>
<IsInProject>true</IsInProject>
<sig>ZWQ9NSZ0Y3Y9LTEmbGlzYXY9MTAuMS4wICgxMC4xLjAuMjgzKSZub2Rlcz0tNjg1MjgyODI=</sig>
<subprocess>false</subprocess>
<initState>
</initState>
<resultState>
</resultState>
<Node name="Parse JSON with Eligible Status" log=""
type="com.itko.lisa.utils.ParseTextContentNode"
version="1"
uid="BFEADC648E7411E798E14A7F20524153"
think="0"
useFilters="true"
quiet="true"
next="Output Log Message" >
<!-- Filters -->
<Filter type="com.ca.lisa.apptest.json.FilterJSONGet">
<valueToFilterKey>lisa.Parse JSON with Eligible Status.rsp</valueToFilterKey>
<jsonPath>$.deviceDetailList.device[0].deviceEligiblity.deviceStatus</jsonPath>
<valueProp>deviceStatus</valueProp>
<lengthProp></lengthProp>
</Filter>
<!-- Assertions -->
<CheckResult assertTrue="false" name="Assert- deviceStatus is Eligible" type="com.itko.lisa.test.AssertByScript">
<log></log>
<then>fail</then>
<script>_logger.info("<<< Entering scripted assertion"); _logger.info("<<< Value of the property deviceStatus is: {}", testExec.getStateValue("deviceStatus") ); _logger.info("<<< Entering IF / ELSE comparisons"); if ( "Eligible".equals( testExec.getStateValue("deviceStatus") ) ) { _logger.info(" <<< status check for Eligible met. returning true "); return true; } else if ( "InEligible".equals( testExec.getStateValue("deviceStatus") ) ) { _logger.info(" <<< status check for InEligible met. return false "); return false; } _logger.info(" <<< status check was NEITHER Eligible nor InEligible so returning false"); return false; </script>
<language>BeanShell</language>
<copyprops>TestExecPropsAndSystemProps</copyprops>
</CheckResult>
<text>eyJNU0lTRE4iOiI0NzA0MjQwMTg4IiwiZGV2aWNlRGV0YWlsTGlzdCI6eyJkZXZpY2UiOlt7ImltZWkiOiIzNTM3NTMwNzQ3MjQ0OTAiLCJwcm9kdWN0TmFtZSI6Ik1vdG9yb2xhIC0gVjMgMDUgRGFyayBQZWFybCBHcmF5IiwicHJvZHVjdFNLVSI6IlhTQU1HOTI4VEIzMiIsIm1hbnVmYWN0dXJlciI6Ik1vdG9yb2xhIiwibW9kZWwiOiJWMyAwNSBEYXJrIFBlYXJsIEdyYXkiLCJmaXJzdFVzZURhdGUiOiIyMDE3LTA4LTI2VDIyOjQ5OjQ5LTA3OjAwIiwibGFzdFVzZURhdGUiOiIyMDE3LTA4LTI5VDIyOjQ5OjQ5LTA3OjAwIiwiZGV2aWNlVHlwZSI6IlQtTW9iaWxlIC0gTmV3IiwiZGV2aWNlUmVwYWlyTG9jYXRpb24iOiIiLCJ3YXJyYW50eUV4cGlyYXRpb25EYXRlIjoiMjAxOC0wOC0yNlQwMDowMDowMC0wNzowMCIsIndhcnJhbnR5VHlwZSI6Ik9FTSIsIlBIUEluZGljYXRvciI6IjAiLCJzYWxlc09mZmljZSI6IiIsImRldmljZUVsaWdpYmxpdHkiOnsiZGV2aWNlU3RhdHVzIjoiRWxpZ2libGUiLCJkZXZpY2VTdGF0dXNNZXNzYWdlIjp7fSwib3Blbk9yZGVyRGV0YWlsIjp7fSwiaW5mb3JtYXRpb25hbE1lc3NhZ2VMaXN0Ijp7ImluZm9ybWF0aW9uYWxNZXNzYWdlcyI6W3sibWVzc2FnZSI6IiIsInVybCI6IiJ9XX0sIm1hbmFnZXJPdmVycmlkZVJlcXVpcmVkIjpmYWxzZX0sImRldmljZUZlZUxpc3QiOnsiZmVlIjpbeyJTS1VUeXBlIjoiUmVzdG9ja2luZ0ZlZSIsIlNLVSI6IlJTS0ZFRSIsIlNLVUdyb3VwIjoiUlNLRkUiLCJmZWUiOjY0OS45OX0seyJTS1VUeXBlIjoiT09XRmVlIiwiU0tVIjoiT09XRkVFIiwiU0tVR3JvdXAiOiJUTEFDQyIsImZlZSI6MjAwLjB9XX0sIklzQVdSRUVsaWdpYmxlIjp0cnVlfV19LCJQSFBWZW5kb3IiOiJPRU0ifQ==</text>
<propKey>fl_JSON_Payload</propKey>
</Node>
<Node name="Output Log Message" log=""
type="com.itko.lisa.test.TestNodeLogger"
version="1"
uid="15B15E618E7611E798E14A7F20524153"
think="0"
useFilters="true"
quiet="true"
next="Parse JSON with InEligible Status" >
<log>The previous step returned true. Value of deviceStatus is: {{deviceStatus}}</log>
</Node>
<Node name="Parse JSON with InEligible Status" log=""
type="com.itko.lisa.utils.ParseTextContentNode"
version="1"
uid="53CCE0168E7611E798E14A7F20524153"
think="0"
useFilters="true"
quiet="true"
next="Output Log If Eligible" >
<!-- Filters -->
<Filter type="com.ca.lisa.apptest.json.FilterJSONGet">
<valueToFilterKey>lisa.Parse JSON with InEligible Status.rsp</valueToFilterKey>
<jsonPath>$.deviceDetailList.device[0].deviceEligiblity.deviceStatus</jsonPath>
<valueProp>deviceStatus</valueProp>
<lengthProp></lengthProp>
</Filter>
<!-- Assertions -->
<CheckResult assertTrue="false" name="Assert- deviceStatus is Eligible" type="com.itko.lisa.test.AssertByScript">
<log>Assertion name: Assert- deviceStatus is Eligible checks for: false is of type: Assert by Script Execution.</log>
<then>Error Message Step</then>
<valueToAssertKey></valueToAssertKey>
<script>_logger.info("<<< Entering scripted assertion"); _logger.info("<<< Value of the property deviceStatus is: {}", testExec.getStateValue("deviceStatus") ); _logger.info("<<< Entering IF / ELSE comparisons"); if ( "Eligible".equals( testExec.getStateValue("deviceStatus") ) ) { _logger.info(" <<< status check for Eligible met. returning true "); return true; } else if ( "InEligible".equals( testExec.getStateValue("deviceStatus") ) ) { _logger.info(" <<< status check for InEligible met. return false "); return false; } _logger.info(" <<< status check was NEITHER Eligible nor InEligible so returning false"); return false; </script>
<language>BeanShell</language>
<copyprops>TestExecPropsAndSystemProps</copyprops>
</CheckResult>
<text>eyJNU0lTRE4iOiI0NzA0MjQwMTg4IiwiZGV2aWNlRGV0YWlsTGlzdCI6eyJkZXZpY2UiOlt7ImltZWkiOiIzNTM3NTMwNzQ3MjQ0OTAiLCJwcm9kdWN0TmFtZSI6Ik1vdG9yb2xhIC0gVjMgMDUgRGFyayBQZWFybCBHcmF5IiwicHJvZHVjdFNLVSI6IlhTQU1HOTI4VEIzMiIsIm1hbnVmYWN0dXJlciI6Ik1vdG9yb2xhIiwibW9kZWwiOiJWMyAwNSBEYXJrIFBlYXJsIEdyYXkiLCJmaXJzdFVzZURhdGUiOiIyMDE3LTA4LTI2VDIyOjQ5OjQ5LTA3OjAwIiwibGFzdFVzZURhdGUiOiIyMDE3LTA4LTI5VDIyOjQ5OjQ5LTA3OjAwIiwiZGV2aWNlVHlwZSI6IlQtTW9iaWxlIC0gTmV3IiwiZGV2aWNlUmVwYWlyTG9jYXRpb24iOiIiLCJ3YXJyYW50eUV4cGlyYXRpb25EYXRlIjoiMjAxOC0wOC0yNlQwMDowMDowMC0wNzowMCIsIndhcnJhbnR5VHlwZSI6Ik9FTSIsIlBIUEluZGljYXRvciI6IjAiLCJzYWxlc09mZmljZSI6IiIsImRldmljZUVsaWdpYmxpdHkiOnsiZGV2aWNlU3RhdHVzIjoiSW5FbGlnaWJsZSIsImRldmljZVN0YXR1c01lc3NhZ2UiOnt9LCJvcGVuT3JkZXJEZXRhaWwiOnt9LCJpbmZvcm1hdGlvbmFsTWVzc2FnZUxpc3QiOnsiaW5mb3JtYXRpb25hbE1lc3NhZ2VzIjpbeyJtZXNzYWdlIjoiIiwidXJsIjoiIn1dfSwibWFuYWdlck92ZXJyaWRlUmVxdWlyZWQiOmZhbHNlfSwiZGV2aWNlRmVlTGlzdCI6eyJmZWUiOlt7IlNLVVR5cGUiOiJSZXN0b2NraW5nRmVlIiwiU0tVIjoiUlNLRkVFIiwiU0tVR3JvdXAiOiJSU0tGRSIsImZlZSI6NjQ5Ljk5fSx7IlNLVVR5cGUiOiJPT1dGZWUiLCJTS1UiOiJPT1dGRUUiLCJTS1VHcm91cCI6IlRMQUNDIiwiZmVlIjoyMDAuMH1dfSwiSXNBV1JFRWxpZ2libGUiOnRydWV9XX0sIlBIUFZlbmRvciI6Ik9FTSJ9</text>
<propKey>fl_JSON_Payload</propKey>
</Node>
<Node name="Output Log If Eligible" log=""
type="com.itko.lisa.test.TestNodeLogger"
version="1"
uid="9720E5438E7611E798E14A7F20524153"
think="0"
useFilters="true"
quiet="true"
next="Parse JSON with UNKNOWN Status" >
<log>The previous step returned true. Value of deviceStatus is: {{deviceStatus}}</log>
</Node>
<Node name="Parse JSON with UNKNOWN Status" log=""
type="com.itko.lisa.utils.ParseTextContentNode"
version="1"
uid="B05FE8BB8E7611E798E14A7F20524153"
think="0"
useFilters="true"
quiet="true"
next="end" >
<!-- Filters -->
<Filter type="com.ca.lisa.apptest.json.FilterJSONGet">
<valueToFilterKey>lisa.Parse JSON with UNKNOWN Status.rsp</valueToFilterKey>
<jsonPath>$.deviceDetailList.device[0].deviceEligiblity.deviceStatus</jsonPath>
<valueProp>deviceStatus</valueProp>
<lengthProp></lengthProp>
</Filter>
<!-- Assertions -->
<CheckResult assertTrue="false" name="Assert- deviceStatus is Eligible" type="com.itko.lisa.test.AssertByScript">
<log>Assertion name: Assert- deviceStatus is Eligible checks for: false is of type: Assert by Script Execution.</log>
<then>Error Message Step</then>
<valueToAssertKey></valueToAssertKey>
<script>_logger.info("<<< Entering scripted assertion"); _logger.info("<<< Value of the property deviceStatus is: {}", testExec.getStateValue("deviceStatus") ); _logger.info("<<< Entering IF / ELSE comparisons"); if ( "Eligible".equals( testExec.getStateValue("deviceStatus") ) ) { _logger.info(" <<< status check for Eligible met. returning true "); return true; } else if ( "InEligible".equals( testExec.getStateValue("deviceStatus") ) ) { _logger.info(" <<< status check for InEligible met. return false "); return false; } _logger.info(" <<< status check was NEITHER Eligible nor InEligible so returning false"); return false; </script>
<language>BeanShell</language>
<copyprops>TestExecPropsAndSystemProps</copyprops>
</CheckResult>
<text>eyJNU0lTRE4iOiI0NzA0MjQwMTg4IiwiZGV2aWNlRGV0YWlsTGlzdCI6eyJkZXZpY2UiOlt7ImltZWkiOiIzNTM3NTMwNzQ3MjQ0OTAiLCJwcm9kdWN0TmFtZSI6Ik1vdG9yb2xhIC0gVjMgMDUgRGFyayBQZWFybCBHcmF5IiwicHJvZHVjdFNLVSI6IlhTQU1HOTI4VEIzMiIsIm1hbnVmYWN0dXJlciI6Ik1vdG9yb2xhIiwibW9kZWwiOiJWMyAwNSBEYXJrIFBlYXJsIEdyYXkiLCJmaXJzdFVzZURhdGUiOiIyMDE3LTA4LTI2VDIyOjQ5OjQ5LTA3OjAwIiwibGFzdFVzZURhdGUiOiIyMDE3LTA4LTI5VDIyOjQ5OjQ5LTA3OjAwIiwiZGV2aWNlVHlwZSI6IlQtTW9iaWxlIC0gTmV3IiwiZGV2aWNlUmVwYWlyTG9jYXRpb24iOiIiLCJ3YXJyYW50eUV4cGlyYXRpb25EYXRlIjoiMjAxOC0wOC0yNlQwMDowMDowMC0wNzowMCIsIndhcnJhbnR5VHlwZSI6Ik9FTSIsIlBIUEluZGljYXRvciI6IjAiLCJzYWxlc09mZmljZSI6IiIsImRldmljZUVsaWdpYmxpdHkiOnsiZGV2aWNlU3RhdHVzIjoiVU5LTk9XTiIsImRldmljZVN0YXR1c01lc3NhZ2UiOnt9LCJvcGVuT3JkZXJEZXRhaWwiOnt9LCJpbmZvcm1hdGlvbmFsTWVzc2FnZUxpc3QiOnsiaW5mb3JtYXRpb25hbE1lc3NhZ2VzIjpbeyJtZXNzYWdlIjoiIiwidXJsIjoiIn1dfSwibWFuYWdlck92ZXJyaWRlUmVxdWlyZWQiOmZhbHNlfSwiZGV2aWNlRmVlTGlzdCI6eyJmZWUiOlt7IlNLVVR5cGUiOiJSZXN0b2NraW5nRmVlIiwiU0tVIjoiUlNLRkVFIiwiU0tVR3JvdXAiOiJSU0tGRSIsImZlZSI6NjQ5Ljk5fSx7IlNLVVR5cGUiOiJPT1dGZWUiLCJTS1UiOiJPT1dGRUUiLCJTS1VHcm91cCI6IlRMQUNDIiwiZmVlIjoyMDAuMH1dfSwiSXNBV1JFRWxpZ2libGUiOnRydWV9XX0sIlBIUFZlbmRvciI6Ik9FTSJ9</text>
<propKey>fl_JSON_Payload</propKey>
</Node>
<Node name="Error Message Step" log=""
type="com.itko.lisa.test.TestNodeLogger"
version="1"
uid="C49DCBCA8E7611E798E14A7F20524153"
think="0"
useFilters="true"
quiet="true"
next="end" >
<log>Some Sort of Error Occurred because the Assertion branches here if false The value of deviceStatus is: {{deviceStatus}}</log>
</Node>
<Node name="end" log=""
type="com.itko.lisa.test.NormalEnd"
version="1"
uid="BBF0F2DF8E7411E798E14A7F20524153"
think="0h"
useFilters="true"
quiet="true"
next="fail" >
</Node>
<Node name="fail" log=""
type="com.itko.lisa.test.Abend"
version="1"
uid="BBF0F2DD8E7411E798E14A7F20524153"
think="0h"
useFilters="true"
quiet="true"
next="abort" >
</Node>
<Node name="abort" log=""
type="com.itko.lisa.test.AbortStep"
version="1"
uid="BBF0F2DB8E7411E798E14A7F20524153"
think="0h"
useFilters="true"
quiet="true"
next="" >
</Node>
</TestCase>
|
0d656051e47e306219eae0d0b2adc2739f3e037b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/620/CH28/EX28.2/example28_2.sce
|
f9b07d9a8255c335eeb7b29b863b53e632d2dd68
|
[] |
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
| 477
|
sce
|
example28_2.sce
|
p=60;
v=120;
f=60;
disp("Part a");
r=v^2/p;
disp("the normal hot resistance (in Ω) is"); disp(r);
disp("Part b");
vrms=v/sqrt(2);
disp("the r.m.s. voltage (in V) is"); disp(vrms);
disp("Part c");
v1=85;
r1=r*v1/v;
disp("the resistance (in Ω) of the lamp is"); disp(r1);
disp("Part d");
prms=vrms^2/r1;
disp("the r.m.s. power delivered to the lamp (in W) is"); disp(prms);
disp("Part e");
piv=v*sqrt(2);
disp("the peak inverse voltage (in V) is"); disp(piv);
|
6faddccddbf1d2ebc84f6bc3d96e2e59676e83af
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2660/CH4/EX4.21/Ex4_21.sce
|
9e4202ac87787ef534fc3a128ca132335548b9ff
|
[] |
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
| 303
|
sce
|
Ex4_21.sce
|
clc
v = 6 // cutting speed in m/min
n = 5 // number of cuts
D = 44 // diameter in mm
N = (1000*v)/(%pi*D) // r.p.m
f = 0.5 // feed in cm
l = 8.9 // length of cut in cm
Tm = (l*n)/(f*N) // time in min
printf("\n Time to cut the threads = %0.2f min" , Tm)
// Answers vary due to round off error
|
4259706cc7f715401eec509c3776791baadb7e6b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1736/CH3/EX3.15/Ch03Ex15.sce
|
dabf43ca99fdcba884a530f5898aa6e2ad367ac9
|
[] |
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
| 731
|
sce
|
Ch03Ex15.sce
|
// Scilab Code Ex3.15: Page-94 (2006)
clc; clear;
T_M = 1356; // Melting temperature of Cu, K
V = 7.114; // Atomic volume of Cu, cm cube per g-atom
M = 63.5; // atomic weight of Cu, g/mole
K = 138.5; // Lindemann constant
theta_M = K*(T_M/M)^(1/2)*(1/V)^(1/3); // Debye temperature by Lindemann method, K
printf("\nThe Debye temperature by Lindemann method = %3d K", ceil(theta_M));
printf("\nThe values obtained from other methods are:");
printf("\ntheta_s = 342 K; theta_R = 336 K; theta_E = 345 K");
// Result
// The Debye temperature by Lindemann method = 333 K
// The values obtained from other methods are:
// theta_s = 342 K; theta_R = 336 K; theta_E = 345 K
|
734118e5b8981b1b42d1be88c9656423b4c5838e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/710/CH1/EX1.5/1_5.sci
|
9b9b68e178f4903d6c24b5e2e3580b5573b44474
|
[] |
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
| 457
|
sci
|
1_5.sci
|
clc();
clear;
//To determine the frequency of ultrasonic waves
Y=77*(10^10); //Youngs modulus for quartz in dyne/cm^2
rho=2.6; //density of quartz in g/cm^3
t=0.4; //thickness in cm
f=((1/(2*t))*sqrt(Y/rho))*10^-3 //frequency
printf("The frequency of ultrasonic waves produced when a quartz plate of thickness 4mm is used is %d kHz",f);
|
b165d6dd826d01c5b8c07ed89c95b6130b7b5347
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1853/CH4/EX4.28/Ex4_28.sce
|
db8bcfea49713132ca96077721c40cb7b3dfeb63
|
[] |
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
| 408
|
sce
|
Ex4_28.sce
|
4.28//voltage across R$C
C=15e-6;//farad..
R=100;//ohms
V=100;//volts
f=50;//hertz
Xc=1/(2*%pi*f*C);
Z=sqrt(R^2+(Xc^2));
I=V/Z;
coso=R/Z;
sino=R/Z
o=acosd(coso);
o=asind(sino)
Vr=I*R;
Vc=I*Xc;
AP=V*I*coso
RP=V*I*sino
APP=V*I;
disp('The time equation of current i = (0.426)1.414sin(314t-64.34)' , 'Apparent power ='+string(APP)+'vars ' , 'ACTIVE POWER ='+string(AP)+ ' watts' )
|
3d750dc261dc3dcf189323f0f7cdae919850dc66
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/389/CH10/EX10.9/Example10_9.sce
|
a54e38c5f91f5812a727ed5cd5c7bd8e72ff747e
|
[] |
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,192
|
sce
|
Example10_9.sce
|
clear;
clc;
// Illustration 10.9
// Page: 551
printf('Illustration 10.9 - Page: 551\n\n');
// solution
//****Data****//
B = 20000;// [kg/h]
//******//
// x and y are taken in weight fraction acetic acid.
x1 = 0.30;// [Wt fraction]
xF = 0.30;// [Wt fraction]
y2 = 0;// [Wt fraction]
x2 = 0.02;// [Wt fraction]
y1 = 0.10;// [Wt fraction]
// The operating diagram is plotted in Fig. 10.23:
// Data = [x x_star]
// From Fig. 10.23 (Pg 503):
Data = [0.30 0.230;0.25 0.192;0.20 0.154;0.15 0.114;0.10 0.075;0.05 0.030;0.02 0];
Val = zeros(7);
for i = 1:7
Val(i) = 1/(Data(i,1)-Data(i,2));
end
scf(29);
plot(Data(:,1),Val);
xgrid();
a = gca();
a.Data_bounds = [0.02 0;0.30 50];
xlabel("x");
ylabel("1/(x-x*)");
title("Graphical Integration");
// From Area Under the curve:
Area = 8.40;
// The mutual solubility of water and isopropyl ether is very small.
Ma = 18;// [kg/kmol water]
Mb = 60;// [kg/kmol isopropyl ether]
r = Ma/Mb;
// From Eqn. 10.110:
NtoR = Area+(1/2)*log(1-x2/(1-x1))+(1/2)*log(x2*(r-1)+1/(x1*(r-1)+1));
// Since the operating line and equilibrium line are parallel:
Np = NtoR;
printf("Number of theoretical Units: %f\n",NtoR);
|
6922e44ffc17c23b664b0f6ca02921d6ec326fcd
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/67/CH7/EX7.5/example75.sce
|
46d3707d6495f3270b389a5d60411dee9850b185
|
[] |
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
| 178
|
sce
|
example75.sce
|
//Example 7.5
clc;
syms Wo n z;
x1=exp(sqrt(-1)*Wo*n);
X1=symsum(x1*(z^-n),n,0,%inf);
x2=exp(-sqrt(-1)*Wo*n);
X2=symsum(x2*(z^-n),n,0,%inf);
X=(X1+X2)/2;
disp(X,'X(z)=');
|
31a3bc9be4823558c161002e908c7f63f3584ecd
|
207c864c3f938783d617dca78232e70445ae21e6
|
/Ch11_I.sce
|
2ef07751a23b41fb918968c1e1bfa931367dbc3e
|
[] |
no_license
|
raresica/CalculNumeric
|
a211a57fd4851e546c0b5eb866b3b228534a982c
|
5564822ff9f5dab745208898ef9162322b28bff2
|
refs/heads/master
| 2021-02-11T05:03:13.720791
| 2020-04-15T10:42:58
| 2020-04-15T10:42:58
| 244,457,154
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 171
|
sce
|
Ch11_I.sce
|
/* Sa se calculeze derivatele functiilor in punctul indicat:
f(x)=x-2cos x x0=1
*/
deff('y=f(x)','y=x-2.*cos(x)')
numderivative(f,1)
[d1,d2]=numderivative(f,1)
|
7d25a2406844d99596fa56eb7610bc3655254d56
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.3/macros/util/g_round.sci
|
4921d3981c239a072641075ce9258c6edf1e38b7
|
[
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] |
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
| 68
|
sci
|
g_round.sci
|
function sp=g_round(a)
[ij,v,mn]=spget(a)
sp=sparse(ij,round(v),mn)
|
c13823bacc8c103e839acf01f9e479188c119ba1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/575/DEPENDENCIES/842.sci
|
9ed6dc5e8e858d42f4922fd4486e5e37c41a49c7
|
[] |
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
| 155
|
sci
|
842.sci
|
deltaHv=28.85 //Kj/mol at 69 C
T1=25 //C
T2=69 //C
Cp=0.2163 //Kj/mol C
V=1 //L
P=7 //bar
D=0.659 //KG/L
M=86.17 //Kg
ndot=100 //mol/h
T3=300 //C
|
8adcbe8c6401cd3b5c9b302613ef587b495ef9b0
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2216/CH3/EX3.1/ex_3_1.sce
|
8e0a214147514512506cabee0782d2f58be423c6
|
[] |
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
| 544
|
sce
|
ex_3_1.sce
|
//Example 3.1 // range of propagation constants and maximum no. of modes
clc;
clear;
close;
format('v',9)
n1=1.5;//core refractive index
n2=1.49;//cladding refrative index
t=9.83;//thickness of guided layer in micro meter
h=0.85;//wavelength in µm
b1=((2*%pi*n1)/(h*10^-6));//phase propagation constant in m^-1
b2=((2*%pi*n2)/(h*10^-6));//phase propagation constant in m^-1
m=((4*t)/h)*(sqrt(n1^2-n2^2));//number of modes
disp("range of propagation constant is "+string(b1)+" to "+string(b2)+" in m^-1")
disp(round(m/2),"number of modes are")
|
1857682f5d8b0863233d6feed9820f9f0467a24b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/842/CH4/EX4.9/Example4_9.sce
|
f842354daac33bd8ccb1cb61c8ec9a73e6a2acbe
|
[] |
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
|
Example4_9.sce
|
//clear//
//Example 4.9:Continuous Time Fourier Transform Properties:
//Linearity and Time Shift Property
clear;
clc;
close;
// CTFT
t1 = -1/2:0.1:1/2;
t2 = -3/2:0.1:3/2;
x1 = ones(1,length(t1));
x2 = ones(1,length(t2));
t3 = t1+2.5;
t4 = t2+2.5;
x1 = (1/2)*x1;
x = [x2(1:floor(length(x2)/3)),x1+x2(ceil(length(x2)/3):$-floor(length(x2)/3)),x2(($-ceil(length(x2)/3))+2:$)];
subplot(3,1,1)
a = gca();
a.x_location = "origin";
a.y_location = "origin";
plot(t1,x1)
xtitle('x1(t)')
subplot(3,1,2)
a = gca();
a.x_location = "origin";
a.y_location = "origin";
plot(t2,x2)
xtitle('x2(t)')
subplot(3,1,3)
a = gca();
a.x_location = "origin";
a.y_location = "origin";
plot(t4,x)
xtitle('x(t)')
|
1effcef35d2f01dbfdf8ab6da5ad66496b537e5f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3204/CH14/EX14.25/Ex14_25.sce
|
a3404c0bd445bfc6dd333f94c160e3a598ca6737
|
[] |
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
| 714
|
sce
|
Ex14_25.sce
|
// Initilization of variables
P=30 // N // weight on pulley A
Q=20 // N // weight on pulley B
R=10 // N // weight on puey B
g=9.81 // m/s^2 // acc due to gravity
// Calculations
// Solving eqn's 6 & 7 using matrix for a & a_1, we get
A=[70 -40;-10 30]
B=[10;-10]
C=inv(A)*B
// Acceleration of P is given as,
P=C(1) // m/s^2
// Acceleration of Q is given as,
Q=C(2)-C(1) // m/s^2
// Acceleration of R is given as,
R=-(C(2)+C(1)) // m/s^2 // as R is taken to be +ve
// Results
clc
printf('The acceleration of P is %f g \n',P)
printf('The acceleration of Q is %f g \n',Q)
printf('The acceleration of R is %f g \n',R)
// Here the -ve sign indicates deceleration or backward/downward acceleation.
|
eaf771889f0c1c8847ef5ed4cc7bbea2e0eff8ec
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1862/CH13/EX13.3/C13P3.sce
|
4548c190b786ed283dc9d2f102bde3a09d8f90d3
|
[] |
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
| 675
|
sce
|
C13P3.sce
|
clear
clc
//to find speed of center of mass
//to find change in stored internal energy
// GIVEN:
//refer to figure 13-5 on page no. 285
//mass of ice skater
M = 50//in Kg
//force exerted
F = 55//in N
//distance moved by center of mass
scm = 32e-2//in m
// SOLUTION:
//consider newton's third law and center of mass equation
//speed of center of mass
vcm = sqrt(2*F*scm/M)//in m/s
//applying conservation of energy principle
//change in stored internal energy
delta_Eint = -(1/2)*(M*vcm^2)//in J
printf ("\n\n Speed of center of mass vcm = \n\n %.2f m/s",vcm)
printf ("\n\n Change in stored internal energy delta_Eint = \n\n %.1f J",delta_Eint)
|
5d362ce94c3563d51ac8be961b4351177e288ce7
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/929/CH10/EX10.5/Example10_5.sce
|
df0e4290e91511b306eb90a24decb495c5b7f7bc
|
[] |
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
| 681
|
sce
|
Example10_5.sce
|
//Example 10.5
clear;
clc;
Vclamp=5;
VT=10;
VDon=0.7;
Vz5=Vclamp-(2*VDon);
Rrat=Vclamp/VT;
R1=20*10^3;
R2=R1*Rrat;
f0min=10;
f0max=10*10^3;
f0range=f0max/f0min;
Rpot=2.5*10^6;
Rs=Rpot/f0range;
Rmin=Rs;
C=(R2/R1)/(4*Rmin*f0max);
IRmax=Vclamp/Rmin;
IR2max=Vclamp/R2;
Ib=1*10^(-3);
Il=1*10^(-3);
Vsat=13;
IR3max=IRmax+IR2max+Ib+Il;
R3=(Vsat-Vclamp)/IR3max;
printf("Designed Basic Triangular/Square Wave Generator :");
printf("\nR=%.1f kohms",Rmin*10^(-3));
printf("\nR1=%.f kohms",R1*10^(-3));
printf("\nR2=%.f kohms",R2*10^(-3));
printf("\nR3=%.2f kohms",R3*10^(-3));
printf("\nC=%.f nF",C*10^9);
|
39b815f013717fcbecfeb8657107bbd10c2b57b9
|
f7e335e2af57c686554eb057f28ddd8d21aab1e4
|
/tests/fuzz/comment/0063.tst
|
9825ac378aed4d855b2677fef70adf51613be44c
|
[
"MIT"
] |
permissive
|
scravy/abnf
|
76515bd820b3b9d8e2dbc2cec2a2f845720a6022
|
cc4228f403b436cc4e34ff4d6a7def83922174be
|
refs/heads/master
| 2023-01-09T14:30:50.095268
| 2020-06-07T16:18:09
| 2020-06-07T16:18:09
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 9
|
tst
|
0063.tst
|
;8f9@[i
|
bdbbff7b90795c4a7ad70d168fc7496111de99e2
|
4bbc2bd7e905b75d38d36d8eefdf3e34ba805727
|
/ee/contrib/dspic/macros/misc/comp_form.sci
|
7fc3d573ed3dc2bdc44cfb8ee7111973a3a23c64
|
[] |
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
| 363
|
sci
|
comp_form.sci
|
function [Contr]=comp_form(A,B,C,D,Ts,K)
// Create the compact form of the Observer ABCD and the
// gain K,
//
// A,B,C,D: Observer matrices
// Ts: sampling time
// K: state feedback gains
Bu=B(:,1);
By=B(:,2:$);
Du=D(:,1);
Dy=D(:,2:$);
X=inv(1+K*Du);
Ac=A-Bu*X*K*C;
Bc=[Bu*X,By-Bu*X*K*Dy]
Cc=-X*K*C;
Dc=[X,-X*K*Dy]
Contr=syslin('d',Ac,Bc,Cc,Dc)
endfunction
|
266c03b5910e5fb6598ebacecd226ef8eb46f991
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3871/CH5/EX5.7/Ex5_7.sce
|
e2885ed6dfa6e91467d2726b5c76ced10d74d011
|
[] |
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
| 541
|
sce
|
Ex5_7.sce
|
//==========================================================================
//chapter 5 example 7
clc;clear all;
//variable declaration
R = 50; //resistance of the magnetic coil in Ω
Rt = 500; //resistance in Ω
L = 0.09; //inductance of the voltmeter in H
//calculations
r =Rt-R;
C = (L/(r^2)); //capacitance to be placed in u F
//result
mprintf("capacitance to be placed to make the instrument read correctly bot dc as well as ac = %3.3fe uF",(C*10^6));
|
88ce2a0b69e2966cabc785316aa72f227c0aef7b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3638/CH21/EX21.9/Ex21_9.sce
|
b4ffd2f6e4022a649ba36d63cc4979484cb71abd
|
[] |
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,028
|
sce
|
Ex21_9.sce
|
//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 21.9
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
//Since the peak reflectivity of fiber is 0.85,
R=0.85;//Reflection coefficient of fiber
L=1e-2;//Length of interaction in m
lambda0=1.55e-6;//Central wavelength in m
neff=1.46;//Corresponding value of effective index in LP01 mode
//Now, (tanh(k*L))^2=R
//Rearranging terms, we get:
k=atanh(sqrt(R))/L;//Corresponding coupling coefficient in m^(-1)
mprintf("\n k=%.3f m^(-1)",k);//The answer provided in the textbook is wrong
//Let A be the perturbation of length in m
A=lambda0/(2*neff);
mprintf("\n A=%.2f nm",A/1e-9);//Division by 10^(-9) to convert into nm
//The answers vary due to round off error
DeltaLambda=lambda0^2/(%pi*neff*L)*sqrt((k*L)^2+(%pi)^2);//Corresponding bandwidth in m
mprintf("\n DeltaLambda=%.2f nm",DeltaLambda/1e-9);//Division by 10^(-9) to convert into nm
//The answer provided in the textbook is wrong
|
02458343d714985a720c553ca95c1e76d4e8c2c7
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/browsable_source/1.1/Unix/scilab-1.1/macros/robust/leqr.sci
|
1549bd6a71eea9d3eb677ca3faa6a098420289e2
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] |
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
| 2,060
|
sci
|
leqr.sci
|
function [K,X,err]=leqr(P12,Vx)
//H-infinity lqr gain for full-state LQ problem
//(discrete or continuous)
// discrete continuous
// |I -Vx 0| | A 0 B| |I 0 0| | A Vx B |
// z|0 A' 0| - |-C'C I -S| s|0 I 0| - |-C'C -A' -S |
// |0 B' 0| | S' 0 D'D| |0 0 0| | S' -B' D'D|
if P12(1)<>'lss' then error('leqr: state-space only!');end
[A,B2,C1,D12]=P12(2:5);
[n,nu]=size(B2);
[ny,n]=size(C1);
select P12(7)
case [] then
error('leqr: time domain is not defined ( P(7)=''c'' or ''d'')')
// Continuous
case 'c' then
Z=0*A;i=eye(A);
Q=C1'*C1;R=D12'*D12;S=C1'*D12;Ri=pinv(R);
E=[i,z,zeros(B2);
z,i,zeros(B2);
zeros(nu,2*n+nu)];
Aa=[A,Vx,B2;
-Q,-A',-S;
S',b2',R];
[w,k]=gschur(Aa,e,'c');
if k<>n then warning('leqr: stable subspace too small!');...
k=[];w=[];err=[];return;end
ws=w(:,1:n);
x12=ws(1:n,:);
if rcond(x12)<1.d-6 then warning('leqr: bad conditioning!');...
k=[];w=[];return;end
phi12=ws(n+1:2*n,:);
u12=ws(2*n+1:2*n+nu,:);
K=u12/X12;
X=phi12/x12;
//pause;
err=norm((A-B2*Ri*S')'*X+X*(A-B2*Ri*S')-X*(B2*Ri*B2'-Vx)*X+Q-S*Ri*S',1)
//K=-Ri*(B2'*X+S')
// discrete
case 'd' then
I=eye(a);Z=0*i;
Q=C1'*C1;R=D12'*D12;S=C1'*D12;
e=[I,-Vx,zeros(B2);
Z,A',zeros(B2);
zeros(B2'),-B2',zeros(B2'*B2)];
aa=[A,Z,B2;
-Q,I, -S;
S', 0*B2', R];
[w,k]=gschur(aa,e,'d');
if k<>n then warning('leqr: stable subspace too small!');...
k=[];w=[];return;end
ws=w(:,1:n);
x12=ws(1:n,:);
if rcond(x12) <1.d-6 then warning('leqr: bad conditioning!');...
k=[];w=[];return;end
phi12=ws(n+1:2*n,:);
u12=ws(2*n+1:2*n+nu,:);
K=u12/X12;
X=phi12/x12;
if norm(x-x',1)>0.0001 then warning('leqr: X non symmetric!');...
k=[];w=[];return;end
//pause;
//A'*X*A-(A'*X*B2+C1'*D12)*pinv(B2'*X*B2+D12'*D12)*(B2'*X*A+D12'*C1)+C1'*C1
Abar=A-B2*Ri*S';
Qbar=Q-S*Ri*S';
err=norm(X-(Abar'*inv((inv(X)+B2*Ri*B2'-Vx))*Abar+Qbar),1);
//K=-Ri*(B2'*inv(inv(X)+B2*Ri*B2'-Vx)*Abar+S')
end
|
950a88f4efd253faf5f8cd3e28835e46c0009c87
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/964/CH25/EX25.14/25_14.sce
|
66b236d3700fac0a0ba733c41dc6c34a4d5608d7
|
[] |
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
| 171
|
sce
|
25_14.sce
|
clc;
clear;
function yp=f(x,y)
yp=10*exp(-(x-2)^2/(2*(0.075^2)))-0.6*y
endfunction
x=0:0.1:4
y0=0.5;
sol=ode(y0,0,x,f);
plot(x,sol)
xtitle("y vs x","x","y")
|
71f506190bb8a1154d4b8f8fb91706cde1df1e15
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2702/CH2/EX2.23/Ex_2_23.sce
|
27d199af6bc2f448c0555160007f9212958d0b2a
|
[] |
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
| 463
|
sce
|
Ex_2_23.sce
|
// Exa 2.23
clc;
clear;
close;
// Given data
I_D= 1;// in mA
I_D= I_D*10^-3;// in A
gm= 1;//in mA/V
gm= gm*10^-3;//in A/V
f_L= 10;// in Hz
R_S= 6;// in kΩ
R_S= R_S*10^3;// in Ω
R_D= 10;// in kΩ
R_D= R_D*10^3;// in Ω
vo_by_vi= -gm*R_D/(1+gm*R_S);// in V/V
disp(vo_by_vi,"Mid band gain in V/V is : ");
// Formula f_L= 1/(2*%pi*(1/gm || R_S)) * CS
CS= 1/(2*%pi*(1/gm*R_S/(1/gm+R_S))*f_L) ;//in F
disp(CS*10^6,"The value of Cs in µF is : ")
|
4640904b7e3e4067c873cbbe4c91c3b341090493
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3669/CH4/EX4.2/2.sce
|
37e770be645b5ff54c3988cdc56f9109a397f013
|
[] |
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
| 431
|
sce
|
2.sce
|
//Variable declaration
e=1.6*10**-19;
m=9.1*10**-31; //mass(kg)
h=6.626*10**-34; //planck's constant
lamda=1.66*10**-10; //wavelength(m)
//Calculation
v=h/(m*lamda); //velocity(m/s)
E=h**2/(2*m*e*lamda**2); //kinetic energy(eV)
//Result
printf('velocity is %0.3f *10**4 m/s \n',(v/10**4))
printf('answer varies due to approximating off errors\n')
printf('kinetic energy is %0.3f eV \n',(E))
|
e493b3e418e3e5eebbde84dcfba936a037bf0d03
|
c364a4a4362d5f4ba6c3b5af605b8938c1dafa8b
|
/订单数据修复/订单审批状态重推.tst
|
0df245cc463d961d66965d591e8156af91ce45c1
|
[] |
no_license
|
foliage11111/times-srm-sql
|
9a36a3320d930e37bf56fce8294da5a18cd98813
|
dd1abb497820a6b1a1f179cc1b523cc2f6eb59e1
|
refs/heads/master
| 2020-03-27T05:51:32.884905
| 2018-08-23T16:14:08
| 2018-08-23T16:14:08
| 146,057,767
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,721
|
tst
|
订单审批状态重推.tst
|
PL/SQL Developer Test script 3.0
56
Declare
--l_Po_Header_Id Number := &PO_header_id;
l_Authorization_Status Varchar2(50);
l_Return_Status Varchar2(50);
l_Exception_Msg Varchar2(2000);
l_Po_Header_Id Number ;
l_Po_segment Varchar2(50) := '2018001054';
Begin
Begin
Select nvl(t.Authorization_Status,'INCOMPLETE'), t.Po_Header_Id
Into l_Authorization_Status,l_Po_Header_Id
From Po_Headers_All t
Where t.segment1 = l_Po_segment;
Exception
When Others Then
l_Authorization_Status := Null;
End;
Dbms_Output.Put_Line('l_Authorization_Status:' || l_Authorization_Status);
If l_Authorization_Status <> 'APPROVED'
Then
-- Call the procedure
Po_Document_Action_Pvt.Do_Approve(p_Document_Id => l_Po_Header_Id
,p_Document_Type => 'PA'
,p_Document_Subtype => 'BLANKET'
,p_Note => l_Po_Header_Id || ' Approved'
,p_Approval_Path_Id => 1
,x_Return_Status => l_Return_Status
,x_Exception_Msg => l_Exception_Msg);
--Dbms_Output.Put_Line('l_Return_Status:' || l_Return_Status);
If l_Return_Status <> 'S'
Then
Dbms_Output.Put_Line('Error Status = ' || l_Return_Status ||
',l_exception_msg:' || l_Exception_Msg);
End If;
If l_Return_Status = 'S'
then
Dbms_Output.Put_Line('l_Authorization_Status : S ' || l_Po_segment);
end if;
End If;
End;
0
0
|
559118aa7529f5da06651b54e6330e07b56120c4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/620/CH9/EX9.6/example9_6.sce
|
2b0b550d842a59e7077cf17e3b48476b239eb509
|
[] |
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
| 842
|
sce
|
example9_6.sce
|
c=2;
v=1.5;
r=0.1;
i=0.1;
disp("Part a");
vt1=6*v;
disp("the terminal voltage (in V) is"); disp(vt1);
disp("the current capabilty (in A) is"); disp(i);
r1=6*r;
disp("the internal resistance (in Ω) is"); disp(r1);
disp("the ampere-hour capacity is"); disp(c);
disp("Part b");
disp("the termnal voltage (in V) is"); disp(v);
i2=6*i;
disp("the current capability (in A) is"); disp(i2);
r2=r/6;
disp("the internal resistance (in Ω) is"); disp(r2);
c2=6*c;
disp("the ampere-hour capacity is"); disp(c2);
disp("Part c");
vt3=3*v;
disp("the terminal voltage (in V) is"); disp(vt3);
i3=2*i;
disp("the current capability (in A) is"); disp(i3);
r3=3*r/2;
disp("the internal resistance (in Ω) is"); disp(r3);
c3=i*20*c;...............//each parallel can deliver 0.1 A for 20 h
disp("the ampere-hour capacity is"); disp(c3);
|
b924dc4a4ac54a792a9882cb289d30e843af2f2a
|
a62e0da056102916ac0fe63d8475e3c4114f86b1
|
/set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH7/EX7.11/ex7_11.sce
|
2b14ca62346bdd9dd85df2da424f8e578e8ed68a
|
[] |
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
| 158
|
sce
|
ex7_11.sce
|
errcatch(-1,"stop");mode(2);//Example 7.11, page no-442
i1=250
i2=350
m=(i2-i1)*100/i1
printf("%% increase in moisture content = %d%%",m)
exit();
|
fe2e1350af52a993440995caae860dca12d0d043
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2063/CH8/EX8.3/8_3.sce
|
5f6f00c7410d1c3a9a49053795e1bd55fd565ca0
|
[] |
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,295
|
sce
|
8_3.sce
|
clc
clear
//Input data
P1=12;//Inlet pressure of steam nozzle in bar
T1=250;//Inlet temperature of steam nozzle in degrees celcius
P2=2;//Final pressure of the steam nozzle in bar
n=1.3;//Polytropic constant for superheated steam
St=6.831;//For isentropic expansion, entropy remains constant in kJ/kg
h1=2935.4//Enthalpy of steam at P1 from steam table in kJ/kg
ht=2860;//Enthalpy of steam at pt in kJ/kg
vt=0.325;//Specific volume of steam at the throat conditions in m^3/kg
m=0.2;//Mass of steam discharged through the nozzle in kg/hour
q=0.947;//The dryness fraction of steam at exit from steam tables
hg=2589.6;//Enthalpy of steam at exit in kJ/kg
vs=0.8854;//Specific volume of saturated steam in m^3/kg
//Calculations
pt=(P2/(n+1))^(n/(n-1))*P1;//Critical pressure ratio i.e.,Throat pressure in bar
Vt=(2*1000*(h1-ht))^(0.5);//Velocity of steam at throat in m/s
At=((m*vt)/Vt)*10^4;//Area of the throat in cm^2 from continuity equation
ve=q*vs;//Specific volume of steam at exit in m^3/kg
Ve=(2*1000*(h1-hg))^(0.5);//Velocity of steam at nozzle exit in m/s
Ae=((m*ve)/Ve)*10^4;//Exit area in cm^2
//Output
printf('(a)Throat area of steam nozzle is %3.3f cm^2\n (b)Exit area of steam nozzle is %3.3f cm^2\n (c)Exit velocity of the nozzle is %3.1f m/s',At,Ae,Ve)
|
a6a3f26fc6d74d68cafa1e25133f030a16c79ab1
|
4d05c7f7559264f205dc6abda9e49aca7d7057ac
|
/Nand2Tetris/11_compiler_II/test2/test2.tst
|
df30ed4cbd36ac487eef5f83fa564e05a380d9be
|
[] |
no_license
|
daniellevin233/Python_projects
|
22cc1a4a194d0b5253d06f9596d21f07bc5e44fb
|
7f9eba191d0ad656b0b55421f2054efa2a1177cf
|
refs/heads/master
| 2023-01-14T05:29:33.591746
| 2020-11-20T13:36:40
| 2020-11-20T13:36:40
| 298,377,620
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 188
|
tst
|
test2.tst
|
load,
output-file test2.out,
compare-to test2.cmp,
output-list RAM[5002]%D1.6.1 RAM[5004]%D1.6.1 RAM[5006]%D1.6.1 RAM[5008]%D1.6.1 RAM[5010]%D1.6.1;
repeat 1000000 {
vmstep;
}
output;
|
b0a89e02d2b193f549627e85f82821bd59471489
|
178822612bcd418dc12ba7a649304a24ab618d60
|
/Numerical Analysis/El Hadji NGOM projet Scilab(Amélioré)/Projet 1 Méthodes directes et iteratives/Jacobi.sci
|
992d8454e99da8a80764c081ec51d1d69cad03fe
|
[] |
no_license
|
engom/Math_Problem_Solving
|
b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3
|
6538c476681ae4ee803ea9b3a8944c5f370e1961
|
refs/heads/master
| 2022-05-25T01:13:16.123161
| 2016-02-13T11:32:28
| 2016-02-13T11:32:28
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 472
|
sci
|
Jacobi.sci
|
A = [1 2 -2;1 1 1;2 2 1]
b = [1;-2;3]
tol = 10^-8
x0=zeros(b)
iterMax = 100
function[x,iter]=Jacobi(A,b,tol,iterMax,x0)
n=size(A,'c')
r=norm(A*x0-b)
iter=0
while (r>tol & iter<iterMax)
iter=iter+1
x=x0
for i=1:n
s=0
for j=1:n-1
s=s+A(i,j)*x(j)
end
for j=i+1:n
s=s+A(i,j)*x(j)
end
x(i)=(b(i)-s)/A(i,i)
end
end
endfunction
|
cb6bdce765736f0cfea7cdafdc80aabfcab30165
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/25/CH7/EX7.9/7_9.sce
|
42b0db143d1612673258ab62e6a7d40e52a59333
|
[] |
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
| 586
|
sce
|
7_9.sce
|
// example:-7.9,page no.-376.
// program to derive an expression for the change in resonant frequency.
syms Ey Hx Hz A Zte n a pi x z d j eo c wo w b l ro;
Ey=A*sin((pi*x)/a)*sin((pi*z)/d);
Hx=((-j*A)/Zte)*sin((pi*x)/a)*cos((pi*z)/d);
Hz=((j*pi*A)/(k*n*a))*cos((pi*x)/a)*sin((pi*z)/d);
Ey=A;// at x=a/2,y,z=d/2;
Hx=0;// at x=a/2,y,z=d/2;
Hz=0;// at x=a/2,y,z=d/2;
//where w is perturbed resonant frequency and wo is unperturbed resonant frequency.
w=-eo*A^2*pi*l*ro^2;
wo=(a*b*eo*d*A^2)/2;
deltaw=(w-wo)/wo;
disp(deltaw,'the perturbation in resonant frequency w.r.t wo = ')
|
cf4dbdb9b5644a8cf1b390be3f3604ae83ac238a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3768/CH9/EX9.15/Ex9_15.sce
|
eaa113d5f4efe0beafbafd711895341252158c1a
|
[] |
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
| 528
|
sce
|
Ex9_15.sce
|
//Example number 9.15, Page number 209
clc;clear;
close;
//Variable declaration
I=3*10**-3; //current(A)
RH=3.66*10**-4; //hall coefficient(m**3/C)
e=1.6*10**-19; //charge(c)
d=2*10**-2;
z=1*10**-3;
B=1; //magnetic field(wb/m**2)
//Calculation
w=d*z; //width(m**2)
A=w; //area(m**2)
EH=RH*I*B/A;
VH=EH*d*10**3; //hall voltage(mV)
n=1/(RH*e); //charge carrier concentration(per m**3)
//Result
printf("hall voltage is %.1f mH",VH)
printf("\n charge carrier concentration is %.2e per m^3",n)
|
fd1c3993b30e19a535bb0d2fc5f4eddf9b141564
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1088/CH23/EX23.2/Example2.sce
|
27a705be58cff86ea87be69070d13e9991868ab4
|
[] |
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,262
|
sce
|
Example2.sce
|
clear
flag=1
mode(-1)
clc
printf("Example 2 : Show the method of reversing a file using lseek \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs are part of systems programming in Unix and the commands have NO EQUIVALENT IN SCILAB")
halt(' ')
disp('2.However if possible some selected programmes have been TRIED TO BE IMPLEMENTED')
halt("")
disp('3.For most of the programmes whose equivalent is NOT THERE IN SCILAB,only the output has been printed as given in the textbook with no interactive input as in the programme below')
halt("")
disp("4.However the .c files which are displayed here are also made into a seperate file.If you are a unix user then try compiling and running the programme with gcc or cc compiler")
disp("5.The inconvenience is regretted.")
halt('.............Press [ENTER] to continue.....')
halt("")
clc
printf("\tUNIX SHELL SIMULATOR(DEMO VERSION WITH PRELOADED COMMANDS)\n\n\n")
i=0
i=i+1;f(i)='/* Program: reverse_read.c -- Reads a file in reverse - uses lseek */'
i=i+1;f(i)=''
i=i+1;f(i)='#include <fcntl.h> /* For O_RONLY */'
i=i+1;f(i)='#include <unistd.h> /* For STDOUT_FILENO */'
i=i+1;f(i)=''
i=i+1;f(i)='int main(int argc, char **argv) {'
i=i+1;f(i)=' char buf; /* Single-character buffer; will make */'
i=i+1;f(i)=' int size, fd; /* I/O inefficient. See Section 23.4 */'
i=i+1;f(i)=' '
i=i+1;f(i)=' fd= open(argv[1], O_RDONLY);'
i=i+1;f(i)=' size = lseek(fd, -1, SEEK_END); /* Pointer taken to EOF - 1 ... */'
i=i+1;f(i)=' while (size-- >= 0) { /* ... so siz = file size - 1 */'
i=i+1;f(i)=' read(fd, &buf, 1); /* Read one character at a time */'
i=i+1;f(i)=' write(STD_FILENO, &buf, 1); /* and write it immediately */'
i=i+1;f(i)=' lseek(fd, -2, SEEK_CUR); /* Now move the file pointer back */'
i=i+1;f(i)=' } /* by two characters */'
i=i+1;f(i)=' /* exit(0); */ /* done deliberately */'
i=i+1;f(i)='}'
n=i
printf("\n\n$ cat reverse_read.c # to open the file emp.lst")
halt(' ')
u=mopen('reverse_read.c','wt')
for i=1:n
mfprintf(u,"%s\n",f(i))
printf("%s\n",f(i))
end
mclose(u)
halt('')
clc
printf("\n$ ls \n")
halt(' ')
mode(0)
ls
mode(-1)
nam=input("# Please enter a file from the above list : ",'s')
printf("\n$ cat %s ",nam)
halt(' ')
v=mopen(nam,"rt")
while ~meof(v)
[n,a]=mfscanf(v,"%c");
if meof(v) break
end
printf("%c",a)
end
mclose(v)
halt("")
printf("\n$ cc reverse_read.c")
halt("")
printf("$ a.out %s \n......a blank line... The terminating \\n of the last line",nam)
halt("")
v=mopen(nam,"rt")
mseek(-1,v,'end')
siz=mtell(v)
siz=siz-1
while siz~=-1
[n,a]=mfscanf(v,"%c");
printf("%c",a)
mseek(siz,v)
siz=siz-1
end
mseek(0,v)
[n,a]=mfscanf(v,"%c");
printf("%c",a)
mclose(v)
halt(' ')
printf("\n\n\n$ exit #To exit the current simulation terminal and return to Scilab console\n\n")
halt("........# (hit [ENTER] for result)")
//clc()
printf("\n\n\t\t\tBACK TO SCILAB CONSOLE...\nLoading initial environment')
sleep(1000)
|
4ed98f1f35732adbc43e7dd02e9e41b2736dd672
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/72/CH5/EX5.2.2/5_2_2.sce
|
95557fad0e0efdd3e29fd87738031c63ddf830bb
|
[] |
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,594
|
sce
|
5_2_2.sce
|
//CHAPTER NO.-5
//Example No.5-2-2 , Page No.-215
//(a) Program_to_compute_the_built-in voltage_in_the p-GaAs_side
Na=6*(10^16); //Acceptor_density_in_p-GaAs_side
w02=-26*(10^-3)*log(Na/(1.8*(10^6)));
disp(w02,'the_built-in_voltage(in V) in_the p-GaAs_side');
//(b) Program_to_compute_the_hole_mobility
disp('The hole mobility is read from Fig -A-2 in Appendix A as up=400(cm2/v.s)');
up=400;
//(c) Program_to_compute_the_hole_diffusion_constant
Dp=up*26*(10^-3);
disp(Dp,'The_hole_diffusion_constant_is Dp(cm2/s)=');
//(d) Program_to_compute_the_minority_hole_density in n-Ge
ni=1.5*(10^10);
Nd=5*(10^18);//Donor_density_in_n-Ge_region
pno=(ni^2)/Nd;
disp(pno,'the_minority_hole density (cm-3)in_n-Ge_is =');
//(e) Program_to_compute_the_minority_electron_density_in_p-GaAs_region
Na=6*(10^16);
npo=((1.8*10^6)^2)/Na;
disp(npo,'the_minority_electron_density(in cm-3)_in_p-GaAs_region_is =');
//(e) Program_to_compute_the_hole_diffusion_length
tp=6*(10^-6);//hole_lifetime
Lp=sqrt(tp*Dp);
disp(Lp,'the_hole_diffusion_length(in cm) is =');
//(e) Program_to_compute_the_emitter-junction_current
A=2*(10^-2);//cross_section
VE=1;//bias_voltage_at_emitter_junction
q=1.6*(10^-19);
l=VE/(26*(10^-3));
I=(A*q*Dp*pno*(exp(l)-1))/(Lp);
disp(I,'the_emitter-junction_current(in A)is =');
|
3c91162c1cfb5cdfa32731185268e848caf589b5
|
0921fa47b8952581116ff38b7fd5f91e633e3726
|
/Modelisation_Et_Architecture/Architecture/TP1/fulladder.tst
|
e1e0812c3fdff804515c755b42ab0a6e5d48f8f9
|
[] |
no_license
|
Noa-Cazes/1A
|
cbc8cb5f5a37ee96eabe3e088ad3e654fdd7b61b
|
35091072651d2760b6fb35a2d81b947cd42d9161
|
refs/heads/master
| 2023-02-12T06:07:51.275766
| 2021-01-06T21:01:37
| 2021-01-06T21:01:37
| 327,429,868
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 622
|
tst
|
fulladder.tst
|
// 0 + 0 + 0 -> 0, 0
set a 0
set b 0
set cin 0
check s 0
check cout 0
// 0 + 0 + 1 -> 1, 0
set a 0
set b 0
set cin 1
check s 1
check cout 0
// 0 + 1 + 0 -> 1, 0
set a 0
set b 1
set cin 0
check s 1
check cout 0
// 0 + 1 + 1 -> 0, 1
set a 0
set b 1
set cin 1
check s 0
check cout 1
// 1 + 0 + 0 -> 1, 0
set a 1
set b 0
set cin 0
check s 1
check cout 0
// 1 + 0 + 1 -> 0, 1
set a 1
set b 0
set cin 1
check s 0
check cout 1
// 1 + 1 + 0 -> 0, 1
set a 1
set b 1
set cin 0
check s 0
check cout 1
// 1 + 1 + 1 -> 1, 1
set a 1
set b 1
set cin 1
check s 1
check cout 1
|
963e4579c4bc3a4376c614030c7e587de4c4efe6
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3869/CH1/EX1.54/Ex1_54.sce
|
373e556a09e3661295d3febe262b8045ad722ecd
|
[] |
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
| 362
|
sce
|
Ex1_54.sce
|
clear
//
//
//
//Variable declaration
R=70 //radius of curvature of lens(cm)
n=10
Dn=0.433 //diameter of 10th dark ring(cm)
//Calculation
lamda=Dn**2/(4*R*n) //wavelength of light(cm)
//Result
printf("\n wavelength of light is %0.3f *10**-5 cm",lamda*10**5)
printf("\n answer given in the book varies due to rounding off errors")
|
6530e8a3144e26206cbca9cbbd3eb9cccd7145d2
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/ltitr.man.tst
|
4cf7444b0d6b1334dbbcb03ae356f383b8511e3b
|
[
"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
| 133
|
tst
|
ltitr.man.tst
|
clear;lines(0);
A=eye(2,2);B=[1;1];
x0=[-1;-2];
u=[1,2,3,4,5];
x=ltitr(A,B,u,x0)
x1=A*x0+B*u(1)
x2=A*x1+B*u(2)
x3=A*x2+B*u(3) //....
|
8f006d5460bac2bf464eb8a0065df940d8d32567
|
9b3a82b71b55170a9d272048e2f4dc6858ff106c
|
/control-system/response_stability.sce
|
3052072802caea722365897435b8928f3e365155
|
[] |
no_license
|
omrastogi/Digital-Signal-Processing
|
afcee58a1decbd9949e0bfcda47b62bbf19c935f
|
68b4f85ec5b9dbf7840a0857ee388f9d660bbb2e
|
refs/heads/main
| 2023-01-03T13:54:45.554127
| 2020-11-02T05:40:13
| 2020-11-02T05:40:13
| 309,267,769
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 224
|
sce
|
response_stability.sce
|
clc;
clf;
clear all;
t=0:0.01:5;
s1=exp(-t);
s2=exp(t);
subplot(2,1,1);
plot(s1);
xlabel("time");
ylabel("amplitude");
title("plot by Om");
subplot(2,1,2);
plot(s2);
xlabel("time");
ylabel("amplitude");
title("plot by Om");
|
e148086262867520f09e44afe5da240a31fd058e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/291/CH10/EX10.3c/eg10_3c.sce
|
1252a81251cfc229c033231fa99da119742d664f
|
[] |
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
| 851
|
sce
|
eg10_3c.sce
|
Xij = [3.2 3.4 3.3 3.5; 3.4 3.0 3.7 3.3; 2.8 2.6 3.0 2.7];
Xi = zeros(3,1);
n= 4;
m=3;
for i=1:3
for j=1:4
Xi(i)= Xi(i) + Xij(i,j);
end
end
Xi = Xi/n;
SSW= 0;
for i=1:3
for j= 1:4
SSW = SSW + ((Xij(i,j)-Xi(i))^2)
end
end
sigma1 = SSW/((n*m)-m);
Xdotdot = sum(Xi)/m;
new = (Xi - Xdotdot)^2;
SSb= n*sum(new);
sigma2 = SSb/(m-1);
TS = sigma2/sigma1;
//disp(sigma1);
//disp(sigma2);
disp(TS, "Value of the test statistic is");
pvalue = 1 - cdff("PQ", TS,m-1, ((n*m)-m) );
disp(pvalue, "The p-value is")
C = 3.95; //from table A5
W = C*sqrt(SSW/(9*4));
disp(W);
disp(Xi(1)-Xi(2)+W ,"and ", Xi(1)-Xi(2)-W, "Mean1 - Mean2 lies between " );
disp(Xi(1)-Xi(3)+W ,"and ", Xi(1)-Xi(3)-W, "Mean1 - Mean3 lies between " );
disp(Xi(2)-Xi(3)+W ,"and ", Xi(2)-Xi(3)-W, "Mean2 - Mean3 lies between " );
|
ec1bea3981b56054ea4b31977968d668ff383668
|
fd4b1f9f2f7fc4cac772482125a749e51c444ca1
|
/Metodos de aproximacion de raices.sci
|
392100ed998d45dbc3900bc2bd3719fe37ea2302
|
[] |
no_license
|
barufa/Metodos_Numericos
|
db0cb98dbf81654ec14f73cb34b84ba7c98ac52a
|
012d08e8de6e971a38a32c9768f463ca58a07839
|
refs/heads/master
| 2020-03-15T22:49:33.054047
| 2018-09-03T13:18:24
| 2018-09-03T13:18:24
| 132,380,939
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,563
|
sci
|
Metodos de aproximacion de raices.sci
|
function y = biseccion(ff,a,b,d,e,m)
deff("y=f(x)","y="+ff)
m=m-1
if f(a)*f(b) < 0 then
c = (b+a)/2
if (b-a)<d | abs(f(c)) < e | m <= 0 | f(c) == 0 then
y = c
else
if f(a)*f(c) < 0 then
y = biseccion(ff,a,c,d,e,m-1)
else
y = biseccion(ff,c,b,d,e,m-1)
end
end
else
y = "No es posible ejecutar sobre el intervalo dado"
end
endfunction
function [r1,r2] = newton(ff,x,d,e,m)
deff("y=f(x)","y="+ff)
deff("y=Df(x)","y=(numderivative(f,x))")
a = x
s = 0
n = 0
while n < m & abs(f(a)) > e & abs(a-s) > d
s = a
a = a - (f(a)/Df(a))
n = n + 1
end
r1 = a
r2 = n
endfunction
function [r1,r2] = secante(ff,x0,x1,d,e,m)
deff("y=f(x)","y="+ff)
deff("y=Df(x)","y=(numderivative(f,x))")
a=x1-f(x1)*(x0-x1)/(f(x0)-f(x1))
a0=x1
a1=a
n=1
while n < m & abs(f(a)) > e & abs(a0-a1) > d
a=a1-f(a1)*(a0-a1)/(f(a0)-f(a1))
a0=a1
a1=a
n=n+1
end
r1 = a
r2 = n
endfunction
function y = g(x)
f1 = x(1)^2 + x(2)^2 - 1
f2 = x(1) - x(2)
y = [f1; f2]
endfunction
function y = newton_no_lineal(a,d,e,m)
n=0
while n < m
a = a - (numderivative(g, a))^(-1)*g(a)
n = n + 1
end
y = a
endfunction
function y = puntofijo(ff,x,e,m)
deff("y=f(x)","y="+ff)
n = 0
a = x
while n < m & abs(f(a)-a) > e do
a = f(a)
n = n + 1
end
y = a
endfunction
|
845f8e762e130888ed54751d3ad618ea65325d5c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3733/CH34/EX34.33/Ex34_33.sce
|
16b7aad84744e060e41ad74b4c8ef052195aad0d
|
[] |
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
| 917
|
sce
|
Ex34_33.sce
|
// Example 34_33
clc;funcprot(0);
//Given data
P=210*10^3;// kW
CC=10000;// Rs./kW
//Calculation
CC=CC*P;// Capital cost of the plant in rupees
//(a)When the plant is operating at full load
F_l=1;// Load factor
Fc=CC*(13/100);// Fixed cost in rupees
Vc=Fc*1.3;// Variable cost in rupees
Tc=Fc+Vc;// Total cost in rupees
E_t=(P*F_l*8760);//Total units generated per year in kWh
Gc_1=(Tc/E_t)*100;// Generating cost in paise/kWh
//(b)When the plant is running at 50% load
F_l=50/100;
E_t=E_t*F_l;// Total units generated per year in kWh
Vc=Vc/2;// Variable cost in rupees
Tc=Fc+Vc;// Total operating cost in rupees
Gc_2=(Tc/E_t)*100;// Generating cost in paise/kWh
printf('\n(a)Generating cost when the plant is operating at full load=%0.1f paise/kWh \n(b)Generating cost when the plant is operating at 50 percentage load=%0.0f paise/kWh',Gc_1,Gc_2);
// The answer vary due to round off error
|
7e64744a039b7ee5c0161e26db6771685169f1e4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2216/CH3/EX3.3/ex_3_3.sce
|
c19dc2231f01bfb78e82ea4289d6d1e4fde367e9
|
[] |
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,163
|
sce
|
ex_3_3.sce
|
//Example 3.3 // no. of modes
clc;
clear;
close;
format('v',10)
disp("part (a)")
n1=1.5;//core refractive index
n2=1.48;//cladding refrative index
t=10.11;//thickness of guided layer in micro meter
h=1.55;//wavelength in µm
b1=((2*%pi*n1)/(h*10^-6));//phase propagation constant in m^-1
b2=((2*%pi*n2)/(h*10^-6));//phase propagation constant in m^-1
m=((2*%pi*t)/h)*(sqrt(n1^2-n2^2));//number of modes
disp(round(m/2),"number of modes are")
disp("part (b)")
n1=1.5;//core refractive index
n2=1.48;//cladding refrative index
t1=10.11;//thickness of guided layer in micro meter
t=t1/2;
h=1.55;//wavelength in µm
b1=((2*%pi*n1)/(h*10^-6));//phase propagation constant in m^-1
b2=((2*%pi*n2)/(h*10^-6));//phase propagation constant in m^-1
mo=(((2*%pi*t1)/h)*(sqrt(n1^2-n2^2)))/2;//number of modes
uma0=1.30644;// for m=0 from the curve
uma1=2.59574;// for m=1 from the curve
uma2=3.83747;// for m=2 from the curve
uma3=4.9063;// for m=3 from the curve
wma0=4.8263;// for m=0 from the curve
wma1=4.27342;// for m=1 from the curve
wma2=3.20529;// for m=2 from the curve
wma3=0.963466;// for m=3 from the curve
um0=uma0/(t*10^-6);//in m^-1
um1=uma1/(t*10^-6);//in m^-1
um2=uma2/(t*10^-6);//in m^-1
um3=uma3/(t*10^-6);//in m^-1
wm0=wma0/(t*10^-6);//in m^-1
wm1=wma1/(t*10^-6);//in m^-1
wm2=wma2/(t*10^-6);//in m^-1
wm3=wma3/(t*10^-6);//in m^-1
bm0=((wm0*t*10^-6)/mo)^2;//for m=0
bm1=((wm1*t*10^-6)/mo)^2;//for m=1
bm2=((wm2*t*10^-6)/mo)^2;//for m=2
bm3=((wm3*t*10^-6)/mo)^2;//for m=3
m0=sqrt((bm0*(b1^2-b2^2))+b2^2);//for m=0 in m^-1
m1=sqrt((bm1*(b1^2-b2^2))+b2^2);//for m=1 in m^-1
m2=sqrt((bm2*(b1^2-b2^2))+b2^2);//for m=2 in m^-1
m3=sqrt((bm3*(b1^2-b2^2))+b2^2);//for m=3 in m^-1
params = [" " "m" "um[m^-1]" "wm[m^-1]" "bm" ];
m = ["0" "1" "2" "3"]';
um = ["um0" "um1" "um2" "um3"]';
wm = string([22.41 11.77 33.41 4.24]');
bm = string([26 19 22 17]');
params = ["m" "um[m^-1]" "wm[m^-1]" "bm" "ßm[m^-1]" ];
city=string([0 1 2 3]');
towns = string([um0 um1 um2 um3]');
country = string([wm0 wm1 wm2 wm3]');
pop = string([bm0 bm1 bm2 bm3]');
temp = string([m0 m1 m2 m3]');
table = [params; [ city towns country pop temp ]]
disp(table ,"constants are :")
|
335d59dd316e5e499619a035ecbe2d7264c144f5
|
899cecef18712265c22e100bf72286df1ec5fb65
|
/Asgn3/Q4.sce
|
d8dfab7a1e7916cff3b024b813cd027a81f37fad
|
[] |
no_license
|
ajaykumarkannan/Speech-Signal-Processing-and-Coding
|
449679bef8bdf0215e96521163774f88d8a6b41e
|
c1d371b2866239a89312a0f64db3d61cc0b1011c
|
refs/heads/master
| 2020-05-17T17:02:33.143586
| 2012-11-15T12:48:40
| 2012-11-15T12:48:40
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,822
|
sce
|
Q4.sce
|
clear;
[y, Fs, bits] = wavread('Sound4.wav');
y = y(1,:); // Had recorded in stereo - Converting to mono
y = y./(abs(max(y))); // Normalizing the signal
N = Fs * 40 /1000; // 30ms block size
shift = Fs * 10 /1000;; // 10ms shift
ceps = zeros(N, (length(y)-N)/shift);
cepsl = zeros(N, (length(y)-N)/shift);
Y = zeros(N, (length(y)-N)/shift);
Ynew = zeros(N, (length(y)-N)/shift);
loc = zeros(1, (length(y)-N)/shift);
f = Fs* (1:N) / N;
si = size(ceps);
ed = si(1);
mid = si(1) / 2;
UF = 250; // Setting 250 Hz as upper frequency bound
thres = 20;
lp = Fs / (UF+20);
for i = 1:shift:(length(y)-N)
temp = y(i:(i+N-1));
Y(:,ceil(i/shift)) = log(abs(fft(temp)))';
ceps(:,ceil(i/shift)) = ifft(Y(:,ceil(i/shift)));
cepsl(:,ceil(i/shift)) = ceps(:,ceil(i/shift));
subplot(2,1,1);
plot(cepsl(:,ceil(i/shift)));
cepsl(1:lp,ceil(i/shift)) = 0;
cepsl((ed-lp):ed+1,ceil(i/shift)) = 0;
subplot(2,1,2);
plot(cepsl(:,ceil(i/shift)));
sleep(4000);
Ynew(:,ceil(i/shift)) = fft(cepsl(:,ceil(i/shift)));
[pt loc(ceil(i/shift))] = max(real(cepsl(:,ceil(i/shift))));
end
point = ceil(si(2)/2);
//scf();
//subplot(2,2,1);
//plot(fftshift(ceps(:,point)));
//title('Cepstral Coefficients');
//my = get("current_axes");
//// High time lifering
//subplot(2,2,2);
//plot(fftshift(cepsl(:,point)));
//title('Cepstral Coefficients after Low Time Lifering');
//
//f = Fs* ((1-N/2):N/2) / N;
//subplot(2,2,3);
//plot(f, abs(fftshift(Y(:,1))));
//title('Log Magnitude Spectrum of signal');
//a = get("current_axes");
//temp = Y(:,1);
//a.data_bounds = [0,min(abs(temp));max(f), max(abs(temp))];
//subplot(2,2,4);
//plot(f, abs(fftshift(Ynew(:,1))));
//title('Log Magnitude Spectrum after lifering');
//b = get("current_axes");
//temp = Ynew(:,1);
//b.data_bounds = [0,min(abs(temp));max(f), max(abs(temp))];
scf();
loc = Fs./loc;
//subplot(2,1,1);
plot(loc,'.');
c = get("current_axes");
c.data_bounds = [1,50;length(loc), UF];
c.tight_limits = "on";
title('Pitch Estimate by high time lifering');
xlabel('Frame Number');
ylabel('Frequency in Hz');
//// Averaging
//filsize = 19; // Use odd number here
//rem = (filsize - 1) / 2;
//subplot(2,1,2);
//title('Filtered Pitch');
//j = convol(loc, ones(filsize,1)) / filsize;
//j(1:rem) = [];
//j(length(loc(1,:)):length(j)) = [];
//plot(j);
//d = get("current_axes");
//d.data_bounds = [1,50;length(loc), UF];
//d.tight_limits = "on";
//ylabel('Frequency in Hz');
//xlabel('Frame Number');
//
//exec('median_filter.sci');
//// Median Filtering
//subplot(2,1,2);
//title('Filtered Pitch');
//j = median_filter(loc,40);
//plot(j,'r');
//d = get("current_axes");
//d.data_bounds = [1,50;length(loc), UF];
//d.tight_limits = "on";
//ylabel('Frequency in Hz');
//xlabel('Frame Number');
|
802d81e201d83535fde8b4adde9923bd50bb1b4e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1427/CH25/EX25.23/25_23.sce
|
1b2a5a25fa2537efb8ae96e745c5a887a1772edb
|
[] |
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
| 440
|
sce
|
25_23.sce
|
//ques-25.23
//Calculating volume occupied by ideal gas equation and compressibility factor
clc
Z=0.2007;//compressibility factor
T=273;//temperature (in K)
P=101.325*10^5;//pressure (in N/m^2)
n=0.1;//moles of CO2
//Ideal Gas equation
V1=(n*8.314*T)/P;
//Compressibility factor
V2=(Z*n*8.314*T)/P;
printf("The volume calculated using ideal gas equation is %.04f L and using compressibility factor is %.4f L.",V1*1000,V2*1000);
|
96180fe75e0cae00e8d1a4bb806feffea2364c28
|
b829a470efb851fdd8700559c2092711adaa42e0
|
/Data/OVI-CV-03-Facenet/CV-Groups/cv-group-114528472704/OVI-Test/cv-group-114528472704-run-04.tst
|
53a9f71f4f67e23bff0a78415096f669e5b2b333
|
[] |
no_license
|
achbogga/FaceRecognition
|
6f9d50bd1f32f2eb7f23c7ae56f9e7b225d32325
|
165ebc7658228d2cceaee4619e129e248665c49a
|
refs/heads/master
| 2021-07-04T21:47:57.252016
| 2017-08-01T18:53:12
| 2017-08-01T18:53:12
| 96,568,452
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 512
|
tst
|
cv-group-114528472704-run-04.tst
|
Huiping\Huiping_013.jpg
Huiping\Huiping_015.jpg
Don\Don_012.jpg
Don\Don_002.jpg
Shirley\Shirley_009.jpg
Shirley\Shirley_003.jpg
Ahmad\Ahmad_011.jpg
Ahmad\Ahmad_012.jpg
Sima\Sima_009.jpg
Sima\Sima_011.jpg
SungChun\SungChun_010.jpg
SungChun\SungChun_017.jpg
Kiran\Kiran_012.jpg
Kiran\Kiran_016.jpg
Allison\Allison_011.jpg
Allison\Allison_013.jpg
Amit\Amit_010.jpg
Amit\Amit_004.jpg
Gang\Gang_015.jpg
Gang\Gang_009.jpg
Ethan\Ethan_005.jpg
Ethan\Ethan_004.jpg
Rob\Rob_010.jpg
Rob\Rob_008.jpg
|
571f3adafc3ffbc942ba75421bc45f64acfd6091
|
8af93c9baa863fc851f1cef5b756230e59303aec
|
/Ex_9_8.sce
|
92c91c132a5281925cee1a62f5b444384d9d91a5
|
[
"MIT"
] |
permissive
|
nikita9604/Page-Replacement-Algorithms
|
9ad7e95de7cfbcdf4876d89516dcdab47d1c0a35
|
eff739b749ddcdac9dd8181d96861f196beac3d4
|
refs/heads/main
| 2023-01-19T00:48:05.525482
| 2020-12-01T08:25:45
| 2020-12-01T08:25:45
| 317,469,859
| 1
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 546
|
sce
|
Ex_9_8.sce
|
//This Source file is written by Nikita Rath (18BLC1131)
clear;
exec("F:\APP MAIN\Scilab\Ex_9_8_lru.sci")
exec("F:\APP MAIN\Scilab\Ex_9_8_fifo.sci")
exec("F:\APP MAIN\Scilab\Ex_9_8_optimal.sci")
clc;
//MAIN: (Given Conditions)
printf("\n Given Page Reference String :\n \t")
n = 20
a = [1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6]
for i = 1:n
printf("%d ",a(i))
end
printf("\n\n 1) LRU replacement :\n\n")
lru(a,n)
printf("\n 2) FIFO replacement :\n\n")
fifo(a,n)
printf("\n 3) Optimal replacement :\n\n")
op(a,n)
|
32ff24f30b070f2dff1ddfc63498e5c8b77de116
|
fbd17575bab2ee4dc49cc7d13b5b94d24ab9482c
|
/TP5/test.sci
|
3c6ddb1e41a5fec607782f81640747ccdad8b27f
|
[] |
no_license
|
1saac-W/MT09-Analyse-Num-rique
|
05b509981dfa00e3b7b550716b1487cbbf0a3fed
|
0853f8053254f5dd23179073187ada3d936aff84
|
refs/heads/master
| 2020-09-27T04:34:36.549125
| 2020-01-05T16:02:18
| 2020-01-05T16:02:18
| 226,431,201
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 736
|
sci
|
test.sci
|
exec './newton.sci';
exec './foncjaclap.sci'
tol = 1e-6;
N = 1000;
//on prend v initial (vi10 et vi20) avec tout les composants nulls
vi10 = zeros(9,1);
[v10, k10] = newton(foncjac_lap, tol, N, vi10);
vi20 = zeros(19,1);
[v20, k20] = newton(foncjac_lap, tol, N, vi20);
//v10 et v20 contient les resultat de chaque iteration
//v10(:,k10) et v20(:,k20) sont la resultat final
V10 = [5,(v10(:,k10))',5];
X10 = 1/10*[1:11]';
V20 = [5,(v20(:,k20))',5];
X20 = 1/20*[1:21]';
//V10 et V20 sont des vecteurs de v0 a vn
//(ici on ajouter v0 et vn dans le verteur)
//et X10 et X20 sont des vecteurs de x0 a xn
plot(X10,V10,'r'); //pour affichier la ligne
plot(X10,V10,'cx');//pour affichier les points
plot(X20,V20,'b');
plot(X20,V20,'mx');
|
bd33a2e87c934849a57bfcfcb6ce94385ffcf88e
|
99b4e2e61348ee847a78faf6eee6d345fde36028
|
/Toolbox Test/fftfilt/fftfilt2.sce
|
b752e87917d2eb732075719f2bd8f84ef4c09d14
|
[] |
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
| 241
|
sce
|
fftfilt2.sce
|
//i/p arg n i.e the length of the fft is given
x=[1 2 3 4 5 6 7];
b=[0.1 2 3 4 0.12];
n=10;
y=fftfilt(b,x,n);
disp(y);
//output
//!--error 4
//Undefined variable: nfft
//at line 128 of function fftfilt called by :
//y=fftfilt(b,x,n);
|
b838d1fc5210a560ee8bb11574d0599551ecd43b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/557/CH4/EX4.3/3.sce
|
71b0a81faf2799851da3650c1a518c38a38616a3
|
[] |
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
|
3.sce
|
clc;funcprot(0);
//Example 4.3
//Initializing the variables
vx= -poly(3,'x');
vy = 2*poly(-2,'x');
vz = -poly(2,'x');
//Calculations
delVx = derivat(vx);
delVy = derivat(vy);
delVz = derivat(vz);
result = derivat(vx)+derivat(vy)+derivat(vz); //requirement of continuity equation (result = 0)
disp("Satisfy requirement of continuity ");
|
6cd58a2da332bb18229a9bac14a246d3765e7c13
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3819/CH3/EX3.5/Ex3_5.sce
|
c2bb5965ad0b3142936e61863b15772738414927
|
[] |
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
| 461
|
sce
|
Ex3_5.sce
|
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 3-Hydrostatic Forces on surfaces
// Problem 3.5
//Data given in the Problem
d=4
A=%pi/4*d
SG=0.87
dens=SG*1000
g=9.81
//Calculations
w=dens*g
p=19.6*10^4
p_head=p/w
//1)Force exerted
F=dens*g*4*%pi*p_head
mprintf("The Force exerted is %f MN\n",F*10^-6)
//2)centre of Pressure
IG=%pi/64*d^4
h=IG/(A*p_head)+p_head
mprintf("the Position of COP is %f m",h)
|
236011c45031942f4d694383289fea729c936234
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2969/CH7/EX7.7/Ex7_7.sce
|
0f0b951a5de37b6396b1021aa63923afd76390bb
|
[] |
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
| 846
|
sce
|
Ex7_7.sce
|
clc
clear
//DATA GIVEN
IP=30; //indicted power in kW
BP=26; //Brake Power in kW
N=1000; //engine speed in R.P.M.
F=0.35; //fuel per brake power hour in kg/BP/h
C=43900; //calorific value of fuel used in kJ/kg
Fc=F*BP; //fuel consumption per hour
Mf=Fc/3600;
ETAti=IP/(Mf*C); //Indicted thermal eficiency
ETAtb=BP/(Mf*C); //Brake thermal efficiency
ETAm=BP/IP; //Mechanical efficiency
printf(' (i) The Indicted thermal eficiency is: %5.3f or %2.1f percent. \n',ETAti,(ETAti*100));
printf(' (ii) The Brake thermal efficiency is: %5.3f or %2.1f percent. \n',ETAtb,(ETAtb*100));
printf('(iii) Mechanical efficiency is: %5.3f or %2.1f percent. \n',ETAm,(ETAm*100));
|
6377e1f10df80889077fd8f7e9ff67509324d6af
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/68/CH6/EX6.1/ex1.sce
|
51ac9515400985bccc3166fd6906f49dcd0336ca
|
[] |
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
| 400
|
sce
|
ex1.sce
|
// Example 6.1: To find the operating point of NMOS transistor
// Consider NMOS transistor
// 6.1a
I_D=100*10^-6; // (A)
K_n=387*10^-6*10; // K_n=u_n*C_ox(W/L) (A/V^2)
V_th=0.48; // (V)
V_OV=sqrt(2*I_D/K_n);
disp(V_OV,"V_OV (V)")
V_GS=V_th+V_OV;
disp(V_GS,"V_GS (V)")
// 6.1b
I_C=100*10^-6; // (A)
I_S=6*10^-18 // (A)
V_T=0.025; // (V)
V_BE=V_T*log(I_C/I_S);
disp(V_BE,"V_BE (V)")
|
5da2cd1e569811c026f4e16140e601f12cb88f20
|
99b4e2e61348ee847a78faf6eee6d345fde36028
|
/Toolbox Test/pchip/pchip9.sce
|
172050c493014245f248aac6895a1593549f6b90
|
[] |
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
| 339
|
sce
|
pchip9.sce
|
//check o/p when no i/p args are given
v=pchip();
//output
// !--error 144
//Undefined operation for the given operands.
//check or define function %c_s_c for overloading.
//in execstr instruction called by :
//at line 37 of function diff called by :
//at line 40 of function pchip called by :
//v=pchip();
|
a4154ff1104265cd1377252b94f2ad91c4aa85f1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1301/CH16/EX16.9/ex16_9.sce
|
f7fb294391f4d9e8c70507d388ca2cef2002c59c
|
[] |
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
| 154
|
sce
|
ex16_9.sce
|
clc;
l=10^-4; //lambda in m
v=0.25; //velocity in m/sec
f=v/l; //calculating frequency
disp(f,"Frequency in Hz = "); //diplaying result
|
e872ebb6ceebbf150846f23df7a2d61de54fb52d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2441/CH1/EX1.12/Ex1_12.sce
|
fe5bbf2204fb84b310ce07a74570ab5e24a8b15e
|
[] |
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
| 697
|
sce
|
Ex1_12.sce
|
//exa 1.12
clc;clear;close;
format('v',5);
//Arranging data for Load Duration Curve
//week days 5-9pm load
L1=350;//MW
t1=4*5;//hours
//week days 8-12am & 1-5pm load
L2=250;//MW
t2=t1+8*5;//hours
//saturday & sunday 5-9pm load
L3=200;//MW
t3=t2+4*2;//hours
//All days 150MW load
L4=150;//MW
t4=t3+6*5+15*2;//hours
//All days 100MW load
L5=100;//MW
t5=t4+6*5+5*2;//hours
A=31600;//Total Load Curve Area
LF=A/L1/24/7*100;//%//Weekly load factor
disp(LF,"Weekly Load factor(%)");
disp("Load Duration Curve is shown in figure.");
//Load Duration Curve
L=[L1 L2 L3 L4 L5];//MW
T=[t1 t2 t3 t4 t5];//hours
plot2d2(T,L);
xtitle('Load Duration Curve','Time(Hours)','Load(MW)');
|
e0db6578edb92b6d023543d5e3bffa16343d552c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2183/CH7/EX7.8/Ex_7_8.sce
|
1afda51ea5d989b59f53a399a36428df2c0af37c
|
[] |
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
| 184
|
sce
|
Ex_7_8.sce
|
//Example 7.8 // Maximum response time
clc;
clear;
close;
//given data :
Vd=3*10^4;// in m/s
W=30*10^-6;// in m
Bm=Vd/(2*%pi*W);
M=(1/Bm)*10^9;
disp(M,"Maximum response time,(ns) = ")
|
9171b1d2646dd05437d53082599590df11ddc2a5
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/632/CH10/EX10.12/example10_12.sce
|
0bb1a88d3c88ee9323156b95a0967215e3afe8d5
|
[] |
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
| 633
|
sce
|
example10_12.sce
|
//clc()
macid = 1000;//kg ( basis - dilute phosphoric acid )
Mphacid = 97.998;
P = 1.25;//% ( dilute % )
mphacid = macid * P /100;
Nphacid = mphacid / Mphacid;
//1mole of phosphoric acid - 1mole of trisodium phosphate
NTSP = Nphacid;
MTSP = 380.166;
mTSP = NTSP * MTSP;
disp("kg",mTSP,"(a)Maximum weight of TSP obtained = ")
NCO2 = NTSP;
Pwater = 6.27//kPa
//since gas is saturated with water vapour, vapour pressure = partial pressure
Nwater = NCO2 * Pwater / ( 100 - Pwater );
Ntotal = Nwater + NCO2;
P = 100;//kPa
T = 310;//K
V = Ntotal * 101.3 * T *22.4143 / ( P * 273.15 );
disp("m^3",V,"(b)Volume of CO2 = ")
|
78005bcb909465bf02c935126801c0770aa8f29a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/147/CH14/EX14.14/Example14_14.sce
|
9e54ed953b1fba2b127774216052eef96b64b173
|
[] |
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
| 407
|
sce
|
Example14_14.sce
|
//Voltage V, Armature resistance Ra, Field resistance Rf
//Armature current Ia, Line current Il, flux is reduced by phir
close();
clear;
clc;
V = 250;//V
Ra = 0.22;//ohm
Rf = 170;
N = 1200;//rpm
Ia = 3;//A
Il = 55;
phir = 0.06;
E_noload = V - Ia*Ra;
If = V/Rf;
E_fullload = V - (Il-If)*Ra;
nm_fullload = N*(E_noload/E_fullload)*(1/1-phir);
mprintf('Full load speed = %0.0f rpm',nm_fullload);
|
fe8ad338f697c203a02e66ef185a522287451e01
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1319/CH3/EX3.1/3_1.sce
|
4fbd5abc2ebe53b5a0e1a9d2d084290dc126f047
|
[] |
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
| 584
|
sce
|
3_1.sce
|
// To determine the parameters of a balanced 3 phase star connected to a resistive load
clc;
clear;
V=208;
Vph=V/sqrt(3);
R=35;
// Star Conncected load has its line current = phase current
Ia=Vph/R;
Ib=Ia*(expm(%i*(-2*%pi/3)));
Ic=Ia*(expm(%i*(2*%pi/3)));
Pperphase= (abs(Ia)^2)*R;
Pt=3*Pperphase;
// Resistive Load, p.f is unity
pf=1;
printf('The power factor is %g \n',pf)
printf('The total power dissipated = %g W \n',Pt)
printf('The currents of the system are\n Ia = %g /_0 A \n Ib = %g /_-120 A \n Ic = %g /_120 A \n',abs(Ia),abs(Ib),abs(Ic))
|
bca1cc9dfbd435f52647f66fd4e7a7b8ad98b131
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1646/CH2/EX2.5/Ch02Ex5.sce
|
a96772f1743bc19c235636d4ae0b0afc89a94fe0
|
[] |
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
| 492
|
sce
|
Ch02Ex5.sce
|
// Scilab Code Ex2.5: Page:80 (2011)
clc;clear;
a = 0.003;....// Accuracy of the electron,in percent
s = 5e+03;....// Speed of the electron,in m/s
del_v = (a/100)*s;....// Change in velocity,in m/s
m0 = 9.1e-31;....// Rest mass of the electron,in kg
hcut = 1.054e-34;....// Plancks constant,J-s
del_x = hcut/(2*del_v*m0);
printf("\nThe uncertainity in the position of the electron = %4.2e m", del_x);
// Result
// The uncertainity in the position of the electron = 3.86e-004 m
|
6d735496faec06d696b19537db2406a5a10d4691
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2627/CH5/EX5.2/Ex5_2.sce
|
a230873f2777bd3beece9356396981e7dac7217a
|
[] |
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,207
|
sce
|
Ex5_2.sce
|
//Ex 5.2
clc;clear;close;
format('v',7);
N1=480;//no. of turns in primary
N2=90;//no. of turns in secondary
lfp=1.8;//m(length of flux path)
ag=0.1;//mm(airgap)
Flux=1.1;//T(flux density)
MF=400;//A/m(Magnetic flux)
c_loss=1.7;//W/kg
f=50;//Hz
d=7800;//kg/m^3(density of core)
V=2200;//V(potential difference)
//Part (a)
fi_m=V/(4.44*N1*f);//Wb
A=fi_m/Flux;//m^2(Cross sectional area)
disp(A,"(a) Cross sectional area(m^2)");
//Part (b)
Vnl2=V*N2/N1;//V(2ndary voltage on no load)
Vnl2=round(Vnl2);//V(2ndary voltage on no load)
disp(Vnl2,"(b) 2ndary voltage on no load(V)");
//Part (c)
format('v',5);
Fm1=MF*lfp;//A(Magnetootive force for the core)
Fm2=Flux/(4*%pi*10^-7)*ag*10^-3;//A(Magnetootive force for airgap)
Fm=Fm1+Fm2;//A(Total magnetomotive force)
Imax=Fm/N1;//A(maximum value of magnetizing current)
Iom=Imax/sqrt(2);//A(rms current)
v=lfp*A;//m^3(Volume of core)
m=v*d;//kg(Mass of core)
coreLoss=c_loss*m;//W(Core Loss)
Io1=coreLoss/V;//A(Core loss component of curent)
Io=sqrt(Iom^2+Io1^2);//A(no load current)
disp(Io,"(c) Primary current on no load(A)");
format('v',6);
pf=Io1/Io;//lagging pf on no load
disp(pf,"(c) Power factor(lagging) on no load");
|
4692add66a63994cedaccf031c45893f53087019
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1964/CH5/EX5.34/ex5_34.sce
|
2401bc38be4250b75b7981b71e0cd0c9cc3ff43e
|
[] |
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
| 716
|
sce
|
ex5_34.sce
|
//Chapter-5, Example 5.34, Page 197
//=============================================================================
clc
clear
//INPUT DATA
R=20;//resistance in ohms
L=0.2;//inductance in H
C=100;//capacitance in uF
//resistance will be non-inductive only at reosnant frequency
//CALCULATIONS
fr=(1/(2*%pi*(sqrt(L*C*10^-6))))*(sqrt((L-(C*10^-6*(R)^2))/(L)));//resonant frequency in hz
mprintf("Thus resonant frequency is %2.2f hz\n",fr);
Rf=(L)/(C*R*10^-6);//non-inductive resistance
mprintf("Thus value of non-inductive resistance is %d ohms",Rf);
//=================================END OF PROGRAM======================================================================================================
|
0de8c4059241839674b059904866dcc28a836f3b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2417/CH1/EX1.11/Ex1_11.sce
|
f555d7f6bc50dbd00f2122ca47673c10fb002c6a
|
[] |
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
| 588
|
sce
|
Ex1_11.sce
|
//scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 1.11\n\n\n");
// Chapter 1: Fundamental Concepts
// Problem 1.11 (page no. 35)
// Solution
//Given
Patm=30.0 //in. //pressure of mercury at standard temperature
Vacuum=26.5 //in. //vaccum pressure
Pabs=Patm-Vacuum; //Absolute pressure of mercury //in.
// (3.5 inch* (ft/12 inch) * (13.6*62.4)LBf/ft^3 * kg/2.2 LBf * 9.806 N/kg)/((12 inch^2/ft^2) * (0.0254 m/inch)^2)
p=(3.5*(1/12)*13.6*62.4*(1/2.2)*9.806)/(12^2*0.0254^2*1000); //kPa //Absolute pressure in psia
printf("Absolute pressure of mercury is %f kPa",p)
|
0cf39973d79d99bec0b467dd785c845beb948ed4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3428/CH21/EX14.21.19/Ex14_21_19.sce
|
c13f0b2a81cefbec86426f47b20e2665f5cca0fd
|
[] |
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
| 706
|
sce
|
Ex14_21_19.sce
|
//Section-14,Example-6,Page no.-PC.32
//To calculate moles of ammonia.
clc;
P=20 //atm
V=7.0 //L
R=0.0821 //Latm/molK
T=373 //K
n=((P*V)/(R*T)) //mol
a=4.17 //L^2atm/mol^2
b=0.0371 //L/mol
n_1=((P+((a*n^2)/V^2))*(V-(n*b)))/(R*T) //mol
n_2=((P+((a*n_1^2)/V^2))*(V-(n_1*b)))/(R*T) //mol
n_3=((P+((a*n_2^2)/V^2))*(V-(n_2*b)))/(R*T) //mol
n_4=((P+((a*n_3^2)/V^2))*(V-(n_3*b)))/(R*T) //mol
disp(n_4,'Moles of ammonia that wil occupy 7.0L at 20 atm and 100 degree C')
|
fcb74120d28f2a87365df4b78e241df6ce2ebe4e
|
126193a2cf6352c93a4bfd8f1de87484f6704a61
|
/ann04.sce
|
4972db2ec54ebf23caceb5c626c9849e24ca94a3
|
[
"MIT"
] |
permissive
|
edenlandpl/training-neuron-in-artificial-neural-newtorks
|
33f86553afbfdf2f5de68dcf4f85c0db5fbb6ecb
|
ab842f0ad3edc72c37ba5d15b993f349781cfe86
|
refs/heads/master
| 2022-02-11T18:58:58.133425
| 2019-07-21T11:19:32
| 2019-07-21T11:19:32
| 198,047,207
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,591
|
sce
|
ann04.sce
|
//---- perceptron trenowanie
//---- okreslenie par wektorow trenujacych
//---- dla podanej funkcji logicznej
A=ones(8,5);
A(1,2)=-1; A(1,3)=-1; A(1,4)=-1; A(1,5)=-1;
A(2,2)=-1; A(2,3)=-1; A(2,5)=-1;
A(3,2)=-1; A(3,4)=-1; A(3,5)=-1;
A(4,2)=-1; A(4,5)=-1;
A(5,3)=-1; A(5,4)=-1; A(5,5)=-1;
A(6,3)=-1;
A(7,4)=-1; A(7,5)=-1;
A(8,5)=-1;
//---- ustalenie poczatkowych wartosci wag
W=[0 0 0 0];
//---- proces trenowania
disp(W);
disp('----------------');
BrakZmiany = 0;
Nr_Wektora = 1;
while (BrakZmiany < 8)
S = A(Nr_Wektora,1)*W(1) + A(Nr_Wektora,2)*W(2) + A(Nr_Wektora,3)*W(3) + A(Nr_Wektora,4)*W(4);
Sig = 0;
if S > 0 then
Sig = 1;
end
if S < 0 then
Sig = -1;
end
if ((Sig > 0) & (A(Nr_Wektora,5) == 1)) | ((Sig < 0) & (A(Nr_Wektora,5) == -1)) then
W = W;
BrakZmiany = BrakZmiany + 1;
else
BrakZmiany = 0;
if S ~= 0 then
for j=1:4
W(j) = W(j) + 0.5 * ((A(Nr_Wektora,5) - Sig) * A(Nr_Wektora,j));
end
else
for j=1:4
W(j) = W(j) + A(Nr_Wektora,5) * A(Nr_Wektora,j);
end
end
end
disp(W);
Nr_Wektora = Nr_Wektora + 1;
if Nr_Wektora > 8 then
Nr_Wektora = 1;
end
end
u1 = input('Podaj u1: ');
u2 = input('Podaj u2: ');
u3 = input('Podaj u3: ');
S = 1 * W(1) + u1 * W(2) + u2 * W(3) + u3 * W(4);
Sig = 0;
if S > 0 then
Sig = 1;
end
if S < 0 then
Sig = -1;
end
disp(Sig,'Sig = ');
|
ef1903e6697b4f43f7b6930c55f2ced07cecf9ad
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3784/CH6/EX6.3/Ex6_3.sce
|
0dc3292fe6c0a2ce9adaad693b74ac78470d0c43
|
[] |
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
| 789
|
sce
|
Ex6_3.sce
|
clc
//variable initialization
Pout=50 //output of induction motor in kilowatt
Vm=400 //input of motor in volt
F0=50 //supply frequency in hrtz
N1=1475 //speed of motor in rpm
P=4 //number of poles
Rs=0.42 //resistance of stator in ohm
Rr=0.23 //resistance of rotor in ohm
Xs=0.95 //reactance of stator in ohm
Xr=0.85 //reactance of rotor in ohm
Xm=30 //reactance of motor in ohm
Tdm=225 //Breakdown Torque In N-m
K=poly(0,'K')
//Solution
W0=2*%pi*F0
Vp=Vm/sqrt(3)
K=sqrt((3*2*(Vp^2))/(2*Tdm*W0*(Xs+Xr)))
W1=K*W0
F1=W1/(2*%pi)
Sm=Rr/(K*(Xs+Xr))
Ws=2*K*W0/(P)
Wm=Ws*(1-Sm)
N=Wm*60/(2*%pi)
printf('\n\n The Supply Frequency=%0.1f Hz\n\n',F1)
printf('\n\n The slip at maximum torque=%0.1f\n\n',Sm)
printf('\n\n The speed at maximum torque=%0.1f rpm\n\n',N)
|
49c163517ead9b34cbd0ed66b39842462e7c9233
|
244971ae8af51184d278cdc2be1c80775413adae
|
/SSSoDelay.sci
|
b8ade7939ad20bb4d704c4e7e4186a5029ad1b03
|
[] |
no_license
|
MSCA-SIMFREE/748767
|
5879f1f139b608c7cd2f1bd62325b281c9c1e7d1
|
4726206e514f1e47e939e73b9339c056057866db
|
refs/heads/master
| 2020-12-27T15:21:13.646362
| 2020-02-03T11:40:00
| 2020-02-03T11:40:00
| 237,951,088
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,850
|
sci
|
SSSoDelay.sci
|
// The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Out=SSSoDelay(In,Delay_ns,PhaseRotat?)
// Optical Delay
//
// Calling Sequence
// Out=SSSoDelay(In,Delay_ns,PhaseRotat?)
//
// Parameters
// In : Optical Input
// Delay_ns : Delay of Optical Input [ns]
// PhaseRotat? : if False (default) optical waveform phase is fixed
// Out : Optical Output
//
// Description
// If the Delay is negative then the Optical Input is advanced.
// The delay will rotate the optical waveform within the time-window.
// This simulates a variable optical delay, such as a moving mirror.
// The delay is implemented by adding an optical-frequency-dependent phase shift to the optical signal in the frequency domain. Thus, the delay can be a fraction of a time-step.
// Use the Optical Phase Shift component when you require a frequency independent control of the optical carrier phase, with zero delay.
//
global MFR MLA;
[lhs,rhs]=argn(0);
select rhs
case 0 then
error("Expect at least one argument");
case 1 then
Delay_ns=0, PhaseRotat?=%F;
case 2 then
PhaseRotat?=%F;
end
fX=atan(imag(In(:,1)),real(In(:,1)))-2*%pi*Delay_ns*MFR;
rX=sqrt(In(:,1).*conj(In(:,1)));
Out(:,1)=rX.*exp(%i*fX);
fY=atan(imag(In(:,2)),real(In(:,2)))-2*%pi*Delay_ns*MFR;
rY=sqrt(In(:,2).*conj(In(:,2)));
Out(:,2)=rY.*exp(%i*fY);
if PhaseRotat? then
c=299792458; k=Delay_ns*360*c/L;
fX=atan(imag(Out(:,1)),real(Out(:,1)))+k*%pi/180;
rX=sqrt(Out(:,1).*conj(Out(:,1)));
Out(:,1)=rX.*exp(%i*fX);
fY=atan(imag(Out(:,2)),real(Out(:,2)))+k*%pi/180;
rY=sqrt(Out(:,2).*conj(Out(:,2)));
Out(:,2)=rY.*exp(%i*fY);
end
endfunction
|
a6d5d01e0996f99bf3c82ea1ae6452e59e01a488
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2045/CH9/EX9.6/Ex9_6.sce
|
b139a8e1c4930289a9bdd61b044d1a053167ee63
|
[] |
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
| 464
|
sce
|
Ex9_6.sce
|
//pagenumber 429 example 6
clear
hfe=50;
hie=1.1*10^3;//ohm
//(1) gain
r1=2*10^3;//ohm
volgai=-hfe*r1/(hie);
r11=25*10^3*hie/(25*10^3+hie);
r11=r1*r11/(r1+r11);
volga1=-hfe*r11/hie;
volgai=volgai*volga1;
disp("voltage gain = "+string((volgai)));
freque=20;//hertz
ri=25*10^3*hie/(25*10^3+hie);
cb=1/(2*3.14*(ri+r1)*(freque));
disp("cb = "+string((cb))+"farad");
cb=1/(2*3.14*3.05*10^3*10/3.14);
disp("cb <= "+string((cb))+"farad");
|
1b3211c4db29817162ebf1e990150228f771ce5a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/74/CH7/EX7.3/example3_sce.sce
|
bb3c6c0672cd5a57957ac272c7256ff6b73fdd44
|
[] |
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
| 186
|
sce
|
example3_sce.sce
|
// chapter 7
// example 7.3
// page 276
R3=6000;R4=2000;//given
R=5100;
C=.001*10^-6;
A=1+(R3/R4);
if A>3 then
f=1/(2*3.14*R*C)
disp(f)//frequency of oscillation
end
|
11138d6f351dc9d7a1f908d492841e9cb590c6bb
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1967/CH2/EX2.1/2_1.sce
|
2e4989fd8d1c6b5c4efb385404a34fe265a80663
|
[] |
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
| 221
|
sce
|
2_1.sce
|
clc
//initialisation of variables
clear
T= 40 //C
R= 0.0820 //lit-atm deg^-1 mol^-1
v= 0.381 //lit
b= 0.043 //lit
a= 3.6
//CALCULATIONS
P= (R*(273+T)/(v-b))-(a/v^2)
//RESULTS
printf ('Pressure = %.1f atm',P)
|
6c6cf64aa66548907199d9f4bf917ecdc6fa6998
|
dba43ae0c5d0c50780be579f98977a9836292852
|
/04/RAM512/RAM512.tst
|
fb7b08ce5b231e0c1a5a6de9198989f4ff07b6a8
|
[
"MIT"
] |
permissive
|
AbstractXan/ComputerSystemDesignLab
|
c49458dfcbd2e7ee769cb6044868a33601e42968
|
2851da683e4e894be66463dcc29a9fa6ba0538b6
|
refs/heads/master
| 2020-07-06T22:44:45.031534
| 2019-11-20T04:42:52
| 2019-11-20T04:42:52
| 203,161,348
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,030
|
tst
|
RAM512.tst
|
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/03/b/RAM512.tst
load RAM512.hdl,
output-file RAM512.out,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 address%D2.3.2 out%D1.6.1;
set in 0,
set load 0,
set address 0,
tick,
output;
tock,
output;
set load 1,
tick,
output;
tock,
output;
set in 13099,
set load 0,
tick,
output;
tock,
output;
set load 1,
set address 2,
tick,
output;
tock,
output;
set load 0,
set address 0,
tick,
output;
tock,
output;
set in 4729,
set address 3,
tick,
output;
tock,
output;
set load 1,
tick,
output;
tock,
output;
set load 0,
tick,
output;
tock,
output;
set address 2,
eval,
output;
set in 5119,
tick,
output;
tock,
output;
set load 1,
set address 3,
tick,
output;
tock,
output;
set load 0,
tick,
output;
tock,
output;
set address 2,
eval,
output;
set address 3,
eval,
output;
|
b9b79eea8a8ed4ba404e4cfc54abd33445f941b3
|
4f610a7615cc28364b5eefb965a2685d117dceca
|
/Selection/startHandle.sci
|
e37a7b5934d753baf27883875a862d391321db77
|
[] |
no_license
|
Alexcei88/Client-GixAnnex
|
e1aaff49e9ec3064a3115a826fde5755b6e29921
|
d71002fdc9a5c0df60a84e2c90af254f9d4a3351
|
refs/heads/master
| 2021-01-22T13:57:49.357485
| 2014-04-23T17:55:18
| 2014-04-23T17:55:18
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 105
|
sci
|
startHandle.sci
|
border.left: 6
border.top: 6
border.bottom: 6
border.right: 0
source: startHandle.png
|
f1fff4dbabbcf83062db504a674473936be71a31
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3683/CH14/EX14.2/Ex14_2.sce
|
b028b2fb02fde0912b3a07bfea86e3d68158b868
|
[] |
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
| 278
|
sce
|
Ex14_2.sce
|
b=300//width, in mm
d=600//effective depth, in mm
fck=15//in MPa
fy=500//in MPa
Xc=0.456*d//in mm
Mu=0.36*fck*b*Xc*(d-0.416*Xc)/10^6//in kN-m
Ast=round(0.36*fck*b*Xc/0.87/fy)//in sq mm
mprintf("Moment of resistance of the beam=%f kN-m\nSteel required=%d sq mm", Mu,Ast)
|
4cc2f093d88ef7271af3330116317a593c8951c7
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1535/CH12/EX12.3/Ch12Ex3.sci
|
823e6d15286a5efbce8f10d2da2a924f6230d480
|
[] |
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
| 813
|
sci
|
Ch12Ex3.sci
|
// Scilab Code Ex12.3: Numerical aperture and acceptance angle of step index fibre : Page-271 (2010)
n1 = 1.55; // Refractive index of fibre core
n2 = 1.53; // Refractive index of fibre cladding
n0 = 1.3; // Refractive index of medium
NA = sqrt(n1^2 - n2^2); // Numerical aperture for optical fibre
// n0*sin(theta_a) = sqrt(n1^2 - n2^2) = NA, solving for theta_a
theta_a = asind(sqrt(n1^2 - n2^2)/n0); // Half of acceptance angle of optical fibre, degrees
theta_accp = 2*theta_a; // Acceptance angle of optical fibre
printf("\nNumerical aperture for step index fibre = %5.3f", NA);
printf("\nThe acceptance angle of step index fibre = %2d degrees", theta_accp);
// Result
// Numerical aperture for step index fibre = 0.248
// The acceptance angle of step index fibre = 22 degrees
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.