blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
21 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
141k
586M
star_events_count
int64
0
30.4k
fork_events_count
int64
0
9.67k
gha_license_id
stringclasses
8 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
50 values
src_encoding
stringclasses
23 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
29 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
5b10f23420cc255157af7cb56f00c2517195f9ad
449d555969bfd7befe906877abab098c6e63a0e8
/3648/CH8/EX8.9/Ex8_9.sce
36069af9134fb8accf97fc024816f6fc64f36768
[]
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
Ex8_9.sce
//Example 8_9 clc(); clear; //To find out the rotational speed m=0.3 //units in Kg r=0.035 //units in meters Iw=0.5*m*r^2 //units in Kg meter^2 Ibt=8*10^-4 //units in Kg meter^2 w0=2 //units in rev/sec wf=(Ibt*w0)/(Ibt+Iw) //units in rev/sec printf("The rotational speed is Wf=%.2f rev/sec",wf)
360b813c899058808b44eae6cbce21af4144032c
449d555969bfd7befe906877abab098c6e63a0e8
/548/CH3/EX3.04/3_04.sce
8f7a5df1fbb01ba1a31d965beb8c861e06370a33
[]
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
214
sce
3_04.sce
pathname=get_absolute_file_path('3_04.sce') filename=pathname+filesep()+'3_04data.sci' exec(filename) printf("\Answer:\n") printf("\pressur altitude: %f Km\n",Hp) printf("\n\density altitude : %f Km\n\n",Hd)
ca9b5d574b814790bc76eda77619f49963111dab
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/BIPO/LQ93ZNM/ATWM1_Working_Memory_MEG_LQ93ZNM_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce
69c2b8d9fee3bf998df64ab372e3fb443b4ddddc
[]
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
49,381
sce
ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce
# ATWM1 MEG Experiment scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1"; #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 = 36; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; write_codes=true; # for MEG only begin; #Picture definitions box { height = 382; width = 382; color = 0, 0, 0;} frame1; box { height = 369; width = 369; 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 = 369; width = 369; color = 42, 42, 42;} 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; 41 62 292 292 399 125 2142 2992 1892 fixation_cross gabor_077 gabor_032 gabor_148 gabor_007 gabor_077_alt gabor_032 gabor_148 gabor_007_alt "1_1_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_077_032_148_007_target_position_1_4_retrieval_position_1" gabor_077_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_1_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_077_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 2142 fixation_cross gabor_085 gabor_067 gabor_028 gabor_138 gabor_085 gabor_067_alt gabor_028 gabor_138_alt "1_2_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_085_067_028_138_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_001_framed blank blank blank blank fixation_cross_target_position_2_4 "1_2_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 1892 fixation_cross gabor_088 gabor_153 gabor_022 gabor_134 gabor_088_alt gabor_153_alt gabor_022 gabor_134 "1_3_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_1900_gabor_patch_orientation_088_153_022_134_target_position_1_2_retrieval_position_2" gabor_circ gabor_104_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_3_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_104_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 2192 fixation_cross gabor_068 gabor_053 gabor_132 gabor_003 gabor_068_alt gabor_053 gabor_132_alt gabor_003 "1_4_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_068_053_132_003_target_position_1_3_retrieval_position_1" gabor_116_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_4_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_116_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2092 2992 2192 fixation_cross gabor_005 gabor_138 gabor_060 gabor_027 gabor_005 gabor_138_alt gabor_060_alt gabor_027 "1_5_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_300_300_399_2100_3000_2200_gabor_patch_orientation_005_138_060_027_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_167_framed blank blank blank blank fixation_cross_target_position_2_3 "1_5_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_167_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2442 fixation_cross gabor_089 gabor_071 gabor_008 gabor_148 gabor_089_alt gabor_071_alt gabor_008 gabor_148 "1_6_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2450_gabor_patch_orientation_089_071_008_148_target_position_1_2_retrieval_position_1" gabor_089_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_6_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_089_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2592 fixation_cross gabor_084 gabor_129 gabor_109 gabor_149 gabor_084_alt gabor_129 gabor_109_alt gabor_149 "1_7_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2600_gabor_patch_orientation_084_129_109_149_target_position_1_3_retrieval_position_1" gabor_084_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_7_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_084_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 2142 fixation_cross gabor_151 gabor_180 gabor_032 gabor_062 gabor_151 gabor_180_alt gabor_032 gabor_062_alt "1_8_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2150_gabor_patch_orientation_151_180_032_062_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_062_framed blank blank blank blank fixation_cross_target_position_2_4 "1_8_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_062_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_050 gabor_077 gabor_137 gabor_166 gabor_050 gabor_077 gabor_137_alt gabor_166_alt "1_9_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_050_077_137_166_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_137_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_9_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_137_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2092 2992 2042 fixation_cross gabor_061 gabor_092 gabor_022 gabor_174 gabor_061 gabor_092 gabor_022_alt gabor_174_alt "1_10_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_300_300_399_2100_3000_2050_gabor_patch_orientation_061_092_022_174_target_position_3_4_retrieval_position_2" gabor_circ gabor_042_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_10_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_042_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1792 2992 2442 fixation_cross gabor_140 gabor_029 gabor_089 gabor_156 gabor_140_alt gabor_029 gabor_089 gabor_156_alt "1_11_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2450_gabor_patch_orientation_140_029_089_156_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_156_framed blank blank blank blank fixation_cross_target_position_1_4 "1_11_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_156_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2242 2992 1992 fixation_cross gabor_122 gabor_063 gabor_010 gabor_169 gabor_122 gabor_063 gabor_010_alt gabor_169_alt "1_12_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2000_gabor_patch_orientation_122_063_010_169_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_169_framed blank blank blank blank fixation_cross_target_position_3_4 "1_12_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_169_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 2292 fixation_cross gabor_122 gabor_166 gabor_003 gabor_040 gabor_122_alt gabor_166 gabor_003 gabor_040_alt "1_13_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2300_gabor_patch_orientation_122_166_003_040_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_087_framed blank blank blank blank fixation_cross_target_position_1_4 "1_13_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 2342 fixation_cross gabor_048 gabor_119 gabor_080 gabor_161 gabor_048_alt gabor_119 gabor_080_alt gabor_161 "1_14_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_048_119_080_161_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_032_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_14_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_032_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2242 2992 2092 fixation_cross gabor_120 gabor_103 gabor_143 gabor_082 gabor_120 gabor_103_alt gabor_143_alt gabor_082 "1_15_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2100_gabor_patch_orientation_120_103_143_082_target_position_2_3_retrieval_position_2" gabor_circ gabor_057_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_15_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_057_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1842 2992 1992 fixation_cross gabor_179 gabor_158 gabor_110 gabor_134 gabor_179_alt gabor_158_alt gabor_110 gabor_134 "1_16_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_300_300_399_1850_3000_2000_gabor_patch_orientation_179_158_110_134_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_134_framed blank blank blank blank fixation_cross_target_position_1_2 "1_16_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_134_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 2242 fixation_cross gabor_126 gabor_098 gabor_071 gabor_155 gabor_126 gabor_098_alt gabor_071 gabor_155_alt "1_17_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2250_gabor_patch_orientation_126_098_071_155_target_position_2_4_retrieval_position_2" gabor_circ gabor_048_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_17_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_048_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2492 fixation_cross gabor_145 gabor_038 gabor_079 gabor_165 gabor_145 gabor_038_alt gabor_079_alt gabor_165 "1_18_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2500_gabor_patch_orientation_145_038_079_165_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_127_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_18_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_127_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2242 fixation_cross gabor_073 gabor_116 gabor_007 gabor_096 gabor_073 gabor_116_alt gabor_007 gabor_096_alt "1_19_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2250_gabor_patch_orientation_073_116_007_096_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_096_framed blank blank blank blank fixation_cross_target_position_2_4 "1_19_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 2092 fixation_cross gabor_060 gabor_130 gabor_025 gabor_148 gabor_060_alt gabor_130_alt gabor_025 gabor_148 "1_20_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2100_gabor_patch_orientation_060_130_025_148_target_position_1_2_retrieval_position_2" gabor_circ gabor_081_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_20_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_081_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 2092 fixation_cross gabor_142 gabor_029 gabor_008 gabor_177 gabor_142 gabor_029 gabor_008_alt gabor_177_alt "1_21_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2100_gabor_patch_orientation_142_029_008_177_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_008_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_21_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2292 fixation_cross gabor_084 gabor_149 gabor_039 gabor_104 gabor_084 gabor_149_alt gabor_039_alt gabor_104 "1_22_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_084_149_039_104_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_039_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_22_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_039_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1942 2992 2592 fixation_cross gabor_022 gabor_069 gabor_001 gabor_142 gabor_022 gabor_069 gabor_001_alt gabor_142_alt "1_23_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_300_300_399_1950_3000_2600_gabor_patch_orientation_022_069_001_142_target_position_3_4_retrieval_position_1" gabor_158_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_23_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_158_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1842 2992 2442 fixation_cross gabor_134 gabor_029 gabor_062 gabor_169 gabor_134 gabor_029_alt gabor_062_alt gabor_169 "1_24_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2450_gabor_patch_orientation_134_029_062_169_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_062_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_24_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_062_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2542 fixation_cross gabor_021 gabor_092 gabor_178 gabor_062 gabor_021_alt gabor_092 gabor_178_alt gabor_062 "1_25_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2550_gabor_patch_orientation_021_092_178_062_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_131_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_25_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_131_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 2192 fixation_cross gabor_092 gabor_031 gabor_151 gabor_166 gabor_092 gabor_031_alt gabor_151_alt gabor_166 "1_26_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_092_031_151_166_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_015_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_26_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_015_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1742 2992 2292 fixation_cross gabor_029 gabor_114 gabor_143 gabor_083 gabor_029 gabor_114 gabor_143_alt gabor_083_alt "1_27_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_300_300_399_1750_3000_2300_gabor_patch_orientation_029_114_143_083_target_position_3_4_retrieval_position_2" gabor_circ gabor_162_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_27_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_162_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 2292 fixation_cross gabor_165 gabor_078 gabor_120 gabor_012 gabor_165_alt gabor_078_alt gabor_120 gabor_012 "1_28_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2300_gabor_patch_orientation_165_078_120_012_target_position_1_2_retrieval_position_1" gabor_030_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_28_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_030_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 1942 fixation_cross gabor_158 gabor_018 gabor_052 gabor_092 gabor_158_alt gabor_018 gabor_052_alt gabor_092 "1_29_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_158_018_052_092_target_position_1_3_retrieval_position_1" gabor_108_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_29_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_108_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2142 fixation_cross gabor_116 gabor_086 gabor_062 gabor_002 gabor_116 gabor_086 gabor_062_alt gabor_002_alt "1_30_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2150_gabor_patch_orientation_116_086_062_002_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_002_framed blank blank blank blank fixation_cross_target_position_3_4 "1_30_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2592 fixation_cross gabor_152 gabor_168 gabor_099 gabor_036 gabor_152_alt gabor_168_alt gabor_099 gabor_036 "1_31_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2600_gabor_patch_orientation_152_168_099_036_target_position_1_2_retrieval_position_2" gabor_circ gabor_121_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_31_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_121_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2242 2992 1992 fixation_cross gabor_169 gabor_079 gabor_121 gabor_142 gabor_169 gabor_079 gabor_121_alt gabor_142_alt "1_32_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_300_300_399_2250_3000_2000_gabor_patch_orientation_169_079_121_142_target_position_3_4_retrieval_position_1" gabor_034_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_32_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_034_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 2442 fixation_cross gabor_051 gabor_070 gabor_020 gabor_179 gabor_051_alt gabor_070_alt gabor_020 gabor_179 "1_33_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_051_070_020_179_target_position_1_2_retrieval_position_1" gabor_051_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_33_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_051_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2242 fixation_cross gabor_065 gabor_093 gabor_112 gabor_026 gabor_065 gabor_093_alt gabor_112_alt gabor_026 "1_34_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2250_gabor_patch_orientation_065_093_112_026_target_position_2_3_retrieval_position_2" gabor_circ gabor_093_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_34_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_093_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 1942 fixation_cross gabor_091 gabor_162 gabor_139 gabor_023 gabor_091_alt gabor_162 gabor_139_alt gabor_023 "1_35_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_091_162_139_023_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_004_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_35_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1992 2992 1892 fixation_cross gabor_136 gabor_046 gabor_088 gabor_156 gabor_136 gabor_046_alt gabor_088 gabor_156_alt "1_36_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_136_046_088_156_target_position_2_4_retrieval_position_2" gabor_circ gabor_046_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_36_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_046_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 2242 fixation_cross gabor_146 gabor_027 gabor_093 gabor_059 gabor_146 gabor_027_alt gabor_093_alt gabor_059 "1_37_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_146_027_093_059_target_position_2_3_retrieval_position_2" gabor_circ gabor_075_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_37_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_075_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1892 2992 2042 fixation_cross gabor_165 gabor_088 gabor_142 gabor_119 gabor_165 gabor_088_alt gabor_142 gabor_119_alt "1_38_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_300_300_399_1900_3000_2050_gabor_patch_orientation_165_088_142_119_target_position_2_4_retrieval_position_1" gabor_030_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_38_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_030_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2192 2992 1992 fixation_cross gabor_170 gabor_091 gabor_128 gabor_006 gabor_170_alt gabor_091 gabor_128 gabor_006_alt "1_39_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2000_gabor_patch_orientation_170_091_128_006_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_006_framed blank blank blank blank fixation_cross_target_position_1_4 "1_39_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1792 2992 2192 fixation_cross gabor_045 gabor_152 gabor_063 gabor_125 gabor_045_alt gabor_152 gabor_063 gabor_125_alt "1_40_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_300_300_399_1800_3000_2200_gabor_patch_orientation_045_152_063_125_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_063_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_40_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_063_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2342 fixation_cross gabor_035 gabor_119 gabor_063 gabor_145 gabor_035 gabor_119 gabor_063_alt gabor_145_alt "1_41_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2350_gabor_patch_orientation_035_119_063_145_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_010_framed blank blank blank blank fixation_cross_target_position_3_4 "1_41_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2542 fixation_cross gabor_086 gabor_001 gabor_170 gabor_149 gabor_086_alt gabor_001 gabor_170_alt gabor_149 "1_42_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2550_gabor_patch_orientation_086_001_170_149_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_030_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_42_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_030_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2242 2992 2492 fixation_cross gabor_170 gabor_151 gabor_011 gabor_084 gabor_170_alt gabor_151 gabor_011_alt gabor_084 "1_43_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2500_gabor_patch_orientation_170_151_011_084_target_position_1_3_retrieval_position_1" gabor_170_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_43_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 1942 fixation_cross gabor_099 gabor_013 gabor_175 gabor_058 gabor_099_alt gabor_013_alt gabor_175 gabor_058 "1_44_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_1950_gabor_patch_orientation_099_013_175_058_target_position_1_2_retrieval_position_2" gabor_circ gabor_013_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_44_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_013_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1842 2992 2242 fixation_cross gabor_091 gabor_136 gabor_024 gabor_061 gabor_091 gabor_136_alt gabor_024_alt gabor_061 "1_45_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_091_136_024_061_target_position_2_3_retrieval_position_2" gabor_circ gabor_136_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_45_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_136_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2192 fixation_cross gabor_156 gabor_074 gabor_137 gabor_050 gabor_156_alt gabor_074 gabor_137 gabor_050_alt "1_46_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_156_074_137_050_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_050_framed blank blank blank blank fixation_cross_target_position_1_4 "1_46_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_050_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2142 2992 1942 fixation_cross gabor_002 gabor_143 gabor_092 gabor_160 gabor_002 gabor_143_alt gabor_092 gabor_160_alt "1_47_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_1950_gabor_patch_orientation_002_143_092_160_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_024_framed blank blank blank blank fixation_cross_target_position_2_4 "1_47_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_024_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1992 2992 2292 fixation_cross gabor_119 gabor_102 gabor_136 gabor_165 gabor_119 gabor_102_alt gabor_136_alt gabor_165 "1_48_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_300_300_399_2000_3000_2300_gabor_patch_orientation_119_102_136_165_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_165_framed blank blank blank blank fixation_cross_target_position_2_3 "1_48_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_165_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 2142 fixation_cross gabor_006 gabor_120 gabor_052 gabor_139 gabor_006_alt gabor_120 gabor_052 gabor_139_alt "1_49_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_006_120_052_139_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_139_framed blank blank blank blank fixation_cross_target_position_1_4 "1_49_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 2592 fixation_cross gabor_070 gabor_130 gabor_092 gabor_110 gabor_070 gabor_130 gabor_092_alt gabor_110_alt "1_50_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2600_gabor_patch_orientation_070_130_092_110_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_045_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_50_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_045_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 2142 2992 2342 fixation_cross gabor_097 gabor_053 gabor_075 gabor_117 gabor_097 gabor_053_alt gabor_075 gabor_117_alt "1_51_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_300_300_399_2150_3000_2350_gabor_patch_orientation_097_053_075_117_target_position_2_4_retrieval_position_1" gabor_097_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_51_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_097_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2142 fixation_cross gabor_115 gabor_058 gabor_173 gabor_004 gabor_115 gabor_058_alt gabor_173 gabor_004_alt "1_52_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_115_058_173_004_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_139_framed blank blank blank blank fixation_cross_target_position_2_4 "1_52_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 2092 fixation_cross gabor_098 gabor_030 gabor_083 gabor_117 gabor_098_alt gabor_030 gabor_083 gabor_117_alt "1_53_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_098_030_083_117_target_position_1_4_retrieval_position_1" gabor_051_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_53_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_051_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2342 fixation_cross gabor_078 gabor_134 gabor_008 gabor_162 gabor_078 gabor_134 gabor_008_alt gabor_162_alt "1_54_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2350_gabor_patch_orientation_078_134_008_162_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_162_framed blank blank blank blank fixation_cross_target_position_3_4 "1_54_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_162_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 1892 fixation_cross gabor_008 gabor_158 gabor_072 gabor_132 gabor_008_alt gabor_158 gabor_072 gabor_132_alt "1_55_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_008_158_072_132_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_180_framed blank blank blank blank fixation_cross_target_position_1_4 "1_55_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_180_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 2392 fixation_cross gabor_089 gabor_066 gabor_010 gabor_119 gabor_089_alt gabor_066 gabor_010_alt gabor_119 "1_56_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_089_066_010_119_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_010_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_56_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1992 2992 2392 fixation_cross gabor_048 gabor_091 gabor_010 gabor_074 gabor_048 gabor_091_alt gabor_010_alt gabor_074 "1_57_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_300_300_399_2000_3000_2400_gabor_patch_orientation_048_091_010_074_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_074_framed blank blank blank blank fixation_cross_target_position_2_3 "1_57_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_074_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2192 2992 2492 fixation_cross gabor_023 gabor_045 gabor_088 gabor_071 gabor_023_alt gabor_045 gabor_088 gabor_071_alt "1_58_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_023_045_088_071_target_position_1_4_retrieval_position_1" gabor_023_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_58_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_023_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 2492 fixation_cross gabor_148 gabor_115 gabor_097 gabor_076 gabor_148 gabor_115_alt gabor_097 gabor_076_alt "1_59_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2500_gabor_patch_orientation_148_115_097_076_target_position_2_4_retrieval_position_2" gabor_circ gabor_165_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_59_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_165_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_027 gabor_137 gabor_071 gabor_153 gabor_027 gabor_137 gabor_071_alt gabor_153_alt "1_60_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_027_137_071_153_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_153_framed blank blank blank blank fixation_cross_target_position_3_4 "1_60_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_153_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 1992 fixation_cross gabor_010 gabor_042 gabor_165 gabor_124 gabor_010 gabor_042_alt gabor_165 gabor_124_alt "1_61_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_010_042_165_124_target_position_2_4_retrieval_position_2" gabor_circ gabor_087_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_61_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2242 2992 2092 fixation_cross gabor_030 gabor_100 gabor_059 gabor_079 gabor_030_alt gabor_100 gabor_059 gabor_079_alt "1_62_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2100_gabor_patch_orientation_030_100_059_079_target_position_1_4_retrieval_position_1" gabor_030_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_62_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_030_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1842 2992 2542 fixation_cross gabor_007 gabor_142 gabor_171 gabor_063 gabor_007_alt gabor_142_alt gabor_171 gabor_063 "1_63_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_300_300_399_1850_3000_2550_gabor_patch_orientation_007_142_171_063_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_063_framed blank blank blank blank fixation_cross_target_position_1_2 "1_63_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_063_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 2542 fixation_cross gabor_096 gabor_081 gabor_116 gabor_035 gabor_096_alt gabor_081 gabor_116_alt gabor_035 "1_64_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2550_gabor_patch_orientation_096_081_116_035_target_position_1_3_retrieval_position_1" gabor_145_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_64_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_145_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 1892 fixation_cross gabor_052 gabor_035 gabor_180 gabor_120 gabor_052 gabor_035 gabor_180_alt gabor_120_alt "1_65_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_052_035_180_120_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_073_framed blank blank blank blank fixation_cross_target_position_3_4 "1_65_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 2042 fixation_cross gabor_036 gabor_174 gabor_060 gabor_118 gabor_036_alt gabor_174_alt gabor_060 gabor_118 "1_66_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_036_174_060_118_target_position_1_2_retrieval_position_1" gabor_085_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_66_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_085_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1942 2992 2342 fixation_cross gabor_161 gabor_081 gabor_110 gabor_137 gabor_161_alt gabor_081 gabor_110 gabor_137_alt "1_67_Encoding_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_300_300_399_1950_3000_2350_gabor_patch_orientation_161_081_110_137_target_position_1_4_retrieval_position_2" gabor_circ gabor_031_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_67_Retrieval_Working_Memory_MEG_P7_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_031_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 2392 fixation_cross gabor_178 gabor_012 gabor_152 gabor_040 gabor_178 gabor_012 gabor_152_alt gabor_040_alt "1_68_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2400_gabor_patch_orientation_178_012_152_040_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_040_framed blank blank blank blank fixation_cross_target_position_3_4 "1_68_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_040_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 1942 fixation_cross gabor_150 gabor_124 gabor_001 gabor_106 gabor_150 gabor_124_alt gabor_001_alt gabor_106 "1_69_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_150_124_001_106_target_position_2_3_retrieval_position_2" gabor_circ gabor_124_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_69_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_124_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 2242 2992 2392 fixation_cross gabor_149 gabor_082 gabor_127 gabor_067 gabor_149_alt gabor_082 gabor_127 gabor_067_alt "1_70_Encoding_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_300_300_399_2250_3000_2400_gabor_patch_orientation_149_082_127_067_target_position_1_4_retrieval_position_2" gabor_circ gabor_082_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_70_Retrieval_Working_Memory_MEG_P7_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_082_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; }; # 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; };
a22564ddd3e77fcbb03a45bf15d151e5f011daa0
676ffceabdfe022b6381807def2ea401302430ac
/solvers/IncNavierStokesSolver/Tests/ChanFlow_3DH1D_MVM.tst
427995e1ca48354423996b0f31f239bf5fc92586
[ "MIT" ]
permissive
mathLab/ITHACA-SEM
3adf7a49567040398d758f4ee258276fee80065e
065a269e3f18f2fc9d9f4abd9d47abba14d0933b
refs/heads/master
2022-07-06T23:42:51.869689
2022-06-21T13:27:18
2022-06-21T13:27:18
136,485,665
10
5
MIT
2019-05-15T08:31:40
2018-06-07T14:01:54
Makefile
UTF-8
Scilab
false
false
1,030
tst
ChanFlow_3DH1D_MVM.tst
<?xml version="1.0" encoding="utf-8"?> <test> <description>Laminar Channel Flow 3D homogeneous 1D, P=3, 20 Fourier modes (MVM)</description> <executable>IncNavierStokesSolver</executable> <parameters>ChanFlow_3DH1D_MVM.xml</parameters> <files> <file description="Session File">ChanFlow_3DH1D_MVM.xml</file> </files> <metrics> <metric type="L2" id="1"> <value variable="u" tolerance="1e-6">3.34833e-16</value> <value variable="v" tolerance="1e-6">1.21337e-16</value> <value variable="w" tolerance="1e-6">0</value> <value variable="p" tolerance="1e-6">2.64454e-14</value> </metric> <metric type="Linf" id="2"> <value variable="u" tolerance="1e-6">1.94289e-15</value> <value variable="v" tolerance="1e-6">4.75925e-16</value> <value variable="w" tolerance="1e-6">1.02571e-17</value> <value variable="p" tolerance="1e-6">1.4011e-13</value> </metric> </metrics> </test>
ce258f2ba5cd1e8046426c326895845506a0d9ea
449d555969bfd7befe906877abab098c6e63a0e8
/2054/CH3/EX3.1/Exa3_1.sce
87702a3bfb5cc1a43d751280bfb163a4451706c0
[]
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
570
sce
Exa3_1.sce
//Exa:3.1 clc; clear; close; V=120;//in Volts V_dc=40.5;//in volts V_rms=76.1;//in volts R=10;//in ohms I_dc=V_dc/R;//in Amperes I_rms=V_rms/R;//in Amperes P_dc=V_dc*I_dc;//in watts P_ac=V_rms*I_rms;//in watts Eff=P_dc/P_ac;//in per unit disp(Eff,'(a) Efficiency (in Per Unit=)'); K_f=V_rms/V_dc;//in per unit disp(K_f,'(b) Form Factor (in Per Unit=)'); Y=sqrt(K_f^2-1); disp(Y,'(c) Ripple Factor (in Per Unit=)'); T_f=P_dc/(V*I_rms); disp(T_f,'(d) Transformer Utilisation Factor='); P_iv=sqrt(2)*V; disp(P_iv,'(e) Peak Inverse Voltage (in volts)=')
7004196722e3f323d09637588f368b049b301667
449d555969bfd7befe906877abab098c6e63a0e8
/3428/CH3/EX1.3.13/Ex1_3_13.sce
d480c0f935f9fa04621755650914f2c412b4239c
[]
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
425
sce
Ex1_3_13.sce
//Section-1,Example-3,Page no.AC-250 //To calculate alkalinity in terms of CaCO3. clc; N=1/50 //Normality of H2SO4 V_1=29 //Volume of 1/50N H2SO4 using phenolphthalien as indicator V_2=500 //Volume of sample of water. V_3=58 //Volume of 1/50N H2SO4 using methyl orange as indicator N_P=(V_1/V_2)*N P=N_P*50*1000 N_M=(V_3/V_2)*N M=N_M*50*1000 //P=(1/2)M disp(M,'Alkalinity due to (CO3)2-(ppm)')
927b49ae331d0adf65360bdec8636e0800a7f841
449d555969bfd7befe906877abab098c6e63a0e8
/3845/CH20/EX20.7/Ex20_7.sce
51c01f0b262336cc19b2ff6b656dd34ca56a227a
[]
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
613
sce
Ex20_7.sce
//Example 20.7 //Also see Example 20.4 and Example 20.5 I=2.50;//Current (A) V=12;//Voltage (V) P1=I*V;//Power dissipated by hot headlight (W) printf('a.Power dissipated by headlight when hot= %0.1f W',P1) R=0.350;//Cold resistance (ohm) P2=V^2/R;//Power dissipated by headlight when first switched on (W) printf('\n Power dissipated by headlight when cold= %0.1f W',P2) I_b=sqrt(P2/R);//Current drawn when cold (A) printf('\nb.Current drawn when cold = %0.1f A',I_b) //Answer varies due to round off error //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest
965381b35603ccea43971769318db1241161deb8
449d555969bfd7befe906877abab098c6e63a0e8
/167/CH1/EX1.5/ex5.sce
77d7ccb24501cee9d8884e3822dfd409a9e9b311
[]
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
261
sce
ex5.sce
//ques5 //Absolute Pressure of a Vacuum Chamber clc Patm=14.5;//Atmospheric Pressure in psi Pvac=5.8;//vaccum Pressure in psi Pabs=Patm-Pvac;//Absolute Pressure in psi printf("Absolute Pressure=Atmospheric Pressure - Vaccum Pressure=%0.1f psi",Pabs);
4cbfbe986640ea577e3c6757398853af5cb89254
6e51f2fdd036612dc2b51c405904fed97d2ae8b0
/src/test_ods_fsed_2_g.tst
dde4d5ae227f814d74e1fd6a077834b78e3b3d04
[ "MIT", "Zlib", "BSD-3-Clause", "OML" ]
permissive
joe-nano/ciyam
92c6ccb58029a1b2a641a7e00417ab524cb9f957
a92c296b911b29620a7bb3b758eb55339e040219
refs/heads/master
2022-04-16T14:39:55.822434
2020-03-27T06:39:13
2020-03-27T06:39:13
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,156
tst
test_ods_fsed_2_g.tst
** File Info Version: 1.0 Num Logs = 0 Num Trans = 0 Num Writers = 0 Init Tranlog = 0 Total Entries = 5 Tranlog Offset = 0 Transaction Id = 18 Index Free List = n/a Total Size of Data = 29196 Data Transformation Id = 17 Index Transformation Id = 52 ** Entry Info for: 0-4 num: 0000000000000000 pos: 0000000000000000 len: 0000000000000100 txn: 0000000000000011 txo: 0000000000000000 flags: lk=0 tx=0 num: 0000000000000001 pos: 00000000000041a4 len: 0000000000001a34 txn: 0000000000000010 txo: 0000000000000000 flags: lk=0 tx=0 num: 0000000000000002 pos: 0000000000000100 len: 0000000000000400 txn: 000000000000000d txo: 0000000000000000 flags: lk=0 tx=0 num: 0000000000000003 pos: 0000000000005bd8 len: 0000000000001634 txn: 0000000000000011 txo: 0000000000000000 flags: lk=0 tx=0 num: 0000000000000004 pos: 0000000000003568 len: 0000000000000c3c txn: 0000000000000004 txo: 0000000000000000 flags: lk=0 tx=0 ** Freelist Info No freelist entries.
80c3124b169bc548005614680c1bcd4f35594ff8
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.2/macros/scicos/get_tree_elt.sci
98c865b3e07909750bffec35dec6cf4baf56a35c
[ "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
240
sci
get_tree_elt.sci
function value=get_tree_elt(tree,path) // tree : a recursive list // path : a vector of index giving top to bottom path // value : new value for the pointed tree element n=prod(size(path)) for k=1:n tree=tree(path(k)) end value=tree
49a94822eea45a2fba10d9247f84bb5796425296
449d555969bfd7befe906877abab098c6e63a0e8
/2789/CH9/EX9.1/Ex9_1.sce
e9f83bd712413d3834e3907c6a56d7564e5dc491
[]
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
237
sce
Ex9_1.sce
clear; clc; //page no.281 d = 6;//inches v = 15;//fps l = 100;//ft h_L = 17.5;//ft f = h_L*(d/(12*l))*(2*32.2/v^2); V_f = v*sqrt(f/8); printf('The friction velocity = %.2f fps',V_f); //there is an error in the answer given in textbook
da466c665ee2a538bbc8ef71f11c52aa50f00679
3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f
/SciLab/dynamic-maps.sce
cec59199e764a1f9e8060ba1947122a76131c5cc
[]
no_license
bozhink/Code-Chunks
74355eb4c0d423c2f6484226e564030dff798678
860b7b8f53089ed96fd0ebead2e3eec16fa377cb
refs/heads/master
2020-12-24T06:19:04.343239
2019-11-13T14:09:15
2019-11-13T14:09:15
42,819,484
0
1
null
2019-11-13T14:09:16
2015-09-20T16:09:09
HTML
UTF-8
Scilab
false
false
234
sce
dynamic-maps.sce
function z=logistic(x,mu) z=mu*x*(1-x); endfunction x0=-0.00001; m=3; N=35; X=zeros(1,N); Y=X; X(1)=x0; Y(1)=logistic(x0,m); for i=2:N X(i)=Y(i-1); Y(i)=logistic(X(i),m); end clf();plot2d2(X,Y,1,"111","step function");
c7939603c7dfa507c93c4660db26105a46a803a5
449d555969bfd7befe906877abab098c6e63a0e8
/2744/CH12/EX12.18/Ex12_18.sce
1c4e05f5f443c0a253b558c095609dc059d35e53
[]
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
867
sce
Ex12_18.sce
clear; clc; d = 3/8;// inches n = 12;//no. of complete turns D = 4;// inches W = 50;// lb-wt N = 12*10^6;// lb/in^2 alpha = 15*%pi/180;// degrees E = 30*10^6;// lb/in^2 T = W*0.5*D*cos(alpha);// lb-inches M = W*0.5*D*sin(alpha);// lb-inches J = %pi*d^4 /32;// in^4 I = %pi*d^4 /64;// in^4 delta = 64*W*((D/2)^3)*n*sec(alpha)*((cos(alpha)^2)/N + (2*sin(alpha)^2)/E)/d^4 ;// inches f = 32*W*0.5*D*sin(alpha)/(%pi*d^3) ;// lb/in^2 f_s = T*16/(%pi*d^3);// lb/in^2 f_1 = 0.5*f + sqrt(f_s^2 + 0.25*f^2);// lb/in^2 f_2 = 0.5*f - sqrt(f_s^2 + 0.25*f^2);// lb/in^2 f_s_dash = sqrt(f_s^2 + 0.25*f^2);// lb/in^2 printf('Deflection, delta = %.3f inches',delta); printf('\n f = %d lb/in^2\n f_s = %d lb/in^2',f,f_s); printf('\n The maximum intensity of shear stress = %d lb/in^2',f_s_dash); //there are calculation errors in the answers given in textbook
0fc33d1ca8b09ad240c862904ab0d3a1a808d21f
fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657
/P2 - Errors/Ejercicio 1 - misraices robusta.sci
744ddf2b79f7923485beee59230e7708ee030380
[]
no_license
jere1882/Numerical-Analysis-Assignments
7f474e2020d010f9f9c3dceff5e48c03b0d38652
1074f92ca93d0a402259f92a0f61f105f25e5230
refs/heads/master
2021-09-06T20:00:36.411386
2018-02-10T18:04:38
2018-02-10T18:04:38
121,039,769
0
0
null
null
null
null
UTF-8
Scilab
false
false
687
sci
Ejercicio 1 - misraices robusta.sci
clc // limpia la consola clear // borra el contenido de la memoria function r = misraices(p) c = coeff(p,0); b = coeff(p,1); a = coeff(p,2); if b>0 then r(1) = 2*c/(-b- sqrt(b^2-4*a*c)) r(2) = (-b - sqrt(b^2-4*a*c))/(2*a) else r(1) = (-b + sqrt(b^2-4*a*c))/(2*a) r(2) = 2*c / (-b + sqrt(b^2 - 4*a*c)) end; endfunction p = poly([-0.0001 10000.0 0.0001],"x","coeff"); e1 = 1e-8; roots1 = misraices(p); r1 = roots1(1); roots2 = roots(p); r2 = roots2(1); error1 = abs(r1-e1)/e1; error2 = abs(r2-e1)/e1; printf("Esperado: %e\n", e1); printf("misraices (nuestro): %e (error = %e)\n", r1, error1); printf("roots (Scilab): %e (error = %e)\n", r2, error2);
a774e327605ed95e2fc422421290271a34c26014
449d555969bfd7befe906877abab098c6e63a0e8
/671/CH4/EX4.17/4_17.sce
a804a6caeb8dfdae01a8118f85c029a1864383fe
[]
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
297
sce
4_17.sce
function Zeq=parallel(Z1,Z2) Zeq=Z1*Z2/(Z1+Z2) endfunction V=20 Z1=complex(5,10) Z2=complex(3,-4) Vth=V*Z2/(Z1+Z2) Zth=parallel(Z1,Z2) //by maximum power transfer theorem Zl=conj(Zth) P=norm(Vth/(Zth+Zl))^2*real(Zl) disp(P,Zl) Rl=sqrt(real(Zth)^2+(4+imag(Zth))^2) disp(Rl)
2dd473d71d826bdbcf1e93d28bd34350a00dab9e
449d555969bfd7befe906877abab098c6e63a0e8
/1862/CH13/EX13.6/C13P6.sce
349ac611caf4a28219d2f2cf4914a16d056b9d5b
[]
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,051
sce
C13P6.sce
clear clc //to find energy and direction of outgoing particl 3H // GIVEN: //refer to figure 13-11 from page no. 290 //difference in internal energy of initial and final partical delta_Eint = 4.03//in MeV //initial kinetic energy of deuteron Ki = 1.50//in MeV //initial kinetic energy of proton K1 = 3.39//in MeV //mass of hydrogen m1 = 1.01//u //mass of deuteron m2 = 2.01//u //mass of proton m3 = 3.02//u // SOLUTION: //applyinq consevation of energy principle //final kinetic energy Kf = delta_Eint+Ki//in MeV //final kinetic energy of outgoing partical 3H K3 = Kf-K1//in MeV //applying conservation of momentum principle //value of cosfi f = sqrt((m2*Ki)/(m3*K3)) //direction of outgoing particl 3H fi = acosd(sqrt((m2*Ki)/(m3*K3)))//in degrees printf ("\n\n Final kinetic energy Kf = \n\n %.2f MeV",Kf) printf ("\n\n Final kinetic energy of outgoing partical 3H K3 = \n\n %.2f MeV",K3) printf ("\n\n Value of cosfi = \n\n %.3f ",f) printf ("\n\n Direction of outgoing particl 3H fi = \n\n %.1f degree",fi)
92cb3d15efb5148d089d16645dc788032383c308
449d555969bfd7befe906877abab098c6e63a0e8
/2621/CH3/EX3.1/Ex3_1.sce
1ee1bd0ab760ee48a9b31dac4d36f239284bc3a9
[]
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
230
sce
Ex3_1.sce
// Example 3.1 clc; clear; close; // Given data format('v',6); Af= 10;// voltage gain R1= 3;// in Ω Rf= (Af-1)*R1;// From Af= 1+Rf/R1 disp(R1,"The value of R1 in Ω is : "); disp(Rf,"The value of Rf in Ω is : ");
e511027851c58489b3238f2ecc799989aeef0a8f
23573b967e8324d44226379d70559b8f0ea34905
/code/fmincon/Welded Beam Design.sce
b520f3190192562a51984c62d157fcbf456179aa
[]
no_license
FOSSEE/FOT_Examples
91c8b8e9dc58545604b2c2af41a7e22f702b78f3
75947a7aa5a3955fe5a72e09f55bbdc05e3b8751
refs/heads/master
2020-03-22T09:00:48.306061
2018-07-24T04:49:25
2018-07-24T04:49:25
139,807,736
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,589
sce
Welded Beam Design.sce
//Reference: K. M. Ragsdell and D. T. Phillips,"Optimal Design of a Class of Welded Structures Using Geometric Programming",ASME Journal of Engineering for Industry,Vol.98, pp 1021-1025, 1976 //A welded beam is designed for minimum cost subject to constraints on shear stress,bending stress in the beam,buckling load on the bar,end deflectionof the beam and the bound constraints. There are four design variables such as Weld thickness(inch), weld length (inch), bar thickness (inch), bar breadth(inch). //===================================================================== // Copyright (C) 2018 - IIT Bombay - FOSSEE // This file must be used under the terms of the CeCILL. // This source file is licensed as described in the file COPYING, which // you should have received as part of this distribution. The terms // are also available at // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt // Author: Remya Kommadath // Organization: FOSSEE, IIT Bombay // Email: toolbox@scilab.in //===================================================================== clc; // Objective function function f = ObjectiveFunction(X) f = 1.10471*X(1)^2*X(2) + 0.04811*X(3)*X(4)*(14+X(2)); endfunction // Non linear equality and inequality constraints function [C,Ceq] = NLconstraints(X) P = 6000; L = 14; E = 3*10^7; G = 12*10^6; tauMax = 13600; sigmaMax = 30000; deltaMax = 0.25; M = P*(L+(X(2)/2)); R = sqrt((X(2)^2/4) + ((X(1) + X(3))/2)^2); J = 2*0.7071068*X(1)*X(2)*((X(2)^2/12)+((X(1)+X(3))/2)^2); sigma = (6*P*L)/(X(3)^2*X(4)); delta = (4*P*L^3)/(E*X(3)^3*X(4)); Pc1 = (4.013*(sqrt(E*G*(X(3)^2*X(4)^6)/36)))/(L^2); Pc2 = 1-(X(3)/(2*L))*sqrt(E/(4*G)); Pc = Pc1*Pc2; tauPrime = P/(sqrt(2)*X(1)*X(2)); tauDprime = (M*R)/J; tau = sqrt(tauPrime^2 + 2*tauPrime*tauDprime*(X(2)/(2*R))+tauDprime^2); C(1) = tau - tauMax; C(2) = sigma - sigmaMax; C(3) = 0.10471*X(1)^2 + 0.04811*X(3)*X(4)*(14+X(2)) - 5; C(4) = delta - deltaMax; C(5) = P - Pc; C = C'; Ceq = []; endfunction // Linear inequality constraints A = [1 0 0 -1;-1 0 0 0]; b = [0 -0.125]'; // Bounds of the problem lb = [0.1 0.1 0.1 0.1]; ub = [2 10 10 2]; // Initial guess x0 = rand(1,4).*(ub-lb); // Design parameters of the problem designParameters = {'Weld thickness(inch)','weld length (inch)','bar thickness (inch)','bar breadth(inch)'} inGuess = [designParameters; string(x0)] disp(inGuess,"Initial guess given to the solver") input("Press enter to proceed: ") // Calling the solver function [xopt,fopt,exitflag,output,lambda] = fmincon(ObjectiveFunction,x0,A,b,[],[],lb,ub,NLconstraints) // Result representation clc; optSol = [designParameters; string(xopt')] select exitflag case 0 disp(optSol,"The optimum solution obtained") disp(fopt,"The minimum cost for the weldment assembly is") case 1 disp(" Maximum Number of Iterations Exceeded. Output may not be optimal") disp(optSol,"The solution obtained") disp(fopt,"The minimum cost for the weldment assembly is") case 2 disp("Maximum amount of CPU Time exceeded. Output may not be optimal") disp(optSol,"The solution obtained") disp(fopt,"The minimum cost for the weldment assembly is") case 3 disp("Stop at Tiny Step") disp(optSol,"The solution obtained") disp(fopt,"The minimum cost for the weldment assembly is") case 4 disp("Solved To Acceptable Level") disp(optSol,"The solution obtained") disp(fopt,"The minimum cost for the weldment assembly is") case 5 disp("Converged to a point of local infeasibility") end disp(output)
c18447304e98deaf60872517ba1cab074fda25ff
449d555969bfd7befe906877abab098c6e63a0e8
/3428/CH1/EX1.1.7/Ex1_1_7.sce
f481e0474b5eaaea976222ad18aa122597a33656
[]
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
527
sce
Ex1_1_7.sce
//Section-1,Example-7,Page no.-AC.36 //To calculate number average(Mn_bar) and weight average molecular mass(Mw_bar)of polypropylene polymer clc; M1=[(12*3)+(6*1)]*400 //molecular mass of (a) M2=[(12*3)+(6*1)]*800 //molecular mass of (b) M3=[(12*3)+(6*1)]*600 //molecular mass of (c) n1=25 n2=35 n3=40 Mn_bar=((n1*M1)+(n2*M2)+(n3*M3))/(n1+n2+n3) disp(Mn_bar,'number average molecular mass') Mw_bar=((n1*M1^2)+(n2*M2^2)+(n3*M3^2))/((n1*M1)+(n2*M2)+(n3*M3)) disp(Mw_bar,'weight average molecular mass')
bd77495c684d207a49ab155b700d3114cf2f90c0
449d555969bfd7befe906877abab098c6e63a0e8
/3830/CH1/EX1.34/Ex1_34.sce
0c0e44eb32b02c3ff964b332d2747b28bb30bbcb
[]
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
924
sce
Ex1_34.sce
// Exa 1.34 clc; clear; // Given I1 = 10; // Current which produces deflection of 90 degrees Theta1 = 90; // In degrees I2 = 5; // Current for which theta is to be calculated // Solution //The deflection which produces a current of 1A when instrument is spring controlled // Tc ∝ theta // theta ∝ I^2 theta2 = (I2/I1)^2 * Theta1 ; printf('The deflection which produces a current of 1A when instrument is spring controlled is equal to = %.1f degrees \n',theta2); //The deflection which produces a current of 1A when instrument is gravity controlled // Tc ∝ sin(theta) // theta ∝ I^2 theta2_gravity = asind((I2/I1)^2 *sind(Theta1)) ; printf(' The deflection which produces a current of 1A when instrument is gravity controlled = %.2f degrees \n',theta2_gravity); // The value of I given as 1A in problem statement is incorrect to satisfy the problem answer(correct value is 5A)
15595dd8c803e8423c369b9f936c144ea3da1c1c
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set4/s_Chemistry_R._Chang_884.zip/Chemistry_R._Chang_884/CH5/EX5.11/Example5_11.sce
4913ac3fcbbe6934f6475c1441c58a36d6948b35
[]
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
371
sce
Example5_11.sce
errcatch(-1,"stop");mode(2);//Gas Stoichiometry ; ; printf("\t Example 5.11\n"); VC2H2=7.64;//volume of acetylene, L VO2=VC2H2*5/2;//volume of O2 required for complete combustion as 5mol O2 react with 2mol acetylene for complete combustion printf("\t the volume of O2 required for complete combustion of acetylene is : %4.1f L\n",VO2); //End exit();
181c5dd1c688a30b279bc9334bc46240443ef3b7
a159f59d19e2b03b234e9c2977ba4a932180e648
/Software/GreenScilabV0.9/macros/Draw_GetOrgan.sci
74bce1ba283739250e9c76290a04efdab1bd7bc3
[]
no_license
OpenAgricultureFoundation/openag_sim
e052bbcc31b1d7f9b84add066327b479785f8723
425e678b55e24b5848d17181d25770175b8c2c3f
refs/heads/master
2021-07-01T06:25:08.753260
2017-09-20T21:44:18
2017-09-20T21:44:18
80,540,145
0
1
null
null
null
null
UTF-8
Scilab
false
false
302
sci
Draw_GetOrgan.sci
function [NO,ID,Age,gs,mr,V,O,Sz] = Draw_GetOrgan(NO,ID,Age,gs,mr,V,O,Sz,id,age,g,m,v,o,sz) NO=NO+1; ID(NO)=id; Age(NO,1:length(age)) = age; gs(NO)=g; mr(NO)=m; for i=1:3 for j=1:3 V(NO,i,j)=v(i,j); end end //V(NO,:,:) = v; O(NO,1:length(o)) = o; Sz(NO,1:length(sz)) = sz; endfunction
97f890849de8ab45594fa9586e221fa3503fe3d2
036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33
/hard/tests/functionArrayParameter.tst
94ac76f5f65c5419299274c9b5361ec532c378fd
[]
no_license
Jaymee-Ericca-7/simple-compiler
186b11486e5af8debdde301acba84851c4545b02
209a8ed43c579a9ce34c63a10083cdbde5546313
refs/heads/master
2020-09-18T06:19:53.304100
2015-08-11T13:44:06
2015-08-11T13:44:06
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
719
tst
functionArrayParameter.tst
boolean printArray(int[] array) begin int count; int[] numbers; int arrayLength; boolean successful; count = 0; numbers = array; arrayLength = numbers.length; if (arrayLength < 1) then begin successful = false; end if (!(arrayLength < 1)) then begin do begin print(numbers[count]); count = count + 1; end while(count < arrayLength); successful = true; end return successful; end main begin int[] array; boolean successfulPrint; array = new int [8]; array[0] = 0; array[1] = 1; array[2] = 2; array[3] = 3; array[4] = 4; array[5] = 5; array[6] = 6; array[7] = 7; successfulPrint = printArray(array); return successfulPrint; end
d76db82d8775b741de724fd5b0a44331bd9428f1
449d555969bfd7befe906877abab098c6e63a0e8
/2495/CH5/EX5.2.1/Ex5_2_1.sce
a0164d044fd9999844ef098d91a95df6ed46af20
[]
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
570
sce
Ex5_2_1.sce
clear clc DelHm_f=6008.5;//in J/mol m=18;//molar mass of water in gm/mol rho_i=0.917;//density of ice in gm/cm^3 rho_l=0.99987;//density of liquid in gm/m^3 DelV=((m/rho_l)-(m/rho_i)); printf('DelV=%.3f*10^-6 m^3/mol',DelV/10^-6) T=273.15;//in K P=760;//in mmHg Pt=4.6;//triple point pressure in mmHg DelPDelT=((DelHm_f)/(T*DelV*10^-6)); printf('\nDelPdelT=%.3f 10^6 J/Km^3',DelPDelT/10^6) DelP=((P-Pt)/P)*101.325*10^3;//in N/m^3 DelT=(DelP/DelPDelT); printf('\nDelT=%.4f K',DelT) //There are some errors in the solution given in textbook //page 222
2a73a26621c4838f52a172cb73ee14363eb851a2
e2ae697563b1b764d79ea1933b555ab0d5e3849c
/macros/impulse_response.sci
9f79453261c2f2ea3c9b0b266ce5d439eaaca347
[]
no_license
gq-liu/IPDesignLab
c49b760740f47ec636232a6947aecb3c0626518a
b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f
refs/heads/master
2022-01-18T13:30:55.972779
2019-05-06T17:23:12
2019-05-06T17:23:12
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,623
sci
impulse_response.sci
function impulse_response(g_closedloop) // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // Authors // Holger Nahrstaedt - 2010 // Ishan Pendharkar - 2001-2007 // //RLTOOL for scilab (c) Ishan Pendharkar. //function plot impulse response of closed loop plant global gridon tstep tmax; //xbasc() //clf(); xname('Closed loop impulse response'); if roots(denom(g_closedloop))<>[] then t=0:tstep:tmax; resp=csim('impulse',t,g_closedloop); if tmax<1e-4 then, plot2d([1e6*t'],[resp],logflag='nn'); xtitle('Impulse Response','Time (Micro sec)','Magnitude') else plot2d([t'],[resp],logflag='nn'); xtitle('Impulse Response','Time (sec)','Magnitude'); end; else messagebox(['Sorry! I cannot plot the impulse response';'Due to numerical tolerances, a pole-zero cancellation has occured.';' Please reselect point.']); end; clear t,resp; //return endfunction
b62590b88811a5474dca8e678b70168d2e316068
449d555969bfd7befe906877abab098c6e63a0e8
/1301/CH19/EX19.4/ex19_4.SCE
2c912b7ba4a5be7251371fc6a5a6edb8d070607d
[]
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
96
sce
ex19_4.SCE
clc; disp(((0.7552*34.969)+(0.2447*36.966)),"Atomic mass of chlorine = "); //displaying result
b66f9679d48274784d3af2579c9a1fbf63cc59ab
4f670294d6de9b3dff4c0eb15980b23d1ffaa629
/macros/pclknn.sci
0792288fe343c71a7f10a5d8c7e2467453444fe0
[]
no_license
avinashr175/FOSSEE-Image-Processing-Toolbox
49cb1352c88f9a5c7d7e984a42e3ba4ed60b059d
ff4afb9f614c2dd401d56fa8b5ad35cf5427a5cc
refs/heads/master
2020-12-02T16:17:03.873509
2017-07-10T09:21:12
2017-07-10T09:21:12
96,529,053
0
0
null
2017-07-07T10:43:02
2017-07-07T10:43:01
null
UTF-8
Scilab
false
false
1,384
sci
pclknn.sci
// Copyright (C) 2015 - IIT Bombay - FOSSEE // // This file must be used under the terms of the CeCILL. // This source file is licensed as described in the file COPYING, which // you should have received as part of this distribution. The terms // are also available at // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt // Author: M Avinash Reddy // Organization: FOSSEE, IIT Bombay // Email: toolbox@scilab.in function [out] = pclknn(pcloud,q,k) //Finds the k nearest neighbours of the query point q, in the point cloud. // //Calling Sequence //pcloud=pcread('path of point cloud file') //out = pclknn(pcloud,q,k) // // //Parameters //pcloud : a point cloud structure read using pcread function //q : a three dimensional query point //k : a positive integer specifying the number of nearest neighbours in pcloud for the query point p. // //Description //out = knn(q,f,k) returns a 2xk matrix . //The first row of out contains the indices of the k nearest points in the dataset(f) from the query point. //The second row contains the corresponding distances(squared euclidean distance). // //Examples //q=[0 0 0]; //data=pcread('data/cube.ply') //k=3; //out=pclknn(data,q,k); //Authors // M Avinash Reddy if size(q)~=3 error(msprintf("Size of the query point must be three")) end data=pcloud.Location out = knn(q,data,k) endfunction
f7fd192035774b89996b9a479e803dda8c6596d9
449d555969bfd7befe906877abab098c6e63a0e8
/2795/CH10/EX10.4/Ex10_04.sce
ab6d0a6e39c67bedc6391173c22c33d4cf80718c
[]
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
630
sce
Ex10_04.sce
// Scilab Code Ex10.4 : Page-358 (2014) clc; clear; e = 1.602e-019; // Charge on an electron, C N_A = 6.023e+023; // Avogadro's number alpha = 1.7476; // Madelung constant E = -764.4e+003; // Dissociation energy of NaCl molecule, J/mol V = E/N_A; // Repulsive potential energy, J k = 8.988e+009; // Coulomb's constant, N-Sq.m/C^2 r0 = 0.282e-009; // Equilibrium separation for nearest neighbour in NaCl, m rho = r0*(1+r0*V/(k*alpha*e^2)); // Range parameter for NaCl, nm printf("\nThe range parameter for NaCl = %6.4f nm", rho/1e-009); // Result // The range parameter for NaCl = 0.0316 nm
52e0e4394257234086cd7dff9c1106a87a23964f
449d555969bfd7befe906877abab098c6e63a0e8
/1529/CH20/EX20.11/20_11.sce
1ffcfe7307fc3dd3b6836be9da549b2737c106d3
[]
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
514
sce
20_11.sce
//Chapter 20, Problem 11 clc; Po = 12750; // in Watts pf = 0.77; // power factor eff = 0.85; VL = 415; // in Volts //calculation: //eff = power_out/power_in Pi = Po/eff //Power P = VL*IL*(3^0.5)*cos(phi) or P = 3*Ip*Ip*Rp) IL = Pi/(VL*(3^0.5)*pf) // line current //For a delta connection: //IL = Ip*(3^0.5) Ip = IL/(3^0.5) printf("\n\n (a)Power input = %d W",Pi) printf("\n\n (b)Line current = %.2f A",IL) printf("\n\n (c)Phase current = %.2f A",Ip)
71b85d016a0687112a7c178a15cf591423cd136d
449d555969bfd7befe906877abab098c6e63a0e8
/2615/CH15/EX69.1/69.sce
495cb9a100b678612ae145447a50e1111a1c6116
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
200
sce
69.sce
clc //initialisation of variables g=400//kg h=0.15//mm a=0.1//mm b=0.995//mm //CALCULATIONS P=g*(a+h*b)//kg //RESULTS printf('the force required to do this work if the coefficent=% f kg',P)
66f1a22b478e00cb8065499868934ba4bc19f2bb
449d555969bfd7befe906877abab098c6e63a0e8
/3862/CH2/EX2.15/Ex2_15.sce
638f5be2a657e3dae9745e2d0eabe15efd86c641
[]
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
854
sce
Ex2_15.sce
clear // //variable declaration P1=500.0 //Loading at inclined to 60.0°,N P2=1000.0 //vertical loading at 150 distance from O,N P3=1200.0 //vertical loading at 150 distance from O,N H=700.0 //Horizontal loading at 300 ditance from O,N a=150.0 theta=60.0*%pi/180 //assume Resulat R at distance x from O, //sum of vertical Fy & sum of horizontal forces Fx is zero //Assume direction of Fx is right //Assume direction of Fy is up Rx=P1*cos(theta)-H Ry=-P3-P2-P1*sin(theta) R=sqrt((Rx**2)+(Ry**2)) printf("\n R= %0.2f KN in y-direction",R) alpha=atan(Ry/Rx)*180/%pi printf("\n alpha %0.2f °",alpha) //Let the point of application of the resultant be at a distance x from the point O along the horizontal arm. Then, x=(P1*sin(theta)*(2*a)+P2*a-P3*a*cos(theta)+H*a*2*sin(theta))/(-Ry) printf("\n x= %0.3f mm",x)
5f3593a5ad422fb4687421f3a7653be6b5d4097a
449d555969bfd7befe906877abab098c6e63a0e8
/3035/CH15/EX15.1/Ex15_1.sce
24b38a3350da1eb5eed7b226e1c5c2f0c1bc5e93
[]
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,260
sce
Ex15_1.sce
// Variable Declaration G = 50.0 //Rating of machine(MVA) f = 50.0 //Frequency of turbo generator(Hz) V = 11.0 //Voltage rating of machine(kV) H = 9.0 //Cycle corresponding to 180 ms P_0 = 40.0 //Pre-fault output power(MW) delta_0 = 20.0 //Rotor angle at instant of fault(degree) funcprot(0) // Calculation Section P_0_close = 0 //Output power at instant of reclosing(MW) P_a = P_0 - P_0_close //Net accelerating power(MW) delta_sqr = P_a*180*f/(G*H) //double derivative(elect.degrees/sec^2) function ans = integrand1(t) //intgs the double derivative to 800*t ans = delta_sqr endfunction a = intg(0, 180*10**-3,integrand1) //Rotor velocity(electrical degrees/sec) function ans = integrand2(t) //intgs the double derivative to 400*t^2 ans = delta_sqr*t endfunction b = intg(0, 180*10**-3,integrand2) delta = delta_0 + b //Rotor angle(electrical degrees) // Result Section printf('Rotor angle at the instant of reclosure = %.2f electrical degrees' ,delta) printf('Rotor velocity at the instant of reclosure = %.1f electrical degrees/sec' ,a)
0522511694bc1eba63eae71c9200269f84b0cd7e
1489f5f3f467ff75c3223c5c1defb60ccb55df3d
/tests/test_cache_2_b.tst
30bf66143dfd68a6f8069068c8fa9e52feb8bf41
[ "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
2,682
tst
test_cache_2_b.tst
total_physical_store_count = 0 total_physical_fetch_count = 40 <cache info> items cached: 20/20 regions in use: 4/4 items per region: 10 counter: 40 temp_read_num: 39 temp_write_num: -1 item_req_count = 40 item_hit_count = 0 item hit ratio = 0% <cache region: 0-9> item_cost: 0 flush_cost: 0 counter_total: 0 most_recently_used: -1 least_recently_used: -1 most_recently_changed: -1 least_recently_changed: -1 most_recently_unchanged: -1 least_recently_unchanged: -1 <cache region: 10-19> item_cost: 0 flush_cost: 0 counter_total: 0 most_recently_used: -1 least_recently_used: -1 most_recently_changed: -1 least_recently_changed: -1 most_recently_unchanged: -1 least_recently_unchanged: -1 <cache region: 20-29> item_cost: 10 flush_cost: 0 counter_total: 255 most_recently_used: 9 least_recently_used: 0 most_recently_changed: -1 least_recently_changed: -1 most_recently_unchanged: 9 least_recently_unchanged: 0 <cache region items> item #20, chg: 0, counter: 21, used (-1, 1), chg (-1, -1), unchg (-1, 1) item #21, chg: 0, counter: 22, used (0, 2), chg (-1, -1), unchg (0, 2) item #22, chg: 0, counter: 23, used (1, 3), chg (-1, -1), unchg (1, 3) item #23, chg: 0, counter: 24, used (2, 4), chg (-1, -1), unchg (2, 4) item #24, chg: 0, counter: 25, used (3, 5), chg (-1, -1), unchg (3, 5) item #25, chg: 0, counter: 26, used (4, 6), chg (-1, -1), unchg (4, 6) item #26, chg: 0, counter: 27, used (5, 7), chg (-1, -1), unchg (5, 7) item #27, chg: 0, counter: 28, used (6, 8), chg (-1, -1), unchg (6, 8) item #28, chg: 0, counter: 29, used (7, 9), chg (-1, -1), unchg (7, 9) item #29, chg: 0, counter: 30, used (8, -1), chg (-1, -1), unchg (8, -1) <cache region: 30-39> item_cost: 10 flush_cost: 0 counter_total: 355 most_recently_used: 9 least_recently_used: 0 most_recently_changed: -1 least_recently_changed: -1 most_recently_unchanged: 9 least_recently_unchanged: 0 <cache region items> item #30, chg: 0, counter: 31, used (-1, 1), chg (-1, -1), unchg (-1, 1) item #31, chg: 0, counter: 32, used (0, 2), chg (-1, -1), unchg (0, 2) item #32, chg: 0, counter: 33, used (1, 3), chg (-1, -1), unchg (1, 3) item #33, chg: 0, counter: 34, used (2, 4), chg (-1, -1), unchg (2, 4) item #34, chg: 0, counter: 35, used (3, 5), chg (-1, -1), unchg (3, 5) item #35, chg: 0, counter: 36, used (4, 6), chg (-1, -1), unchg (4, 6) item #36, chg: 0, counter: 37, used (5, 7), chg (-1, -1), unchg (5, 7) item #37, chg: 0, counter: 38, used (6, 8), chg (-1, -1), unchg (6, 8) item #38, chg: 0, counter: 39, used (7, 9), chg (-1, -1), unchg (7, 9) item #39, chg: 0, counter: 40, used (8, -1), chg (-1, -1), unchg (8, -1)
99fd0dc8fc55cdc315f795100b96b57a4cbf4f2e
bd9ba5abb6de1e9d9485b5e98b2b68868aab21db
/Graph/plotting X [value 0-10] & y[sin(x)] with green line.sce
976bb85dc7e10c9ecc4e0c1e3c14c73d8a43c263
[]
no_license
ShubhamRattra/Scilab_programs
c61b6538a064afe82c99507c1064cd55bbd870fa
de2bf6ab0de0b1a19c4903bb13819edc39f93d0e
refs/heads/master
2023-03-04T17:53:58.414180
2021-02-11T08:08:11
2021-02-11T08:08:11
296,920,175
2
2
null
2021-01-11T15:53:39
2020-09-19T17:37:42
Scilab
UTF-8
Scilab
false
false
47
sce
plotting X [value 0-10] & y[sin(x)] with green line.sce
x = 0 : 0.1 : 10; y = sin(x); plot(x,y,'g');
49001bb1a464c0d649f847c242b7943df0af0007
449d555969bfd7befe906877abab098c6e63a0e8
/1151/CH8/EX8.17/example17.sce
81b5cee0ff47518dd73387ce3e64eb55ce239574
[]
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
164
sce
example17.sce
s=%s; A =[-1 1;0 -2]; B =[1 0 1;0 1 1]; x =[1 2;1 0;1 1]; [r c]= size (A) p=s*eye(r,c)-A // s*I-A q=inv(p) c=x*q*B; disp(c,"required transfer function =")
be5beceb3f8a8470002de0abd60c714f7791b931
3f974cd2e8f9ee9d8172734dc7ba7838e9ed889a
/Ex3.circuito.RC.passa.faixa.sce
3018ad9df69cbca251ed54280429538168cd4d7f
[]
no_license
nascimento-luciano/Electric-Circuits
e18988f6a6a7e1e854a9d800b000b715c7c0ad56
fd6835556fc00c934eb62cd31429db2658213c40
refs/heads/main
2023-03-18T20:02:44.516155
2021-03-30T20:23:28
2021-03-30T20:23:28
353,131,432
1
0
null
null
null
null
UTF-8
Scilab
false
false
979
sce
Ex3.circuito.RC.passa.faixa.sce
// circuito RC passa-faixa R1=1000;R2=220;C1=1e-6;C2=1e-6; fc1=1/(2*%pi*R1*C1); fc2=1/(2*%pi*R2*C2); f = logspace (0,5,1e4); mod_H1 = 1./((1+(fc1./f).^2).^0.5); mod_H2 = 1./((1+(f./fc2).^2).^0.5); mod_H=mod_H1.*mod_H1.*mod_H2; ang_H1 = (180/%pi)*(atan(fc1./f)); ang_H2 =-(180/%pi)*(atan(f./fc2)); ang_H = ang_H1+ang_H2; scf(2); clf (2); subplot(2,1,1) plot('ln',f,mod_H1,'r--','LineWidth',3) plot('ln',f,mod_H2,'b--','LineWidth',3) plot('In',f,mod_H,'k-','LineWidth',3) //plot('ln',f,mod_H,'k-','LineWidth’,3) plot('ln',f,1/sqrt(2)*f./f,'k--','LineWidth',1) xlabel "$f (Hz)$" fontsize 5 ylabel "$módulo$" fontsize 5 legend (['H1(jw)';'H2(jw)';'H(jw)'],-1); set(gca (),'font_size',3) subplot(2,1,2) plot('ln',f,ang_H1,'r--','LineWidth',3) plot('ln',f,ang_H2,'b--','LineWidth',3) plot('ln',f,ang_H,'k-','LineWidth',3) xlabel "$f (Hz)$" fontsize 5 ylabel "$Fase(º)$" fontsize 5 legend (['<H1(jw)';'<H2(jw)';'<H(jw)'],-1); set(gca (),'font_size',3)
fcff5d5e077da35b0a9793987242877382d19e55
449d555969bfd7befe906877abab098c6e63a0e8
/32/CH6/EX6.03/6_03.sce
d93f41857dd368ca4ce4ceb48a8ec361efd662c0
[]
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
316
sce
6_03.sce
//pathname=get_absolute_file_path('6.03.sce') //filename=pathname+filesep()+'6.03-data.sci' //exec(filename) //Pressure(in MPa): p=12 //Specific volume(in m^3/kg): v=0.017 //Enthaply(in kJ/kg): h=2848 //Internal energy(in kJ/kg): u=h-p*10^3*v printf("\nRESULT\n") printf("\nInternal energy = %d kJ/kg",u)
d0cc27b67e4bda85c753a167ab384d44d2f5fc12
1c2ad25131c84b961f409f4aaa055404f330052e
/quhant_app/public/cors_demo/analysis_modules/Oil Red O/mlogtest.tst
d0ab455aa1aab02e619dabb9a35d14044a274791
[]
no_license
BillWzel/QuHAnT
622ae282deaa54e1fe6684800a32858daba09c7b
a03cc3d82b710b08aca196e6862f5c2390d0a461
refs/heads/master
2020-03-26T15:28:02.374223
2018-10-16T23:25:40
2018-10-16T23:25:40
145,045,105
0
0
null
null
null
null
UTF-8
Scilab
false
false
579
tst
mlogtest.tst
1 mget /billwzel/stor/QuHAnT/AnalysisModules/Analysis-Foreground.cpp > Analysis-Foreground.cpp 2 mget /billwzel/stor/QuHAnT/AnalysisModules/makefile > makefile 3 mget /billwzel/stor/QuHAnT/AnalysisModules/ORO-Analysis.sh > oror.sh 4 mget /billwzel/stor/QuHAnT/AnalysisModules/Capture.tif > Capture.tif 5 mget ~~/stor/cors_demo/rnault/WooHoo-ItWorks/93_Default_001_083_Image.tif > im.tif 6 clear 7 make 8 cat oror.sh 9 ./example.exe im.tif Capture.tif 225 50 125 255 0 255 10 ls -lrth 11 vi oror.sh 12 clear 13 history
2e461cbfd21a0b1739c42e020209daf875a5dac2
449d555969bfd7befe906877abab098c6e63a0e8
/3311/CH13/EX13.7/Ex13_7.sce
7fa3eeb0cf68e016415caaae2b85b2847d997602
[]
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
325
sce
Ex13_7.sce
// chapter 13 // example 13.7 // Design a suitable circuit // page-814 clear; clc; // given Edc=200; // in V V=30; // in V // calculate n=Edc/V; // calculation of number of plates in each branch printf("\nThe number of plates is \t n=%.f is series",n); // Note :The answer vary slightly due to precise calculation
e2d4730bb4d73a74a2777a3c83cf0c7c9b9baea9
1859918f2cad83879760844b4597fba71be22214
/Computer Organization/testC.tst
7b8a1f7744799051ab42cddef1bf9525e2edbf17
[]
no_license
christianplusplus/coursework
0c5d5f3954050c13a8041fee7b2c47a6bf29587a
8c5b801087f165b9a0df7cc4bf23235d09e6c756
refs/heads/master
2020-04-25T17:37:22.276887
2019-05-20T22:20:32
2019-05-20T22:20:32
172,955,245
0
0
null
null
null
null
UTF-8
Scilab
false
false
299
tst
testC.tst
load Larc.hdl, set RAM16K[0] %X8105, // 5 in $1 set RAM16K[1] %X8207, // 7 in $2 set RAM16K[2] %XD021, set RAM16K[3] %XD012, set RAM16K[4] %XC105, // 7 in $1 set RAM16K[5] %XC207, // 5 in $2 set RAM16K[6] %X1321, // -2 in $3 set RAM16K[7] %XF000 ; repeat 30 { tick, tock; }
4ba0a4a474847073d4f34e448d224341006f6c6b
449d555969bfd7befe906877abab098c6e63a0e8
/1691/CH4/EX4.16/Exmp4_16.sce
1a1d6eee1ffa95227ea0ab95ffd66a7c76a0d397
[]
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
558
sce
Exmp4_16.sce
//Example 4.16 clc disp("Hybrid-pi Equivalent is as shown in fig.4.29") disp("(i) Mid frequency voltage gain :") disp("V_o / V_s = -h_fe*R_L / R_s+h_ie") hie=(100+1000)*10^-3 format(4) disp(hie,"h_ie(in k-ohm) = r_bb'' + r_b''e =") hfe=0.2*1000 disp(hfe,"h_fe = g_m * r_b''e =") vo=-200/2 disp(vo,"Therefore, V_o / V_s =") fb=(1/(2*%pi*1000*(204*10^-12)))*10^-3 format(7) disp(fb,"(ii) f_beta(in kHz) = 1 / 2*pi*r_b''e*(C_e+C_C) =") format(4) disp(fb,"f_beta(in kHz) = ") ft=(200*780)*10^-3 disp(ft,"(iii) f_T(in kHz) = h_fe * f_beta =")
65a39bc45b200d2558e82a07de0e1b6dd6749c4e
449d555969bfd7befe906877abab098c6e63a0e8
/1475/CH1/EX1.16/Example_1_16.sce
d7c6b71b35fc934adf65fd97834726ce67113fdf
[]
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
241
sce
Example_1_16.sce
//Example 1.16 clc; clear; N=10; disp(N,"total No. of Balls (white+Black) (N)="); M1=6; disp(M1,"No. of (White Balls)= "); M2=4; disp(M2,"No. of (Black Balls)= "); P1=M1/N; disp(P1,"Probability of white ball to be drawn is=");
f2d56dd1d9f00a78b6d74a00ea17b0494f63378d
449d555969bfd7befe906877abab098c6e63a0e8
/3638/CH10/EX10.4/Ex10_4.sce
bd6411c5226ed33fc20bfde04fb341327e9b429a
[]
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
975
sce
Ex10_4.sce
//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999 //Example 10.4 //OS=Windows XP sp3 //Scilab version 5.5.2 clc; clear; //given lambda0=1550e-9;//operating wavelength of single mode fiber in m n1=1.476754;//refractive index of core n2=1.446918;//refractive imdex of cladding a=1.5e-6;//radius of core in m delta=(n1-n2)/n2;//fractional change in refractive index mprintf("\n Delta=%f",delta);//The answers vary due to round off error n=2*%pi*a*sqrt((n1^2)-(n2^2))//numerator of the corresponding V number //corresponding V number expression where lambda0 is in nm mprintf("\n V=%.1f/lambda0",n*1e9);//multiplying numerator by 10^9 to convert lambda0 in nm //For cutoff wavelength: V=2.4048; //Since V=n/lambda0 lambda0=n/V;//cutoff wavelength of single mode fiber in m mprintf("\n The cutoff wavelength is %.1f nm",lambda0/1e-9);//Division by 10^(-9) to convert into nm //The answers vary due to round off error
769c0c439d9b0b8cbd8c3a80e6af17ced33f83db
449d555969bfd7befe906877abab098c6e63a0e8
/1514/CH10/EX10.1/10_1.sce
e0953c7b5eb2123e5990b00a25a872a498fc702b
[]
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
441
sce
10_1.sce
//chapter 10 //example 10.1 //page 289 clear all; clc ; //given R1=1 ; R2=5.6;//in Mohm Rd=2.7 ;//in Kohm Yos=10;// output admittance in microS rd=(1/Yos)*10^3;//drain resistance in Kohm gm=3;//in mA/V Rg=R1*R2/(R1+R2); Zi=Rg*10^3; Zo=Rd*rd/(Rd+rd); Av1=-gm*(Zo); Av2=-gm*Rd; printf('\nInput Impedance(Zi)=%d kohm',Zi) printf('\nOutput Impedance(Zo)=%.2f kohm',Zo) printf('\nVoltage Gain:\nAv=%.1f or Av=%.1f ',Av1,Av2)
cd8abcfcec54e02e44955e2d9cc3aeb7fd1f876c
c52b86c70bfb65ede26a67e3a1647999383b3a5d
/temp/load_and_test.sce
f296c3a3e33108df6da5cb1346668f9a2ae32054
[]
no_license
FOSSEE-Internship/FOSSEE-Julia-Toolbox
8847c2b1ea8ac69234d9d3a7f8f4238840bf9d62
10811cd0ceb00cb4a9303a6fc61e995fbbdb6b4d
refs/heads/master
2020-12-02T16:18:10.355600
2017-10-25T14:08:55
2017-10-25T14:08:55
96,516,912
0
1
null
null
null
null
UTF-8
Scilab
false
false
352
sce
load_and_test.sce
function set_env() root = get_absolute_file_path('load_and_test.sce') third_party_dir = root + 'thirdparty/' julia_dir = third_party_dir + getos() + '/julia' setenv('JULIA_DIR', julia_dir) setenv('JULIA_HOME', julia_dir + '/bin') endfunction set_env() clear builder_gw_cpp exec loader.sce initJulia() exec test.sce exitJulia() exec unloader.sce
a33af512bdc2391468df688ba02275350510eb6c
68e9d6c19069591c9f3af13aedcbd686cb7053cb
/tests/kmac.tst
796cb95197c3b5c13a8561411c442d4c051f6cf1
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-other-permissive", "BSD-2-Clause", "Zlib", "BSD-3-Clause" ]
permissive
erwinmars/hyperion
c0de7ab000e49564b98d54d5dfe9636ec0159b8c
6a042a852e52bb73ed9089c76587c0f4ed9d8d1b
refs/heads/master
2020-06-12T13:22:37.841600
2016-12-05T12:06:40
2016-12-05T12:06:40
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,389
tst
kmac.tst
*Testcase KMAC fc0 sysclear archmode esame r 1A0=00000001800000000000000000000200 # z/Arch restart PSW r 1D0=0002000180000000000000000000DEAD # z/Arch pgm new PSW r 200=41000000 # LA R0,0 R0->function code 0 r 204=4110f500 # LA R1,PB R1->parameter block address r 208=41200000 # LA R2,FO R2->first operand r 20C=41400000 # LA R4,SO R4->second operand r 210=41500000 # LA R5,SOL R5->second operand length r 214=B91E0024 # KMAC R2,R4 Compute message authentication code r 218=12ee077eB2B20300 # LPSWE WAITPSW Load enabled wait PSW r 300=00020001800000000000000000000000 # WAITPSW Enabled wait state PSW * r 500=000102030405060708090A0B0C0D0E0F # Parameter block * r 580=F0703838000000000000000000000000 # Expected result * runtest .1 *Compare * Display parameter block r 500.10 *Want F0000000 00000000 00000000 00000000 * Expected result *Done *Testcase KMAC fcbad sysclear archmode esame r 1A0=00000001800000000000000000000200 # z/Arch restart PSW r 1D0=0002000180000000000000000000DEAD # z/Arch pgm new PSW r 200=4100007f # LA R0,63 R0->bad r 204=4110f500 # LA R1,PB R1->parameter block address r 208=4140f700 # LA R4,SO R4->second operand r 20C=41500008 # LA R5,SOL R5->second operand length r 210=B91E0024 # KMAC R2,R4 Compute message authentication code r 214=12ee077eB2B20300 # LPSWE WAITPSW Load enabled wait PSW *Program 6 runtest .1 *Done *Testcase KMAC fc1 sysclear archmode esame r 1A0=00000001800000000000000000000200 # z/Arch restart PSW r 1D0=0002000180000000000000000000DEAD # z/Arch pgm new PSW r 200=41000001 # LA R0,X'01' R0->function code 1 encrypt r 204=4110f500 # LA R1,PB R1->parameter block address r 208=4140f700 # LA R4,SO R4->second operand r 20C=41500008 # LA R5,SOL R5->second operand length r 210=B91E0024 # KMAC R2,R4 Compute message authentication code r 214=12ee077eB2B20300 # LPSWE WAITPSW Load enabled wait PSW r 300=00020001800000000000000000000000 # WAITPSW Enabled wait state PSW * r 500=000102030405060708090A0B0C0D0E0F # Parameter block * r 580=D7423E1B84911C2E # Expected result * r 700=0001020304050607 # Second operand * runtest .1 *Compare * Display parameter blocks r 500.8 *Want D7423E1B 84911C2E * Expected results *Done *Testcase KMAC fc2 sysclear archmode esame r 1A0=00000001800000000000000000000200 # z/Arch restart PSW r 1D0=0002000180000000000000000000DEAD # z/Arch pgm new PSW r 200=41000002 # LA R0,X'02' R0->function code 2 encrypt r 204=4110f500 # LA R1,PB R1->parameter block address r 208=4140f700 # LA R4,SO R4->second operand r 20C=41500008 # LA R5,SOL R5->second operand length r 210=B91E0024 # KMAC R2,R4 Compute message authentication code r 214=12ee077eB2B20300 # LPSWE WAITPSW Load enabled wait PSW r 300=00020001800000000000000000000000 # WAITPSW Enabled wait state PSW * r 500=000102030405060708090A0B0C0D0E0F # Parameter block r 510=1011121314151617 # Parameter block * r 580=F4F9F93F1B40EDE7 # Expected result * r 700=0001020304050607 # Second operand * runtest .1 *Compare * Display parameter blocks r 500.8 *Want F4F9F93F 1B40EDE7 * Expected results *Done *Testcase KMAC fc3 sysclear archmode esame r 1A0=00000001800000000000000000000200 # z/Arch restart PSW r 1D0=0002000180000000000000000000DEAD # z/Arch pgm new PSW r 200=41000003 # LA R0,X'03' R0->function code 3 encrypt r 204=4110f500 # LA R1,PB R1->parameter block address r 208=4140f700 # LA R4,SO R4->second operand r 20C=41500008 # LA R5,SOL R5->second operand length r 210=B91E0024 # KMAC R2,R4 Compute message authentication code r 214=12ee077eB2B20300 # LPSWE WAITPSW Load enabled wait PSW r 300=00020001800000000000000000000000 # WAITPSW Enabled wait state PSW * r 500=000102030405060708090A0B0C0D0E0F # Parameter block r 510=101112131415161718191A1B1C1D1E1F # Parameter block * r 580=5790A6D02A3BF337 # Expected result * r 700=0001020304050607 # Second operand * runtest .1 *Compare * Display parameter blocks r 500.8 *Want 5790A6D0 2A3BF337 *Done
06a0a3299ec40acf0f80db8aa07ccce4beb3fa79
449d555969bfd7befe906877abab098c6e63a0e8
/3407/CH8/EX8.6/Ex8_6.sce
35e8dbd753537ba1bd3c54a024a07fe039a263ff
[]
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,791
sce
Ex8_6.sce
clear; clc; funcprot(0); //given data Z = 12;//number of vanes delW = 230;//in kW T01 = 1050;//stagnation temperature in K mdot = 1;//flow rate in kg/s eff_ts = 0.81;//total-to-static efficiency Cp = 1.1502;//in kJ/(kg.K) gamma = 1.333; R = 287;//gas constant cm3_U2 = 0.25; nu = 0.4; r3s_r2 = 0.7; w3av_w2 = 2.0; p3 = 100;//static pressure at rotor exit in kPa zetaN = 0.06;//nozzle enthalpy loss coefficient U2 = 538.1;//in m/s p01 = 3.109*10^5;//in Pa //results of Example 8.4 and Example 8.5 r3av_r3s = 0.5*(1+nu); r3av_r2 = r3av_r3s*r3s_r2; alpha2 = (180/%pi)*acos(sqrt(1/Z)); beta2 = 2*(90-alpha2); beta3_av = (180/%pi)*atan(r3av_r2/cm3_U2); beta3s = (180/%pi)*atan(r3s_r2/cm3_U2); w3s_w2 = 2*cos(beta3_av*%pi/180)/cos(beta3s*%pi/180); S = delW/(Cp*T01); T03 = T01*(1-S); T3 = T03 - (cm3_U2^2)*(U2^2)/(2*Cp*1000); r2 = sqrt(mdot/((p3*1000/(R*T3))*(cm3_U2)*U2*%pi*(r3s_r2^2)*(1-nu^2))); D2 = 2*r2; omega = U2/r2; N = omega*30/%pi; ctheta2 = S*Cp*1000*T01/U2; alpha2 = (180/%pi)*acos(sqrt(1/Z)); cm2 = ctheta2/tan(alpha2*%pi/180); c2 = ctheta2/sin(alpha2*%pi/180); T2 = T01 - (c2^2)/(2*Cp*1000); p2 = p01*(1-(((c2^2)*(1+zetaN))/(2*Cp*1000*T01)))^(gamma/(gamma-1)); b2_D2 = (0.25/%pi)*(R*T2/p2)*(mdot/(cm2*r2^2)); //Calculations c3 = cm3_U2*U2; cm3 = c3; w3_av = 2*cm3/(cos(beta2*%pi/180)); w2 = w3_av/2; c0 = sqrt(2*delW*1000/eff_ts); zetaR = (c0^2 *(1-eff_ts)- (c3^2)- zetaN*(c2^2))/(w3_av^2); i = beta2; n = 1.75; eff_ts_new = 1-((c3^2)+zetaN*(c2^2)+zetaR*(w3_av^2)+(1-(cos(i*%pi/180))^n)*(w2^2))/(c0^2); //Results printf('(a)The rotor enthalpy loss coefficient = %.4f',zetaR); printf('\n(b) The total-to-static efficiency of the turbine = %.3f',eff_ts_new); //there are some errors in the answers given in textbook
6eed220f058975e56c75e5d57cba831be069d822
449d555969bfd7befe906877abab098c6e63a0e8
/3850/CH36/EX36.4/Ex36_4.sce
9cfcb81381d72324b44a22d63c329710c604046c
[]
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
690
sce
Ex36_4.sce
//To Find the Magnetic Field due to Magnetic Dipole //Example 36.4 clear; clc; M=1.2;//Magnetic Moment of the Dipole in A-m^2 r=1;//Distance of point P from Magnetic Pole in metres theta=%pi/3;//Angle made by given point with the Dipole Axis in radians k=1*10^-7;//Constant (u0/(4*pi)) B=k*M*sqrt(1+3*(cos(theta))^2)/(r)^3;//Magnitude of Magnetic Field at the Given Point in Tesla printf("Magnitude of Magnetic field at a point 1 metre from the Magnetic Dipole = %.1f*10^-7 T",B*10^7); alpha=atan(tan(theta)/2)*180/%pi;//Angle made by magnetic field with the radial line printf("\n Magnetic field makes an angle %.2f degrees with the radial line",alpha);
a5654264df7b1bc15cd91e3edc981e4e32560682
449d555969bfd7befe906877abab098c6e63a0e8
/1118/CH17/EX17.1/eg17_1.sce
e47ebce099a56f1c515673e45bc74e86366c86fd
[]
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
854
sce
eg17_1.sce
clear; //clc(); function [r,i]=d(mag,theta) r=mag*cosd(theta); i=mag*sind(theta); endfunction previousprot = funcprot(0) funcprot(0) mag=100; theta=30; [r,i]=d(mag,theta); ia=complex(r,i); mag=50; theta=300; [r,i]=d(mag,theta); ib=complex(r,i); mag=30; theta=180; [r,i]=d(mag,theta); ic=complex(r,i); ia0=(1/3)*(ia+ib+ic); printf("The zero sequence component of current in amperes is:"); disp(ia0); mag=1; theta=120; [r,i]=d(mag,theta); alpha=complex(r,i); ia1=(1/3)*(ia+alpha*ib+alpha^2*ic); printf("The positive sequence component of current in amperes is:"); disp(ia1); ia2=(1/3)*(ia+alpha^2*ib+alpha*ic); printf("The negative sequence component of current in amperes is:"); disp(ia2); in=ia+ib+ic; printf("The return current to the neutral conductor in amperes is:"); disp(in);
dac00175ff3e9e5944fd123b2ff4090d9012a149
449d555969bfd7befe906877abab098c6e63a0e8
/866/CH16/EX16.23/16_23.sce
ae3f5370f5e61ea80cfb59e4dfb02026d3b37f38
[]
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
381
sce
16_23.sce
//CLC x1= 6 //m x2= 4.5 //m y1= 3 //m y2= 3 //m Fba= 40 //KN Fbc= 20 //KNm //CALCULATIONS MFba= -Fba*(y1+y2)/8 MFbc= Fbc*x1^2/12 x= sqrt(x1^2+x2^2) DFba= (4/(y1+y2))/((4/(y1+y2))+(4/(x1))) DFbc= 1-DFba DFcb= (4/x1)/((4/x1)+(3/x)) DFcd= 1-DFcb //RESULTS printf("DFba = %.2f",DFba) printf("DFbc = %.2f",DFbc) printf("DFcb = %.3f",DFcb) printf("DFcd = %.3f",DFcd)
9043127266d2e2fbea3b7ccaf9abb1da07495b33
f19d1dec66f19d3a8644043d3033428fc560a6c9
/sql/settings.tst
62ed88d5d89b5cc0dc4ecce70a8ead43f3219845
[ "Apache-2.0" ]
permissive
kurtericmiller/Zbloggi
f08686b1c3b42e2092ca0a013251661009c2cc55
5c4f33157635805eb3c7b4c0a1c1cf389acc5725
refs/heads/master
2016-09-03T07:38:59.278337
2012-08-01T20:30:08
2012-08-01T20:30:08
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,343
tst
settings.tst
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; DROP TABLE IF EXISTS `settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `settings` ( `id` int(11) NOT NULL AUTO_INCREMENT, `site_title` varchar(50) NOT NULL, `site_tagline` varchar(100) NOT NULL, `site_url` varchar(50) NOT NULL, `headlineId` int(11) NOT NULL, `homeArticleCount` int(11) NOT NULL, `articleCount` int(11) NOT NULL, `bookCount` int(11) NOT NULL, `latestArticleCount` int(11) NOT NULL, `amazonLU` varchar(100) NOT NULL, `admArtCnt` int(11) NOT NULL, `admComCnt` int(11) NOT NULL, `admUserCnt` int(11) NOT NULL, `defemail` varchar(40) NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=MEMORY AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `settings` WRITE; /*!40000 ALTER TABLE `settings` DISABLE KEYS */; INSERT INTO `settings` VALUES (1,'Your Moment of Zend','To know the road ahead, ask those coming back','http://ymozend.com',33,3,3,3,6,'zend',5,4,10,'admin@yoursite.com','0000-00-00 00:00:00','2012-03-22 22:43:51'); /*!40000 ALTER TABLE `settings` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
f2155042dc7ef35d1506617a9efcaee3d5abf68b
449d555969bfd7befe906877abab098c6e63a0e8
/2354/CH17/EX17.4/17_4.sce
22bedfb719121c279fba43e73e2df836ee6cfd00
[]
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
610
sce
17_4.sce
//example 17.4 clc; funcprot(0); // Initialization of Variable pi=3.14; Ts=128.4; Tinfinity=26.2; k=0.03; D=0.0127;//m Re=6071;//reynold's no Pr=0.7; qconv=46; A=pi*0.0127*0.094; h=0.85*qconv/A/(Ts-Tinfinity); disp(h,"heat transfer coefficient in W/m^2-K"); Nu=0.3+0.62*Re^0.5*Pr^0.33/(1+0.4^0.66*Pr^0.66)^0.25*(1+(Re/282000)^0.625)^0.8; hbar=Nu*k/D; disp(Nu,"Nusselt no is") disp(hbar,"heat transfer coefficient in W/m^2-K"); //using Hilpert correlation Nu1=0.193*Re^0.618*Pr^0.333; disp(Nu1,"Nusselt no is"); hbar1=Nu1*k/D; disp(hbar1,"heat transfer coefficient in W/m^2-K"); clear()
48fe201fab110639d3373dff3c8959175a71b6db
449d555969bfd7befe906877abab098c6e63a0e8
/2021/CH11/EX11.6/EX11_6.sce
31fd7385a92c4f789909104485b9aa82da70f252
[]
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
269
sce
EX11_6.sce
//Finding of Pressure Gradient , Shear at wall //Given D=15; f=0.05; r=4; tau=0.01962; //To Find R=64/f; dp=-(tau*(2/r)); dp1=-dp; r1=D/2; tau2=(tau*r1)/r; disp("Pressure Gradient ="+string(dp1)+" N/m^3"); disp(" Shear at wall ="+string(tau2)+" N/cm^2");
06a226eebfb2f90a1d84dd851f4c76a88dc2282a
449d555969bfd7befe906877abab098c6e63a0e8
/3710/CH3/EX3.5/Ex3_5.sce
e202a6373f3e47a43b8ca51e47ccf9d5553768a1
[]
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
435
sce
Ex3_5.sce
//Example 3.5, Page Number 123 //Phase Matching Angle clc; //The following values have been taken from the table on page no 123 no1=1.4943//no for l=1.06 no2=1.5132//no for l=0.53 nc=1.4712//nc for l=0.53 t2=((no1**-2)-(no2**-2))/((nc**-2)-(no2**-2)) theta=asin(t2) //Converting it into degrees degrees=theta * (180/%pi) //theta is the phase matching angle mprintf("The Phase matching angle is %d degrees",degrees);
a7e93270e7528c88664966e312c8bfc20f34c2e5
449d555969bfd7befe906877abab098c6e63a0e8
/1538/CH3/EX3.6/Ex3_6.sce
6c0885a135e35f1beca6c47f6ec16bfed152b868
[]
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
333
sce
Ex3_6.sce
//example-3.6 //page no-80 //given //density of iron rho=7.86 //gm/cm^3 //atomic weight of iron Aw=55.85 //iron has BCC unit structure Ne=2 //avogadros no. Na=6.023*10^(23) //side of the unit cell a=(Aw*Ne/(Na*rho))^(1/3) //cm //atomic radius r=3^(1/3)*a/4*10^8 //A printf ("the atomic radius of iron is %f A",r)
ddee1c307beeab647e3e33042aebc2108c14a99f
fd4b1f9f2f7fc4cac772482125a749e51c444ca1
/Metodo de Gauss.sci
e0b413bc6314a98d6ca52a261d38f223318f420b
[]
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
4,697
sci
Metodo de Gauss.sci
function print_matriz(A,n) for i= 1:n for j=1:n printf ("%f ",A(i,j)) end printf("\n") end printf("\n") endfunction function x = sumar_fila(a,i,j,mult,n) for k=1:n a(i,k) = a(i,k) + (-mult)*a(j,k) end x=a endfunction function y=verificar_matriz(L,n) y=0 for i=1:n for j=1:n if ~(i==j) & ~(L(i,j)==0) then y=1 end end end endfunction function a = permutacion_aux(a,n,i,j) for k=1:n t=a(i,k) a(i,k)=a(j,k) a(j,k)=t end endfunction function [a,v,l] = permutacion(a,n,j,v,l) k=-1 for i = j:n //Existe un pivote distinto de 0 pues la matriz A no es singular if ~(a(i,j) == 0)//Cuando encuentra un pivote no nulo corta k=i break; end end //Permuta las filas de la matrices para utilizar el pivote no nulo a = permutacion_aux(a,n,k,j) v = permutacion_aux(v,n,k,j) l = permutacion_aux(l,n,k,j) endfunction function [a,p,l]= permutacion_escalable(a,n,j,p,l) M = -1 t=-1 for i=j:n m=-1 for k=j:n if abs(a(i,k))>m then//Busca el maximo valor de la k-esima fila m = abs(a(i,k)) end end if (abs(a(i,j))/m)>t then//Busca el valor que verifica la condicion del ejercicio 3 M=i t=(abs(a(i,j))/m) end end //Permuta las filas las matrices para usar la fila M como pivote a=permutacion_aux(a,n,M,j) p=permutacion_aux(p,n,M,j) l=permutacion_aux(l,n,M,j) endfunction function [l,a] = gauss_sin_pivote(a,n) l = eye(n,n) for j=1:n-1//Aplica metodo de Gauss sin pivoteo si es posible if a(j,j)==0 then printf("Es necesario permutar filas\n") a=eye(n,n) l=eye(n,n) end for i=(j+1):n l(i,j) = a(i,j)/a(j,j) a= sumar_fila(a,i,j,l(i,j),n) end end endfunction function [p,l,a] = gauss_con_pivote(a,n) p = eye(n,n) l = zeros(n,n) if det(a) then for j=1:n-1 while a(j,j) == 0//Si el pivote es nulo realiza un intercambio de filas [a,p,l]=permutacion(a,n,j,p,l) end for i=(j+1):n//Completa la matriz L modifica la matriz A l(i,j) = a(i,j)/a(j,j) a=sumar_fila(a,i,j,l(i,j),n) end end for i=1:n//Agrega los 1 en la diagonal l(i,i)=1 end else printf("Matriz singular\n"); end endfunction function [p,l,a] = gauss_escalable(a,n) p = eye(n,n) l = zeros(n,n) if det(a) then for j=1:n-1 [a,p,l]=permutacion_escalable(a,n,j,p,l)//Permuta las filas de las matriz for i=(j+1):n//Completa la matriz L y modifica las matriz A para llegar a una matriz triangular superior l(i,j) = a(i,j)/a(j,j) a=sumar_fila(a,i,j,l(i,j),n) end end for i=1:n//Agrega los 1 en la diagonal l(i,i)=1 end else printf("Matriz singular\n"); end endfunction function S = resolver_sin_pivote(A,n,vcons) //Resuelve un sistema de ecuaciones sin permutar filas S = zeros(n,1) [L,A] = gauss_sin_pivote(A,n)//Factoriza la matriz A=LU if verificar_matriz(L,n) then//Si no fue necesario intercambiar filas vcons = inv(L) * vcons' S(n)=vcons(n)/A(n,n)//Resuelvo por sustitucion hacia atras for i = 1:n-1 s=0 e=n-i for j= e+1:n s=s+A(e,j)*S(j) end S(e)=(vcons(e)-s)/A(e,e) end end endfunction function S = resolver_con_pivote(A,n,vcons) //Resuelve un sistema de ecuaciones permutando filas S = zeros(n,1) [P,L,A] = gauss_con_pivote(A,n)//Aplica la factorizacion PA=LU vcons = P * vcons' vcons = inv(L) * vcons S(n)=vcons(n)/A(n,n) for i = 1:n-1 //Resuelve haciendo sustitucion hacia atras s=0 e=n-i for j= e+1:n s=s+A(e,j)*S(j) end S(e)=(vcons(e)-s)/A(e,e) end endfunction function S = resolver_escalable(A,n,vcons) //Resuelve un sistema de ecuaciones aplicacion la factorizacion descripta en el ejercicio 3 S = zeros(n,1) [P,L,A] = gauss_escalable(A,n)//Factoriza la matriz vcons = P * vcons' vcons = inv(L) * vcons S(n)=vcons(n)/A(n,n) for i = 1:n-1//Resuelve aplicando sustitucion hacia atras s=0 e=n-i for j= e+1:n s=s+A(e,j)*S(j) end S(e)=(vcons(e)-s)/A(e,e) end endfunction
05f335fab5d13deb91d5bef7bbd751bff6cb8460
449d555969bfd7befe906877abab098c6e63a0e8
/3523/CH19/EX19.18.2/Ex19_2.sce
50a38bfc764823cb4280c086ffd4906e3692ef5f
[]
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
180
sce
Ex19_2.sce
clear all clc close rho=30*1e-3;//Charge density in C/m^3 Vo=30*1e3;//Voltage in V //Calculation of pumping pressure P=Vo*rho; printf('Pumping pressure is %f N/m^2',P)
43a2fa97b2138da4be8c1c993bbdc5896b07e8fe
449d555969bfd7befe906877abab098c6e63a0e8
/3769/CH9/EX9.10/Ex9_10.sce
e63222c5cea7a242faf798e8925e02d2a0f0f4dd
[]
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
166
sce
Ex9_10.sce
clear //Given I=4 u=10**-7 a=0.2 //m v=4*10**6 q=1.6*10**-19 //Calculation B=(u*2*I)/a F=q*v*B //Result printf("\n Force is %0.3f N", F)
dd372e9d6a3f885812331fd1efda441120825cc4
57a39df08383d18148a77915551223cef3bc8cd6
/low pass filters.sce
76bbe14799378b5db9897a83ada6435f05a2bfca
[]
no_license
sonusharma55/Misc.-MATLAB-Scilab
0abbc7ab22e963b3b3e147a18e17af2f3021d3ce
dbfaab1b84719948ef665798c4192e6ca934e46a
refs/heads/master
2020-07-25T22:00:11.975476
2019-09-14T12:31:37
2019-09-14T12:31:37
208,434,501
0
0
null
null
null
null
UTF-8
Scilab
false
false
601
sce
low pass filters.sce
fcut = 5;//hz n = 7;//Filter order hc1 = analpf(n,'cheb1',[0.1 0],fcut*2*%pi); hc2 = analpf(n,'cheb2',[0 0.1],fcut*2*%pi); he = analpf(n,'ellip',[0.1 0.1],fcut*2*%pi); hb = analpf(n,'butt',[0 0],fcut*2*%pi); hc1.dt='c'; hc2.dt='c'; he.dt='c'; hb.dt='c'; clf(); [fr, hf] = repfreq(hc1,0,15); plot(fr,abs(hf),'b') [fr,hf]=repfreq(hc2,0,15); plot(fr,abs(hf),'g') [fr,hf]=repfreq(he,0,15); plot(fr,abs(hf),'r') [fr,hf]=repfreq(hb,0,15); plot(fr,abs(hf),'c') legend(["Chebyshev I","Chebyshev II","Elliptic","Butterworth"]); xgrid() xlabel("Frequency(Hz)") ylabel("Gain") title("Analog filters of order 7")
122b3c8bf2c0d45a478cbce43c7be9049bd17373
449d555969bfd7befe906877abab098c6e63a0e8
/3492/CH7/EX7.2/Ex7_2.sce
68abb4f36c2aea75976040c16b62a81eceaee591
[]
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
486
sce
Ex7_2.sce
clc //Chapter7 //Ex_2 //Given N=5*10^28 //in m^-3 e=1.6*10^-19 // in coulombs Z=4 me=9.1*10^-31 //in Kg epsilon_o=8.85*10^-12//F/m2 epsilon_r=11.9 //part(a) alpha_e=(3*epsilon_o/N)*((epsilon_r-1)/(epsilon_r+2)) disp(alpha_e,"Electronic polarizability in F/m2") //part(b) //let x=E_loc/E x=(epsilon_r+2)/3 printf("Local field is a factor of %f greater than applied field",x) //part(c) wo=sqrt(Z*e^2/(me*alpha_e)) fo=wo/(2*%pi) disp(fo,"resonant frequency in Hz is")
ef07c3a7ae826a10faf7b62ebe8727797f885707
449d555969bfd7befe906877abab098c6e63a0e8
/51/CH9/EX9.12/9_12.sce
b2710c439729c49caa3a1c5563f52b5ceb9653a0
[]
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
958
sce
9_12.sce
clc; clear; Dg=1.69;//in. Wg=0.0992;//lb Ug=200;//ft/sec Dt=1.5;//in. Wt=0.00551;//lb Ut=60;//ft/sec kvis=(1.57*(10^(-4)));//(ft^2)/sec Reg=Ug*Dg/kvis; Ret=Ut*Dt/kvis; //the corresponding drag coefficients are calculated as CDgs=0.25;//standard golf ball CDgsm=0.51;//smooth golf ball CDt=0.5;//table tennis ball Dgs=0.5*0.00238*(Ug^2)*%pi*((Dg/12)^2)*CDgs/4;//lb Dgsm=0.5*0.00238*(Ug^2)*%pi*((Dg/12)^2)*CDgsm/4;//lb Dt=0.5*0.00238*(Ut^2)*%pi*((Dt/12)^2)*CDt/4;//lb //the corresponding decelerations are a=D/s=g*D/W //deceleration relative to g=D/W decgs=Dgs/Wg; decgsm=Dgsm/Wg; dect=Dt/Wt; disp("STANDARD GOLF BALL:") disp("lb",Dgs,"The drag coefficient=") disp(decgs,"The deceleration relative to g=") disp("SMOOTH GOLF BALL:") disp("lb",Dgsm,"The drag coefficient=") disp(decgsm,"The deceleration relative to g=") disp("TABLE TENNIS BALL:") disp("lb",Dt,"The drag coefficient=") disp(dect,"The deceleration relative to g=")
7580da1910ebba63f373aa2adad777a23fab6dd6
3cbee2296fd6b54f80587eead83813d4c878e06a
/sci2blif/rasp_design_added_blocks/inv_mcab.sce
76afbfd6be3b11d4f12fa53ec3e7a28aaa5ff4bf
[]
no_license
nikhil-soraba/rasp30
872afa4ad0820b8ca3ea4f232c4168193acbd854
936c6438de595f9ac30d5619a887419c5bae2b0f
refs/heads/master
2021-01-12T15:19:09.899590
2016-10-31T03:23:48
2016-10-31T03:23:48
71,756,442
0
0
null
2016-10-24T05:58:57
2016-10-24T05:58:56
null
UTF-8
Scilab
false
false
80
sce
inv_mcab.sce
style.displayedLabel="inv_mcab" pal5=xcosPalAddBlock(pal5,"inv_mcab",[],style);
052d263bb1685ed6f5dbfb08ec30d48f5ba94600
449d555969bfd7befe906877abab098c6e63a0e8
/1904/CH5/EX5.1/5_1.sce
ef892279dc98436e8c0ebfebaa6e42d267ae44a8
[]
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
945
sce
5_1.sce
//To determine the circuit parameters of a radial express feeder //Page 254 clc; clear; Z=0.1+(0.1*%i); //Feeder Impedance per unit R=real(Z); //Resistance X=imag(Z); //Reactance Vs=1; //Sending End Voltage Pr=1; //Constant Power Load pfr=0.8; //Power Factor at recieving end tr=acosd(pfr); //Power FActor angle deff('x=angle(y)','x=atand(imag(y)/real(y))') //Function to Determine the Angle of a phasor K=(Vs^2)-(2*Pr*(R+(X*tand(tr)))); Vr=sqrt((K/2)*(1+sqrt(1-((2*abs(Z)*Pr/(K*pfr))^2)))); //Recieving End Voltage C=Pr*(X-(R*tand(tr)))/((Vr^2)+(Pr*(R+(X*tand(tr))))); del=atand(C); Ir=(Pr/(abs(Vr)*pfr))*exp(-1*%pi*%i*tr/180) //Recieving End Current Is=Ir; //Sending End Current Tir=angle(Ir); Vr1=Vs-(Z*Ir); printf('\na) Vr is %g/_%g pu, del is %g degrees, Ir = Is = %g/_%g pu\n',abs(Vr),angle(Vr),del,abs(Ir),Tir) printf('b) Vr is %g/_%g pu, which is almost equal to the previous case.\n',Vr1,angle(Vr1))
383f86e71587cb959da3a5b59ba3a66707ade357
449d555969bfd7befe906877abab098c6e63a0e8
/409/CH24/EX24.6/Example24_6.sce
4bb77a7965d7ccf1952f4c7bbcaae4214b930bd0
[]
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,530
sce
Example24_6.sce
clear ; clc; // Example 24.6 printf('Example 24.6\n\n'); //page no. 736 // Solution Fig. E24.6 // Pick the system as shown in above figure of book // Given h1 = -15 ;// Initial level of water from ground level -[ft] h2 = 165 ;//Final level of water from ground level -[ft] V_rate = 200 ;// Volume flow rate of water - [gal/hr] Q1 = 30000 ;// Heat input by heater - [Btu/hr] Q2 = 25000 ;// Heat lost by system -[Btu/hr] T1 = 35 ;// Initial temperature of water - [degree F] g = 32.2 ;// Acceleration due to gravity - [ft/ square second] p_pump = 2 ;// Power of pump -[hp] f_w = 55/100 ;// Fraction of rated horsepower that i used in pumping water Cp = 1 ;// Specific heat capacity of water - [Btu/lb*F] // Use following conditions to simplify the energy balance // 1. Proces is in steady state , so change in energy = 0 // 2. m1 = m2 = m // 3. change in KE = 0 , because we will assume that v1 = v2 = 0 // The energy balance reduce to Q + W = del_(H*m + PE*m) m = V_rate * 8.33 ;// Total mass of water pumped -[lb] del_PE = (m* g *(h2 - h1))/(32.2*778) ;// Change in PE - [Btu/hr] Q = Q1 - Q2 ;// Net heat exchange -[Btu/hr] W = 2* f_w * 60 * 33000/778 ;// Work on system - [Btu/hr] del_H = Q + W - del_PE ;// By using reduced energy balance - [Btu/hr] // Also del_H = m* Cp * (T2 - T1), all is known except T2 , solve for T2 deff('[y] = f(T2)','y = m*Cp*(T2-T1) - del_H'); T2 = fsolve(40,f) ;// Boiling point temperature funcprot(0); printf(' Final temperature of water that enters storage tank is %.1f degree F .\n',T2);
884490b2434e3e9f1b18c112e8e03865c7eabb47
449d555969bfd7befe906877abab098c6e63a0e8
/1322/CH21/EX21.5/193ex1.sce
b48505c8f8c65f68877da5a1bb2142fd2841168d
[]
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
335
sce
193ex1.sce
//A=b*h/2 clear; clc; close; //A= the area of triangle.b=the length of base.h=the corresponding altitude // A depends on both b &h mprintf("\n A=k*b*h \n ") k=1/2
dbeaeb3d4d12d0cd995751cd10ef44b6438a85e3
0778f91e335afef58ae45c5a33184587cee76088
/Runge-Kutta 4.sce
1b61dfdaf15bb68ff1cc406fd522501856aa00b5
[]
no_license
LtavaresII/CN
b38e6f5531a3597f8705bdf163f4cec49f49d51e
0dcfb182692dee3ecf71d62162f986f816b3d687
refs/heads/master
2020-03-25T23:35:53.410172
2018-12-05T14:17:32
2018-12-05T14:17:32
144,282,768
0
0
null
null
null
null
UTF-8
Scilab
false
false
452
sce
Runge-Kutta 4.sce
function z = g(x,y) z = -1.2*y+7*exp(-0.3*x); endfunction function [x,y] = rk4(a,b,h,y0) x = a:h:b n = length(x); y(1)=y0 for i = 1:n-1 k1 = g(x(i),y(i)) k2 = g(x(i)+h/2,y(i) + k1*h/2) k3 = g(x(i)+h/2,y(i) + k2*h/2) k4 = g(x(i)+h,y(i) + k3*h) k = (k1 + 2*k2 + 2*k3 + k4)/6 y(i+1) = y(i) + k*h; end endfunction [x,ykr4] = kr4(0,2.5,0.5,3) plot(x',ykr4,'-')
e1155c2edcc148da57243a039934e5dc7303fdc7
449d555969bfd7befe906877abab098c6e63a0e8
/1472/CH16/EX16.2/16_2.sce
5317d6746ab85d2139c43ddff92ebae8733bed34
[]
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
290
sce
16_2.sce
clc //initialization of variables e=0.75 Ta=870 //R Tc=1075//R cp=0.24 Td=550 //R Tb=1700; //calculations Tadash=e*(Tc-Ta) +Ta Tcdash=Tc+Ta-Tadash Q1=cp*(Tb-Tadash) Q2=cp*(Tcdash-Td) Wnet=Q1-Q2 eta=Wnet/Q1 //results printf("Net work done = %d B/lb",Wnet) printf("\n efficiency = %.2f ",eta)
7e06373557b97b014a9eac6834ecd499566c7598
449d555969bfd7befe906877abab098c6e63a0e8
/3492/CH7/EX7.14/Ex7_14.sce
b9b5714b85b75183694a4a9a6936920978052983
[]
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
405
sce
Ex7_14.sce
clc //Chapter7 //Ex_14 //Given Co=5 //in pF fa=1.0025 //in MHz fs=1 //in MHz R=20 //in ohms C=Co*((fa/fs)^2-1) disp(C,"Capacitance value in the equivalent circuit of the crystal in pF is") L=1/(C*(2*%pi*fs)^2) disp(L,"Inductance value in the equivalent circuit of the crystal in Henry is") fs=fs*10^6 //in Hz C=C*10^-12 //in F Q=1/(2*%pi*fs*R*C) disp(Q,"Quality factor of the crystal is")
2d7d16d212a6bf1b9a1c49513239d954e8973ebe
449d555969bfd7befe906877abab098c6e63a0e8
/2792/CH10/EX10.2/Ex10_2.sce
80c8bcf4815e4bed8e23aa25b254b412bae8fbfd
[]
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,217
sce
Ex10_2.sce
clc K_dash = 25*10^-6 disp("K_dash = "+string(K_dash)+"A/V^2") VT = 1 disp("VT = "+string(VT)+"V") VDD = 5 disp("VDD = "+string(VDD)+"V") //initialising value of drain voltage VOL= 0.24 disp("VOL = "+string(VOL)+"V") //initialising value of output load voltage RL = 10^5 disp("RL = "+string(RL)+"ohm") //initialising value of load resistance VGS = 4.7 disp("VGS = "+string(VGS)+"V") //initialising value of gate and source voltage KL = (2*((VDD-VOL)/RL))/(VGS-VT)^2 disp("The parameter of load transistor is ,KL = (2*((VDD-VOL)/RL))/(VGS-VT)^2 = "+string(KL)+" A/V^2")//calculation Z_by_L = KL/K_dash disp("Z_by_L = KL/K_dash= "+string(Z_by_L))//calculation //NOTE: let L = 10*10^-6 disp("L = "+string(L)+"m") //initialising value of length of transistor Z = Z_by_L*L disp("the width of transistor is Z = Z_by_L*L= "+string(Z)+"m")//calculation //NOTE: let Z_by_L = 2 L1 = 3*10^-6 disp("L1 = "+string(L1)+"m") //initialising value of length of transistor Z1 = Z_by_L*L1 disp("the width of transistor is Z1 = Z_by_L*L1= "+string(Z1)+"m")//calculation // Note : due to different precisions taken by me and the author ... my answer differ and author also takes the approximate values
1ff22999898859d1e36e5d6e4d48fc02c35be588
8df791f9387f1c5538e8fb4cccb82ea4a130e879
/itpp_crc_encode/builder_gateway_cpp.sce
d07fa44a867dee2c83db590f4791e087330be474
[]
no_license
tripathiaishwarya/itpp_repo
b94552677dbbfc2ed461d59de6a7efde37ec547e
fcd832287f3651b192339dbdbf15933045ca8aff
refs/heads/master
2021-01-10T21:54:05.263442
2015-06-25T08:19:01
2015-06-25T08:19:01
37,813,835
2
1
null
null
null
null
UTF-8
Scilab
false
false
382
sce
builder_gateway_cpp.sce
// Builder gateway function for CRC Code encoding function builder_gw_cpp() WITHOUT_AUTO_PUTLHSVAR = %t; tbx_build_gateway("skeleton_cpp", .. ["crc_encode","itpp_crc_encode"], .. ["itpp_crc_encode.cpp"], .. get_absolute_file_path("builder_gateway_cpp.sce"), [], "-litpp"); endfunction builder_gw_cpp(); clear builder_gw_cpp; // remove builder_gw_cpp on stack
14819a7ea30851e07a7cb8ad0bbce375db242146
449d555969bfd7befe906877abab098c6e63a0e8
/1238/CH1/EX1.11/11.sce
b2bf00fa1760de06c4b7d8921f289ffd17fc6125
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
358
sce
11.sce
//hex to binary and decimal conversion// //example 11// clc //clears the command window// clear //clears// //decimal conversion// x='CD42' a=hex2dec('CD42');//hex to decimal conversion// disp(a);//answer displayed in decimal form// //binary conversion// b=dec2bin(a);//dedcimal to binary conversion// disp(b);//answer displayed in binary form//
8dbdf5a9c6c3d5cc297ea48792ffa9e86a5d8faa
449d555969bfd7befe906877abab098c6e63a0e8
/1226/CH3/EX3.23/EX3_23.sce
726f589a02ce416dbbf9ecb3f423a4542cf81e6a
[]
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
848
sce
EX3_23.sce
clc;funcprot(0);//EXAMPLE 3.23 // Initialisation of Variables Vs=0.0053;................//Swept volume in m^3 Vc=0.00035;...............//Clearance volume in m^3 v3=Vc; v2=Vc; p3=65;..................//Max pressure in bar co=5;...................//Cut off percentage p4=p3;ga=1.4;...............//Ratio of specific heats t1=353;....................//Temperature at the start of compression in K p1=0.9;...................//Pressure at the start of compression in bar //Calculations r=1+(Vs/Vc);...................//Compression ratio rho=(((co/100)*Vs)/Vc)+1;...................//Cut off ratio p2=p1*(r^ga); Beta=p3/p2;.............................//Explosion ratio etadual=1-[(1/(r^(ga-1)))*((Beta*(rho^ga))-1)*(1/((Beta-1)+(Beta*ga*(rho-1))))];............//Efficiency of dual cycle disp(etadual*100,"Efficiency of dual cycle:")
fd3b1f0889049a9b6756fd2982c618114f594586
449d555969bfd7befe906877abab098c6e63a0e8
/1286/CH8/EX8.8/8_8.sce
03cafd94a1363b47abe14ae8130a346d54c7c3cf
[]
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
215
sce
8_8.sce
clc //initialisation of variables w=100//watt T2=100+273//k T1=273//k L=80000//cal/kg //CALCULATIONS dt=T2-T1 Q1=T2*w/dt m=(Q1-w)*60/(4.2*L) //results printf(' \n mass of ice melts in 1 min= % 1f kg',m)
6b8b495c9dcccda4203f534980f5ee41c57e05b7
c97f1012c16b4b69519dd7ec098626470b2f92a7
/examples/blok01.tst
a5f1a1aa25d39254dda14b12e5e527d2ae9f1652
[]
no_license
markpeerdeman/mbemm
984211602bfc9be41f71deab4a45500123f4b703
4cfa4b8211068090655abb77e42ad594e0d4e747
refs/heads/master
2020-07-13T18:43:50.974575
2019-10-17T11:18:48
2019-10-17T11:18:48
205,133,254
2
0
null
2019-10-17T11:18:51
2019-08-29T09:56:05
C
UTF-8
Scilab
false
false
50
tst
blok01.tst
362.610u 0.410s 6:37.03 91.4% 0+0k 0+0io 134pf+0w
8b982d2ed129d354407142b6c6ac95a64f927529
ac66d3377862c825111275d71485e42fdec9c1bd
/Resources/res/map/map2306.sce
d265e143d05c33481afca9a03fbd3a7fb38e3326
[]
no_license
AIRIA/CreazyBomber
2338d2ad46218180f822682d680ece3a8e0b46c3
68668fb95a9865ef1306e5b0d24fd959531eb7ad
refs/heads/master
2021-01-10T19:58:49.272075
2014-07-15T09:55:00
2014-07-15T09:55:00
19,776,025
0
2
null
null
null
null
UTF-8
Scilab
false
false
7,401
sce
map2306.sce
<?xml version="1.0" encoding="UTF-8"?> <Project Name="map2306" Width="17" Height="17" CellSize="40" BackgroundSize="2" Background="_t.png"> <Cell Name="出生点" X="2" Y="1" /> <Cell Name="食人鱼-左" X="7" Y="1" arg0="2" arg1="1.00" /> <Cell Name="bc-雪球-下" X="8" Y="1" arg0="50" arg1="1,2.5" arg2="1,14" /> <Cell Name="bc-雪球-下" X="9" Y="1" arg0="50" arg1="1,1" arg2="1,14" /> <Cell Name="食人鱼-左" X="15" Y="1" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="7" Y="2" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="2" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="12" Y="2" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="13" Y="2" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="14" Y="2" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="2" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="2" Y="3" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="4" Y="3" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="5" Y="3" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="6" Y="3" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="7" Y="3" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="3" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="3" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="4" /> <Cell Name="食人鱼-右" X="2" Y="4" arg0="3" arg1="1.00" /> <Cell Name="冰块" X="6" Y="4" /> <Cell Name="食人鱼-左" X="7" Y="4" arg0="2" arg1="1.00" /> <Cell Name="企鹅(怪)-bt" X="8" Y="4" arg0="38" /> <Cell Name="食人鱼-右" X="10" Y="4" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="11" Y="4" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="12" Y="4" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="13" Y="4" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="4" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="5" /> <Cell Name="食人鱼-右" X="2" Y="5" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="3" Y="5" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="4" Y="5" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="5" Y="5" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="7" Y="5" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="5" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="5" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="6" /> <Cell Name="食人鱼-右" X="2" Y="6" arg0="3" arg1="1.00" /> <Cell Name="企鹅(怪)-bt" X="3" Y="6" arg0="38" /> <Cell Name="食人鱼-左" X="7" Y="6" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="6" arg0="3" arg1="1.00" /> <Cell Name="企鹅(怪)-bt" X="11" Y="6" arg0="38" /> <Cell Name="食人鱼-左" X="12" Y="6" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="13" Y="6" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="14" Y="6" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="6" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="7" /> <Cell Name="食人鱼-右" X="2" Y="7" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="4" Y="7" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="5" Y="7" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="6" Y="7" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="7" Y="7" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="7" arg0="3" arg1="1.00" /> <Cell Name="冰块" X="14" Y="7" /> <Cell Name="食人鱼-左" X="15" Y="7" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="8" /> <Cell Name="食人鱼-右" X="2" Y="8" arg0="3" arg1="1.00" /> <Cell Name="冰块" X="6" Y="8" /> <Cell Name="食人鱼-左" X="7" Y="8" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="8" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="11" Y="8" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="12" Y="8" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="13" Y="8" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="8" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="9" /> <Cell Name="食人鱼-右" X="2" Y="9" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="3" Y="9" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="4" Y="9" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="5" Y="9" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="7" Y="9" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="9" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="9" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="10" /> <Cell Name="食人鱼-右" X="2" Y="10" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="7" Y="10" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="10" arg0="3" arg1="1.00" /> <Cell Name="企鹅(怪)-bt" X="11" Y="10" arg0="38" /> <Cell Name="食人鱼-左" X="12" Y="10" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="13" Y="10" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="14" Y="10" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="10" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="11" /> <Cell Name="食人鱼-右" X="2" Y="11" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="4" Y="11" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="5" Y="11" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="6" Y="11" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="7" Y="11" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="11" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="11" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="12" /> <Cell Name="食人鱼-右" X="2" Y="12" arg0="3" arg1="1.00" /> <Cell Name="企鹅(怪)-bt" X="3" Y="12" arg0="38" /> <Cell Name="食人鱼-左" X="7" Y="12" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="12" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="11" Y="12" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="12" Y="12" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="13" Y="12" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="12" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="13" /> <Cell Name="食人鱼-右" X="2" Y="13" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="3" Y="13" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="4" Y="13" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-右" X="5" Y="13" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="7" Y="13" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="13" arg0="3" arg1="1.00" /> <Cell Name="冰块" X="14" Y="13" /> <Cell Name="食人鱼-左" X="15" Y="13" arg0="2" arg1="1.00" /> <Cell Name="冰块" X="1" Y="14" /> <Cell Name="食人鱼-右" X="2" Y="14" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="7" Y="14" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="10" Y="14" arg0="3" arg1="1.00" /> <Cell Name="食人鱼-左" X="13" Y="14" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="14" Y="14" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-左" X="15" Y="14" arg0="2" arg1="1.00" /> <Cell Name="食人鱼-右" X="2" Y="15" arg0="3" arg1="1.00" /> <Cell Name="冰块" X="7" Y="15" /> <Cell Name="食人鱼-右" X="10" Y="15" arg0="3" arg1="1.00" /> <Cell Name="通关点-1" X="14" Y="15" /> </Project>
783951b1fcc314515fdcdd0f998085d35223664d
449d555969bfd7befe906877abab098c6e63a0e8
/1946/CH9/EX9.8/Ex_9_8.sce
71162a1a606780cc66a3dc769a89dbefd527fdbb
[]
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
438
sce
Ex_9_8.sce
// Example 9.8;//multiplication factor clc; clear; close; e=1.6*10^-19;//elecronic charge h=0.9;//wavelength in micro meter C=3*10^8;//SPEED of light in meter per second n=0.80;//efficiency ht=6.62*10^-34;//plank constt. I=12;//CURRENT IN MICRO AMPERE Po=0.5;//output power in micro watt R=((n*e*h*10^-6)/(ht*C)); Ip=Po*R;//photocurrent in micro ampere M=I/Ip;//Multilplication factor disp(M,"Multilplication factor IS")
cb4c73a52987c820801ace9817d345e57e4620dc
449d555969bfd7befe906877abab098c6e63a0e8
/401/CH12/EX12.1/Example12_1.sce
60bfbf6ec9fe229475c03f8f5a6762dc5fb99526
[]
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
974
sce
Example12_1.sce
//Example 12.1 //Program to determine: //(a)Bit rate for the system //(b)The duration of a time slot //(c)The duration of a frame and multiframe clear; clc ; close ; //Given data f=8*10^3; //Hz - SAMPLING RATE b=8; //bits - SAMPLE SIZE T=32; //NUMBER OF TIME SLOTS //(a)Bit rate for the system Number_of_bits=T*b; Bit_rate=f*Number_of_bits //(b)The duration of a time slot Bit_duration=1/Bit_rate; Slot_duration=b*Bit_duration; //(c)The duration of a frame and multiframe Duration_of_frame=T*Slot_duration; Duration_of_multiframe=T/2*Duration_of_frame; //Displaying The Results in Command Window printf("\n\n\t (a)Bit rate for the system is %0.3f Mbit/s.",Bit_rate/10^6); printf("\n\n\t (b)The duration of a time slot is %0.1f us.",Slot_duration/10^(-6)); printf("\n\n\t (c)The duration of a frame is %1.0f us and multiframe is %1.0f ms.",Duration_of_frame/10^(-6),Duration_of_multiframe/10^(-3));
295773260557d9058ca3eb6d16d108d9473da144
67a252961f6616fc6db89eb11c1c83abf4d41468
/CS4110Design2/CS16B032AddSub16.tst
78fb3d51e9f3bd1413f52791b497f1289167de5d
[]
no_license
ramyavelaga9/CS4110
5a45497cd7ef28d4472a57a257dad8e5f4a3d17b
4a3cd82916820e4f7a4930a0efce14def8268dfc
refs/heads/master
2020-07-17T23:41:12.196500
2019-11-20T04:24:32
2019-11-20T04:24:32
203,223,619
0
0
null
null
null
null
UTF-8
Scilab
false
false
802
tst
CS16B032AddSub16.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/02/Add16.tst load CS16B032AddSub16.hdl, output-file CS16B032AddSub16.out, compare-to CS16B032AddSub16.cmp, output-list a%B1.16.1 b%B1.16.1 cntrl%B3.1.3 out%B1.16.1; set a %B0000000000000000, set b %B0000000000000000, set cntrl 0, eval, output; set a %B0000000000000000, set b %B1111111111111111, set cntrl 1, eval, output; set a %B1111111111111111, set b %B1111111111111111, set cntrl 0, eval, output; set a %B1010101010101010, set b %B0101010101010101, set cntrl 1, eval, output; set a %B0011110011000011, set b %B0000111111110000, set cntrl 0, eval, output; set a %B0001001000110100, set b %B1001100001110110, set cntrl 1, eval, output;
5879b549b309641c7f56594b1d5956355a385066
449d555969bfd7befe906877abab098c6e63a0e8
/3537/CH6/EX6.6/Ex6_6.sce
c3c620053d039cfe483c796049141d88d4e2b4f1
[]
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
388
sce
Ex6_6.sce
//Example 6_6 clc(); clear; //To calculate the ratio of stimulated emission rate to spontaneous emission c=3*10^8 //units in met/sec lamda=0.5*10^-9 v=(c/lamda)*10^-3 //units in hz h=6.626*10^-34 //units in J S kb=1.381*10^-23 //units in J/K t=1000 b21_a21=1/(exp((h*v)/(kb*t))-1) printf("The ratio of Simulated emission to spontaneous emission B21/A21=") disp(b21_a21)
b3e9ad2408edbe776fb3e6428e4d06a349dab36e
449d555969bfd7befe906877abab098c6e63a0e8
/2141/CH5/EX5.13/Ex5_13.sce
f31753bcc129b62db1dc0cc3206ecea5430cf33e
[]
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
299
sce
Ex5_13.sce
clc //initialisation of variables Pe=20 //lbf/in^2 he=1279.1 //Btu/lbm Te=484.2 //F delT=-15.8 //F delP=-80 //lbf/in^2 //CALCULATIONS Mu=delT/delP//-F/lbf //RESULTS printf('The final temperture and specific volume of the steam and the average joule-thomson coefficient=% f -F/lbf',Mu)
ef602d9f5dddbfc8542b07324f8d6b96d629c0e4
8293f7c8800a04665e23ea5814feac83786d8b75
/VRD_multi/multi2/bolha_limon.sce
75eafcfe12b3bc3027618739e70f2292176f37cb
[]
no_license
gusplatt/paper_libotte
6deb983260bc62b0645f3c3f4b674162829b6e02
249eae1595b581e350c6479fcdda4446c9f2c54e
refs/heads/master
2021-01-19T19:18:46.392726
2017-10-03T23:21:22
2017-10-03T23:21:22
101,187,042
0
0
null
null
null
null
UTF-8
Scilab
false
false
7,000
sce
bolha_limon.sce
/////////////////////////////////////////////////////////////////////////// // Bacias de raízes para o fenômeno VRD // // Versão para trabalho no X Encontro de Modelagem Computacional // // Setembro de 2007 // // Autor: Gustavo Mendes Platt // /////////////////////////////////////////////////////////////////////////// clc clear mode(-1) function [f,penal] = Fi(teta,N,bbeta,flag) x1 = teta(1); x = [x1 ; 1-x1]; y = [teta(3);teta(4)]; P = teta(5); //% ---------- Dados de entrada para Etano + Limoneno -------- % R = 8.31434e-3; //% Constante universal dos gases em kPa*m3/mol*K Tc1 = 305.3; //% Temperatura critica do Etano em Kelvin Tc2 = 660.0; //% Temperatura critica do Limoneno em Kelvin Pc1 = 4872; // Pressão crítica do Etano em kPa Pc2 = 2750; //% Pressao critica do limoneno em kPa w1 = 0.100; //% Fator acentrico para o Etano w2 = 0.313; //% fator acentrico para o Limoneno T = 308.0; //% Temperatura em Kelvin (observe-se que T>Tc do etano, "double-dome") Tr1 = T/Tc1; Tr2 = T/Tc2; k1 = 0.37464 + (1.5422*w1) - ((0.26992)*(w1^2)); k2 = 0.37464 + (1.5422*w2) - ((0.26992)*(w2^2)); alfa1 = (1+k1*(1-(Tr1^(1/2))))^2; alfa2 = (1+k2*(1-(Tr2^(1/2))))^2; a1 = (0.45724*(R^2)*(Tc1^2)/Pc1) * alfa1; a2 = (0.45724*(R^2)*(Tc2^2)/Pc2) * alfa2; k11 = 0; k22 = 0; k12 = 0; k21 = 0; a11 = sqrt(a1*a1)*(1-k11); a12 = sqrt(a1*a2)*(1-k12); a21 = sqrt(a2*a1)*(1-k21); a22 = sqrt(a2*a2)*(1-k22); b1 = 0.07780*R*Tc1/Pc1; b2 = 0.07780*R*Tc2/Pc2; if flag == 0 ccomp = x; else ccomp = y; end //% --------- Regra de Lorentz --------- % //% i=1 b11 = ((((b1^(1/3))+(b1^(1/3)))/2)^3); b12 = ((((b1^(1/3))+(b2^(1/3)))/2)^3) * (1-0.07484); //% i=2 b21 = ((((b2^(1/3))+(b1^(1/3))))/2)^3* (1-0.07484); b22 = ((((b2^(1/3))+(b2^(1/3))))/2)^3; // regra de combinação clássica b11 = b1; b12 = (b1+ b2)/2; b21 = b12; b22 = b2; //% --------- Regras de mistura --------- % a = ccomp(1)^2*a11 + 2*ccomp(1)*ccomp(2)*a12 + ccomp(2)^2*a22; b = ccomp(1)*b11 + ccomp(2)*b22; A = (a*P)/(R^2*T^2); B = (b*P)/(R*T); //% --------- Derivadas ----------- % //%% i=1, i=2 dA1 = b11; dA2 = b22; //%% i=1, i=2 dB1 = 2*ccomp(1)*a11 + 2*ccomp(2)*a12; dB2 = 2*ccomp(1)*a21 + 2*ccomp(2)*a22; //%---------- Raizes ----------% Z = poly([-(A*B-B^3-B^2) A-2*B-3*B^2 -(1-B) 1],"z","coeff") // Eq. de Peng-Robinson na forma cúbica z = roots(Z); // fator de compressibilidade aux = (z == real(z)); // verdadeiro para raízes reais e falso para complexas aux = aux.*z; // multiplicação elemento-a-elemento de modo a eliminar raízes complexas aux2 = find(aux~=0); // localiza posições onde há raízes reais z = real(z(aux2)); // seleciona raízes reais if length(z)==1 penal = 1; else penal = 0; end if flag==0 // seleciona raiz para a fase líquida z = min(real(z)); elseif flag==1 // seleciona raiz para a fase vapor z = max(real(z)); end Vol = z*R*T/P; //% --------- Coeficiente de fugacidade ----------% //% phii do componente 1 f1=exp((-log ((P*Vol)/(R*T) - (P*b)/(R*T))) + (1/b*dA1*(((P*Vol)/(R*T))-1))+... ((1/(2*sqrt(2)))*(a/(b*R*T))*((1/a)*dB1-(1/b)*dA1))*log((Vol+b*(1-sqrt(2)))/(Vol+b*(1+sqrt(2))))); //% Fi do componente 2 f2=exp((-log ((P*Vol)/(R*T) - (P*b)/(R*T))) + (1/b*dA2*(((P*Vol)/(R*T))-1))+... ((1/(2*sqrt(2)))*(a/(b*R*T))*((1/a)*dB2-(1/b)*dA2))*log((Vol+b*(1-sqrt(2)))/(Vol+b*(1+sqrt(2))))); f = [f1;f2]; endfunction function g = ef(teta,N,bbeta) g1 = (N - (1-bbeta)*teta(1:2) - bbeta*teta(3:4)); [Fiv,penalL] = Fi(teta,N,bbeta,1); [Fil,penalV] = Fi(teta,N,bbeta,0); g2 = Fiv(1:2).*teta(3:4) - Fil(1:2).*teta(1:2); g3 = teta(3) + teta(4) - 1; g = [g1 ; g2 ; g3]; endfunction function jj = jacobiana(teta,N,bbeta); jac = []; for k = 1:5 base = ef(teta,N,bbeta) teta(k) = teta(k) + 1e-5; avan = ef(teta,N,bbeta); teta(k) = teta(k) - 1e-5; der = (avan - base)/1e-5; jac = [jac der]; end jj = jac; endfunction // programa principal vp = []; vy = []; vx = []; bbeta = 0; // calcula ponto de bolha estimay = 0.95; estimap = 500; for x1 = 0.100:0.001:0.999 disp(x1) N1 = x1; teta0 = [N1 ; 1-N1 ; estimay ; 1-estimay; estimap]; N = [N1 ; 1-N1]; erro = 100; cont = 0; while (erro > 1e-8) valor = ef(teta0,N,bbeta); jacob = jacobiana(teta0,N,bbeta); testaj = max(isnan(jacob)*ones(5,5)); // testa valores não numéricos na matriz jacobiana testaj2 = max(isinf(jacob)*ones(5,5)); // testa valores infinitos na matriz jacobiana //disp(valor),disp(jacob),pause if (testaj == 0)&(testaj2 == 0) if rank(jacob) == 5 flanewton = 0; passo = 1; while flanewton == 0 novoteta = teta0 - passo*real(inv(jacob)*valor) if (novoteta(1)>0)&(novoteta(2)>0)&(novoteta(3)>0)&(novoteta(4)>0)&(novoteta(5)>0)&(novoteta(1)<1)&(novoteta(2)<1)&(novoteta(3)<1)&(novoteta(4)<1) flanewton = 1; else passo = passo/2; end end erro = norm(novoteta - teta0) teta0 = novoteta; cont = cont + 1; else disp('Zebra.Problema singular.'),erro = -1; end else disp('Zebra. Valor não numérico na matriz jacobiana.'), erro = -1; end if cont>= 200 erro = -1; // ultrapassou o número máximo de iterações do MNR //disp('Mais de 200 iteraçoes') end end estimay = teta0(3); estimap = teta0(5); //pause if erro >= 0 [Fiv,penalL] = Fi(novoteta,N,bbeta,1); [Fil,penalV] = Fi(novoteta,N,bbeta,0); if norm(Fiv-Fil)<1e-3 //disp('Zebra. Solução trivial.') vp = [vp ; -2]; vy = [vy ; -2]; vx = [vx ; -2]; elseif (novoteta(1)<1e-5)|(novoteta(2)<1e-5) //disp('Solução espúria. Componente puro.') vp = [vp ; -3]; vy = [vy ; -3]; vx = [vx ; -3]; else vp = [vp ; novoteta(5)]; vy = [vy ; novoteta(3)]; vx = [vx ; novoteta(1)]; end else vp = [vp ; -1]; vy = [vy ; -1]; vx = [vx ; -1]; end end //plot(vx,vp,'b-') plot(vy,vp,'r-')
d1cd4523551d986829a2c97e2a980bdf5f6f13fd
449d555969bfd7befe906877abab098c6e63a0e8
/2087/CH5/EX5.5/example5_5.sce
e248d545cf5302a475f5b8d6a60583c997be1545
[]
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
365
sce
example5_5.sce
//example 5.5 //design tube well clc; //given Q=0.08; //yield required b=30; //thickness of acquifer R=300; //Radius of circle of influence k=60; //permeability coefficient s=5; //Drawdown r=R/(10^(2.72*b*s*k/(3600*24*Q))); r=round(r*10000)/10000; mprintf("Radius of well=%f m",r);
b24326c09dc3d73b14ca5b61fd102ddd671282e8
449d555969bfd7befe906877abab098c6e63a0e8
/3673/CH8/EX8.a.2/Example_a_8_2.sce
43cb91b3ece7085e5419c54341e1f40e04858aaf
[]
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
201
sce
Example_a_8_2.sce
//Example_a_8_2 page no:325 clc; Q=5; I=10; V=100; omega=50; R=V/I; L=50/omega; C=1/(Q*omega*R); C=C*10^6; disp(L,"the inductance is (in H)"); disp(C,"the capacitance is (in microFarad)");
60ccdc78fe55bc0c9a046a511642d31737a97757
449d555969bfd7befe906877abab098c6e63a0e8
/629/CH12/EX12.10/example12_10.sce
77d9d7ce238d1a41a638c4406d97e8bdc3ac3a91
[]
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
312
sce
example12_10.sce
clear clc //Example 12.10 NOZZLE EXIT CONDITION k=1.4; //From table A.1, interpolating for A/Ao=4, M=2.94; //Mach number pb=100; //back pressure[kPa] pt=1300; //total pressure[kPa] pe=pt/((1+[(k-1)/2]*M^2)^(k/(k-1))) //[kPa] printf("\n Because (pe=%.1f) < (pb=%.f), the nozzle is overexpanded.\n",pe,pb)
0a569eb7410192cb8e0e09a5c2208568867a04cd
449d555969bfd7befe906877abab098c6e63a0e8
/980/CH14/EX14.4/14_4.sce
0b61f4674c3ece65ebbc9ad6dbd96f4e46373bc4
[]
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
335
sce
14_4.sce
clc; clear; format('v',11); N=4; disp("E=|sin(2*theta)/(N*sin(theta/2))|","The array factor is given as"); Eslmax=abs(1/(4*sin(3*%pi/4))); //for the first sidelobe,the sidelobe maximum is at 2*theta=3*%pi/2. Edb=20*log10(Eslmax); disp(Eslmax,"The sidelobe level="); disp(Edb,"The sidelobe level(in db)=");
48988089357356a3b0c93db0f7c1d614949eba6d
40afcebfc01e261136d9bdd8124b6339b9d85052
/pasdev37/pvmasm.tst
38e684f0882b41a355ed07500fad47b6445fc492
[]
no_license
TYMCOM-X/169263.tape
646cb55f3f5a6c39567d6f380727e119fe33e9b8
22dd3b9a6973496fdf105cf6b3f0ed0d9afd6f8b
refs/heads/master
2023-03-25T15:17:40.630592
2021-03-23T20:16:17
2021-03-23T20:16:17
350,634,407
1
0
null
null
null
null
UTF-8
Scilab
false
false
1,185
tst
pvmasm.tst
.TITLE wozmo .psect P0,5,EXE,RD,WRT lab1: ftype1 next+12 ;first comment lab2: ltype2 7,0 ;kjoiuoijiui lab3: ftype3 0,absym2+5 lab4: ftype4 1,15*5(0) lab4a: ltype4 2,absym3(12)[0] lab5: ltype5 3,lab1+other1 lab5a: ftype5 4,p1\orig[15] lab6: ftype6 5,100,absym3-absym2(11) ;commentkkfijijdmkweijskmsdkm lab7: ftype7 6,101(0),<<12+76-8>*2>/<8*5>(7) ; = 4 lab7a: ltype7 9,absym1(15)[1],absym2(2);plus some comment next: ftype1 skip ;blank line block: .BLKB absym1*2 byte: .BYTE block - 10; word: .WORD word long: .LONGWORD lab1 * absym2 chars: .ASCII '''''you don''t say''''' ;comment absym1 = <17*2> + <12*1> - <0 + 0> + 1 - 1 * 1 ; = 46 absym2 = 4 + absym1 + -48 ;check unary minus absym3 = lab5a - lab5 ; special abs symbol absym4=197;pack on margin .global lab1,lab2,absym1,lab3,absym3 .external other1,other2,other3 skip: ftype8 1,2,3,4 .PSECT p1,4,noexe,nord,nowrt orig = next2 - next1 next1: ltype8 orig,99;iejd eiei next2: ftype1 next1 .PSECT P0,5,exe,rd,wrt absym5 = 198 ;to be obnoxious ltype2 1,1 ;no label more: ltype2 2,2 .END next
5dce9fbe158979fa2356ef036a27c5bdbaf0a57a
449d555969bfd7befe906877abab098c6e63a0e8
/98/CH8/EX8.19/example8_19.sce
36bbf300ff1ad59aeb9941bcbaf3100f62477c23
[]
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
539
sce
example8_19.sce
//Chapter 8 //Example 8_19 //Page 191 clear;clc; l=200; w=1170/1000; bs=4218; area=1.29; pr=122; sf=5; t=bs*area/sf; d=sqrt(4*area/%pi); ww=pr*d*1e-2; wt=sqrt(w^2+ww^2); sag=wt*l^2/8/t; theta=atan(ww/w); vsag=sag*cos(theta); printf("Working tension = %.0f kg \n\n", t); printf("Diameter of the conductor = %.2f \n\n", d); printf("Total weight of the conductor per metre length = %.2f kg \n\n", wt); printf("Slant sag = %.2f m \n\n", sag); printf("theta = %.2f degrees \n\n", theta*180/%pi); printf("Vertical sag = %.2f m \n\n", vsag);
de133725ac6d24214584f72dd0e352a851638987
4a1effb7ec08302914dbd9c5e560c61936c1bb99
/Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.led7digit-10-1tra/result3s0.tst
3e3d6d71a88011e5b33e5f4042432e71919402c3
[]
no_license
nickgreenquist/Intro_To_Intelligent_Systems
964cad20de7099b8e5808ddee199e3e3343cf7d5
7ad43577b3cbbc0b620740205a14c406d96a2517
refs/heads/master
2021-01-20T13:23:23.931062
2017-05-04T20:08:05
2017-05-04T20:08:05
90,484,366
0
0
null
null
null
null
UTF-8
Scilab
false
false
534
tst
result3s0.tst
@relation led7digit @attribute Led1 real[0.0,1.0] @attribute Led2 real[0.0,1.0] @attribute Led3 real[0.0,1.0] @attribute Led4 real[0.0,1.0] @attribute Led5 real[0.0,1.0] @attribute Led6 real[0.0,1.0] @attribute Led7 real[0.0,1.0] @attribute number{0,1,2,3,4,5,6,7,8,9} @inputs Led1, Led2, Led3, Led4, Led5, Led6, Led7 @outputs number 1 1 2 7 2 2 5 5 9 3 5 5 7 3 8 6 8 7 0 8 1 1 4 4 1 1 2 2 9 3 3 4 3 3 6 5 0 7 1 1 2 3 2 2 3 3 7 2 8 8 9 3 0 7 4 4 5 5 6 6 7 7 7 7 3 3 4 4 5 5 5 5 6 6 7 1 8 8 0 8 0 8 3 3 4 4 4 4 5 5 6 6 7 7 8 6 9 3 9 3
605d1e7aca94ecd5e35f8b39623fdde81b043442
01ecab2f6eeeff384acae2c4861aa9ad1b3f6861
/prog_assembly/libs/scilab_code/make_input_vector_file.sce
0ae12a4293159e1d74e922da2be7f70f65103066
[]
no_license
jhasler/rasp30
9a7c2431d56c879a18b50c2d43e487d413ceccb0
3612de44eaa10babd7298d2e0a7cddf4a4b761f6
refs/heads/master
2023-05-25T08:21:31.003675
2023-05-11T16:19:59
2023-05-11T16:19:59
62,917,238
3
3
null
null
null
null
UTF-8
Scilab
false
false
5,626
sce
make_input_vector_file.sce
function make_in_ve_file = make_input_vector_file() global dac_array dac_array_map gpin_array gpin_array_map number_samples period; size_dac_array = size(dac_array); size_dac_array_row = size_dac_array(1,1); size_dac_array_col = size_dac_array(1,2); temp_dac_info=0; for i = 1:size_dac_array_row temp_dac_info = temp_dac_info + (2^(i-1))*dac_array(i,1); end for i = 1:size_dac_array_row if dac_array(i,1) == 1 & dac_array(i,2) == 0 then for j=4:size_dac_array_col dac_array(i,j)=dac_array(i,3); end end end dac_info = '0x'+ string(sprintf('%4.4x', temp_dac_info)); temp_number_samples = '0x'+ string(sprintf('%4.4x', number_samples)); temp_string = temp_number_samples + ' ' + dac_info + ' ' + period + ' '; for i = 1:number_samples temp_DAC01_DAC00=0;temp_DAC03_DAC02=0;temp_DAC05_DAC04=0;temp_DAC07_DAC06=0;temp_DAC09_DAC08=0; index_DAC01_DAC00=0;index_DAC03_DAC02=0;index_DAC05_DAC04=0;index_DAC07_DAC06=0;index_DAC09_DAC08=0; for j = 1:size_dac_array_row if dac_array(j,1) == 1 then if j== 1 then temp_DAC01_DAC00 = temp_DAC01_DAC00 + dac_array(j,i+2); index_DAC01_DAC00=1; end if j== 2 then temp_DAC01_DAC00 = temp_DAC01_DAC00 + dac_array(j,i+2)*2^9; index_DAC01_DAC00=1; end if j== 3 then temp_DAC03_DAC02 = temp_DAC03_DAC02 + dac_array(j,i+2); index_DAC03_DAC02=1; end if j== 4 then temp_DAC03_DAC02 = temp_DAC03_DAC02 + dac_array(j,i+2)*2^9; index_DAC03_DAC02=1; end if j== 5 then temp_DAC05_DAC04 = temp_DAC05_DAC04 + dac_array(j,i+2); index_DAC05_DAC04=1; end if j== 6 then temp_DAC05_DAC04 = temp_DAC05_DAC04 + dac_array(j,i+2)*2^9; index_DAC05_DAC04=1; end if j== 7 then temp_DAC07_DAC06 = temp_DAC07_DAC06 + dac_array(j,i+2); index_DAC07_DAC06=1; end if j== 8 then temp_DAC07_DAC06 = temp_DAC07_DAC06 + dac_array(j,i+2)*2^9; index_DAC07_DAC06=1; end if j== 9 then temp_DAC09_DAC08 = temp_DAC09_DAC08 + dac_array(j,i+2); index_DAC09_DAC08=1; end if j==10 then temp_DAC09_DAC08 = temp_DAC09_DAC08 + dac_array(j,i+2)*2^9; index_DAC09_DAC08=1; end end end if index_DAC01_DAC00 == 1 then temp_string = temp_string + '0x'+ string(sprintf('%4.4x', temp_DAC01_DAC00)) + ' '; end if index_DAC03_DAC02 == 1 then temp_string = temp_string + '0x'+ string(sprintf('%4.4x', temp_DAC03_DAC02)) + ' '; end if index_DAC05_DAC04 == 1 then temp_string = temp_string + '0x'+ string(sprintf('%4.4x', temp_DAC05_DAC04)) + ' '; end if index_DAC07_DAC06 == 1 then temp_string = temp_string + '0x'+ string(sprintf('%4.4x', temp_DAC07_DAC06)) + ' '; end if index_DAC09_DAC08 == 1 then temp_string = temp_string + '0x'+ string(sprintf('%4.4x', temp_DAC09_DAC08)) + ' '; end end temp_string = temp_string + '0xffff '; fd = mopen('input_vector','wt'); mputl(temp_string, fd); mclose(fd); disp(temp_string); temp_string = temp_number_samples + ' ' + dac_info + ' ' + period + ' '; for i = 1:number_samples for j = 1:size_dac_array_row if dac_array(j,1) == 1 then temp_string = temp_string + '0x'+ string(sprintf('%4.4x', dac_array(j,i+2))) + ' '; end end end temp_string = temp_string + '0xffff '; fd = mopen('input_vector_for_graph','wt'); mputl(temp_string, fd); mclose(fd); temp_string = ''; for i=1:size_dac_array_row if dac_array_map(i) == "" then temp_string = temp_string + "No_use " end if dac_array_map(i) ~= "" then temp_string = temp_string + dac_array_map(i) + " "; end end fd = mopen('DAC_mapping_info','wt'); mputl(temp_string, fd); mclose(fd); disp(temp_string); // ------ GPIO In vector generation size_gpin_array = size(gpin_array); size_gpin_array_row = size_gpin_array(1,1); size_gpin_array_col = size_gpin_array(1,2); temp_gpin_info=0; for i = 1:size_gpin_array_row temp_gpin_info = temp_gpin_info + (2^(i-1))*gpin_array(i,1); end for i = 1:size_gpin_array_row if gpin_array(i,1) == 1 & gpin_array(i,2) == 0 then for j=4:size_gpin_array_col gpin_array(i,j)=gpin_array(i,3); end end end gpin_info = '0x'+ string(sprintf('%4.4x', temp_gpin_info)); temp_number_samples = '0x'+ string(sprintf('%4.4x', number_samples)); temp_string = temp_number_samples + ' ' + gpin_info + ' ' + period + ' '; for i = 1:number_samples temp_gpin=0; for j = 1:size_gpin_array_row if gpin_array(j,1) == 1 then temp_gpin = temp_gpin + gpin_array(j,i+2)*(2^(j-1)); end end temp_string = temp_string + '0x'+ string(sprintf('%4.4x', temp_gpin)) + ' '; end temp_string = temp_string + '0xffff'; fd = mopen('gpin_vector','wt'); mputl(temp_string, fd); mclose(fd); disp(temp_string); temp_string = ''; for i=1:size_gpin_array_row if gpin_array_map(i) == "" then temp_string = temp_string + "No_use " end if gpin_array_map(i) ~= "" then temp_string = temp_string + gpin_array_map(i) + " "; end end fd = mopen('gpin_mapping_info','wt'); mputl(temp_string, fd); mclose(fd); disp(temp_string); make_in_ve_file = 1; endfunction
b80075291e393105d5f99b0e34c87ef9a58edcb8
449d555969bfd7befe906877abab098c6e63a0e8
/3888/CH16/EX16.3/Ex16_3.sce
008d5c64ca5cbdeb21a4a85cb3f4456b940b71c1
[]
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
611
sce
Ex16_3.sce
//Electric Power Generation, Transmission and Distribution by S.N.Singh //Publisher:PHI Learning Private Limited //Year: 2012 ; Edition - 2 //Example 16.3 //Scilab Version : 6.0.0 ; OS : Windows clc; clear; V=500; //Dc supply voltage in kV ang1=20; //Advance angle in degree ang2=10; //Extinction angle in degree Vdi=1/2*(cosd(20)+cosd(10)); //Dc voltage in kV Em=(V*%pi)/(Vdi*3*sqrt(3)); //Ac output voltage in kV printf("\nThe ac voltage output of the inverter is %.2f kV",Em);
228e6a8db71d71c577384b8533d93c85fddc1633
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH10/EX10.5/Ex10_5.sce
396a2d1f79cad19e8c5f09ee8651fff0ef1049ce
[]
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
930
sce
Ex10_5.sce
errcatch(-1,"stop");mode(2);//Find the (a) induced emf in the armature (b) power output (c) shaft torque (d) efficiency //Exa:10.5 ; ; V_s=120;//in Volts P_rot=80;//rotational loss (in Watts) N_m=8000;//speed of motor (in rpm) pf=0.912;//lagging theta=-acosd(pf); I_a=17.58*(cosd(theta)+(%i*sind(theta)));//in Amperes Z_s=0.65+%i*1.2;//series field winding impedance (in ohms) Z_a=1.36+%i*1.6;//armature winding impedance (in ohms) E_a=V_s-I_a*(Z_s+Z_a);//induced emf (in Volts) disp(abs(E_a),'(a) induced emf in the armature (in Volts)='); disp(atand(imag(E_a)/real(E_a)),'phase of induced emf in the armature (in Degree)='); P_d=real(E_a*conj(I_a)); P_o=P_d-P_rot; disp(P_o,'(b) power output (in Watts)='); w_m=2*%pi*N_m/60;//rated speed of motor (in rad/sec) T_s=P_o/w_m; disp(T_s,'(c) shaft torque (in Newton-meter)='); P_in=V_s*abs(I_a)*pf; Eff=P_o*100/P_in; disp(Eff,'(d) Efficiency (%)='); exit();
e872900afdbc610fbd0f8cc6ce0ea1d486b9a5b5
dd1ecbd8dc9f2817544517bd6d33ef7c0fffccde
/projects/pp3/Boat.tst
99223dd9a4641d14dc110352d94d7e4c4c61ddf7
[]
no_license
cujun/Nand2Tetris
b32254a2756e548832edfe6af535d24ac683226e
f745b58858328dc407e6770704a6ee9601079f0a
refs/heads/master
2021-01-22T00:09:30.350789
2017-12-20T07:27:53
2017-12-20T07:27:53
102,185,045
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,224
tst
Boat.tst
load Boat.hdl, output-file Boat.out, compare-to Boat.cmp, output-list cabbage%B3.1.3 farmer%B3.1.3 goat%B3.1.3 wolf%B3.1.3 out%B3.1.3 ; set cabbage 0, set farmer 0, set goat 0, set wolf 0, eval, output; set cabbage 1, set farmer 0, set goat 0, set wolf 0, eval, output; set cabbage 0, set farmer 1, set goat 0, set wolf 0, eval, output; set cabbage 1, set farmer 1, set goat 0, set wolf 0, eval, output; set cabbage 0, set farmer 0, set goat 1, set wolf 0, eval, output; set cabbage 1, set farmer 0, set goat 1, set wolf 0, eval, output; set cabbage 0, set farmer 1, set goat 1, set wolf 0, eval, output; set cabbage 1, set farmer 1, set goat 1, set wolf 0, eval, output; set cabbage 0, set farmer 0, set goat 0, set wolf 1, eval, output; set cabbage 1, set farmer 0, set goat 0, set wolf 1, eval, output; set cabbage 0, set farmer 1, set goat 0, set wolf 1, eval, output; set cabbage 1, set farmer 1, set goat 0, set wolf 1, eval, output; set cabbage 0, set farmer 0, set goat 1, set wolf 1, eval, output; set cabbage 1, set farmer 0, set goat 1, set wolf 1, eval, output; set cabbage 0, set farmer 1, set goat 1, set wolf 1, eval, output; set cabbage 1, set farmer 1, set goat 1, set wolf 1, eval, output;
92a7d5161a2850e32078760a830125d6fe918f74
449d555969bfd7befe906877abab098c6e63a0e8
/1163/CH13/EX13.1/example_13_1.sce
91113c9d037d008e09ea83a0fca943a29921bbd6
[]
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,272
sce
example_13_1.sce
clear; clc; disp("--------------Example 13.1---------------") // function to check if thhe 2nd hex digit from the left is even or odd function []=check (a) s=strsplit(a,[1,2]); // extract the 2nd hex digit from left d= hex2dec(s(2)); bin=dec2bin(d,4); // convert to binary bits=strsplit(bin,3); // least significant bit lb=bits(2); if(lb=='0') // check if even or odd printf("This is a unicast address because the second hexadecimal digit from the left i.e %s in binary is %s and is even.\n",s(2),bin); else printf("This is a multicast address because the second hexadecimal digit from the left i.e %s in binary is %s and is odd.\n",s(2),bin); end endfunction // a) 4A:30:10:21:1O:1A a="4A:30:10:21:1O:1A"; printf("\na)"); check(a); // calling the function // b) 47:20:1B:2E:08:EE b="47:20:1B:2E:08:EE"; printf("\nb)"); check(b); // calling the function // c) FF:FF:FF:FF:FF:FF c="FF:FF:FF:FF:FF:FF"; s = strsplit(c,":",6); // split into 2 hex digits for i=1:6 if(s(i)=="FF") // check if equal to FF continue; else break; end end if(i==6) printf("\nc)This is a broadcast address because all digits are Fs.") //print the result end
a496e37cf55db57ec7c7f38348e9e08ae34428d7
449d555969bfd7befe906877abab098c6e63a0e8
/858/CH4/EX4.17/example_17.sce
2656cc805706b6dd3af8c13bd345e309d882b181
[]
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
387
sce
example_17.sce
clc clear printf("example 4.17 page number 154\n\n") //to find the pressure loss density=998 //in kg/m3 viscosity=0.0008 //in Pa-s d=0.03 //in m u=1.2 //in m/s Re=density*d*u/viscosity; f=0.0088; D=1 //in m N=10 L=3.14*D*N; delta_P=(2*f*u^2*L)/d; //in Pa delta_P_coil=delta_P*(1+(3.54*(d/D))); printf("frictional pressure drop = %f kPa",delta_P_coil)
b1e78ef31b1eccc0051f9bf5329bec4939d8fa90
449d555969bfd7befe906877abab098c6e63a0e8
/1979/CH8/EX8.2/Ex8_2.sce
a5161598ccd90f68e02ef3ba5d6d8b1adccc2a36
[]
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
849
sce
Ex8_2.sce
//chapter-8 page 337 example 8.2 //============================================================================== clc; clear; //For a 2 cavity klystron amplifier Av=15;//Voltage gain in dB Pin=0.005;//I/P power in W Rin=30000;//Rsh of i/p cavity in ohms R0=40000;//Rsh of o/p cavity in ohms Rl=40000;//load impedance in ohms R=20000;//Parallel resistance of R0 and Rl (R0//Rl) in ohms //CALCULATION Vin=sqrt(Pin*Rin);//The input rms voltage in V [From Pin=Vin^2/Rin] V0=Vin*10^(Av/20);//The output rms voltage in V [From Av=20log(V0/Vin)] P0=(V0^2)/R;//The Power delivered to the load in W //OUTPUT mprintf('\nThe input rms voltage is Vin=%2.2f V \nThe output rms voltage is V0=%2.2f V \nThe Power delivered to the load is P0=%1.4f W',Vin,V0,P0); //=========================END OF PROGRAM===============================
adb23c838a967570041437a60e93ddd835261446
15049c72b00c445c53184feb05e7b47412ddfefc
/GaussJordan.sce
9e4554e8f5da40f1c5d1fb196bdbff6688eaab4a
[]
no_license
Kn0x1/MetodosNumericos
029df47e7384126f3d68cc8c1d3f52ab7b5bfdde
6e94fbd80af883cf2c467e54ac5ccf396fecc7bd
refs/heads/master
2022-04-16T10:02:04.138721
2017-05-10T06:18:24
2017-05-10T06:18:24
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
430
sce
GaussJordan.sce
//Código de Método de Eliminación de Gauss-Jordan en Scilab //Matriz de coeficientes de sistema de ecuaciones. a=[5,-2, 2;4, 8, -2; 3, 9, -5] // 5x -2y + 2z = 7 // 4x +8y -2z = 6 // 3x + 9y - 5z = 12 //Matriz de constantes del sistema de ecuaciones. b=[10;16;9] //Matriz aumentada AumAb=[a b] //Gauss-Jordan rref(aumAB) //La matriz resultante contiene las soluciones //para cada una de las incógnitas del sistema.
ceab1b68a675eedff69ab2e54ffd2b2ca1b0d6f6
449d555969bfd7befe906877abab098c6e63a0e8
/2150/CH1/EX1.15/ex1_15.sce
0622044219cadf34630c8dfaae4af6bfff9521e6
[]
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
190
sce
ex1_15.sce
// Exa 1.15 clc; clear; close; // Given data V1 = 20;// in V V2 = 0.7;// in V V = V1-V2;// in V R = 20;// in ohm I = V/R;// in A disp(I,"The current through resistance in A is");
82e69e932162ee033a603e67dbaaae4155937b3a
1489f5f3f467ff75c3223c5c1defb60ccb55df3d
/tests/test_ods_6_q.tst
02a6937af2a102d884b231e24419bf5f9dfbd003
[ "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
2,697
tst
test_ods_6_q.tst
** File Info Version: 1.0 (encrypted) Num Logs = 3 Num Trans = 0 Num Writers = 0 Total Entries = 6 Tranlog Offset = 218 Transaction Id = 4 Index Free List = n/a Total Size of Data = 295 Data Transformation Id = 3 Index Transformation Id = 11 ** Entry Info for: all num: 0000000000000000 pos: 00000000000000a9 len: 0000000000000048 txn: 0000000000000003 txo: 0000000000000000 flags: lk=0 tx=0 00000000000000a9 cc 5c f8 8a cf 47 64 6d 90 d2 ea 22 25 e2 af 52 .\...Gdm..."%..R 00000000000000b9 a5 70 0a d7 71 0d da 94 88 e2 09 62 dd e4 35 8b .p..q......b..5. 00000000000000c9 ae 13 6d e9 ef 0f 7b 7c d6 51 62 91 f7 0d 3a b1 ..m...{|.Qb...:. 00000000000000d9 ba 0b 6f cf f2 2d 4d 87 ab dc f2 05 6a 85 95 cc ..o..-M.....j... 00000000000000e9 3f 7a ea 22 84 9e 0d 24 ?z."...$ num: 0000000000000001 pos: 000000000000008e len: 000000000000001b txn: 0000000000000002 txo: 0000000000000000 flags: lk=0 tx=0 000000000000008e 95 01 5b b8 f0 32 63 6e cb 8c 6a 8e 4a 28 d4 b8 ..[..2cn..j.J(.. 000000000000009e 71 4f f3 66 d3 37 99 c0 03 47 c2 qO.f.7...G. num: 0000000000000002 pos: 0000000000000073 len: 000000000000001b txn: 0000000000000002 txo: 0000000000000000 flags: lk=0 tx=0 0000000000000073 81 e0 49 81 b2 18 4a 80 80 74 2c 79 45 df d4 99 ..I...J..t,yE... 0000000000000083 23 01 81 b1 29 a7 a7 dd fd fe 63 #...).....c num: 0000000000000003 pos: 0000000000000058 len: 000000000000001b txn: 0000000000000002 txo: 0000000000000000 flags: lk=0 tx=0 0000000000000058 2f 90 c4 fa 5b 8d c5 f8 39 c1 7f a7 6d 24 b7 46 /...[...9...m$.F 0000000000000068 31 f3 83 b2 be 08 60 ad e2 f9 1e 1.....`.... num: 0000000000000004 pos: 000000000000010c len: 000000000000001b txn: 0000000000000003 txo: 0000000000000000 flags: lk=0 tx=0 000000000000010c 0d 73 c5 39 84 8d b9 2c 03 e1 c4 58 15 e3 8a 7f .s.9...,...X.... 000000000000011c 53 05 f5 75 af b3 21 82 92 14 2f S..u..!.../ num: 0000000000000005 pos: 00000000000000f1 len: 000000000000001b txn: 0000000000000003 txo: 0000000000000000 flags: lk=0 tx=0 00000000000000f1 59 b8 31 66 a6 b9 33 4d ea ae 2e 72 08 90 43 08 Y.1f..3M...r..C. 0000000000000101 d0 80 6b d8 33 b2 24 92 a9 d0 fb ..k.3.$.... ** Freelist Info No freelist entries. ** Transaction Log Info version = 1.0 (encrypted) sequence = 3 val_hash = 2177926815 entry_offs = 0 append_offs = 56 ** Transaction Log Info for: all
90cd27c4f9bf2d113d7875a0528d0cc2e635aac0
449d555969bfd7befe906877abab098c6e63a0e8
/3472/CH9/EX9.4/Example9_4.sce
8a496b2943e3c7ae803670ad6d5dce9d160836d2
[]
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
980
sce
Example9_4.sce
// A Texbook on POWER SYSTEM ENGINEERING // A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar // DHANPAT RAI & Co. // SECOND EDITION // PART II : TRANSMISSION AND DISTRIBUTION // CHAPTER 2: CONSTANTS OF OVERHEAD TRANSMISSION LINES // EXAMPLE : 2.4 : // Page number 101 clear ; clc ; close ; // Clear the work space and console // Given data l = 80.0 // Length of 3-phase transmission line(km) D = 100.0 // Distance between conductors(cm) d = 1.0 // Diameter of conductor(cm) // Calculations r_GMR = 0.7788*d/2.0 // GMR of conductor(cm) L = 2.0*10**-7*log(D/r_GMR) // Inductance per phase(H/m) L_l = L*l*1000.0 // Inductance per phase for 80km(H) // Results disp("PART II - EXAMPLE : 2.4 : SOLUTION :-") printf("\nInductance per phase of the system, L = %.4f H \n", L_l) printf("\nNOTE: ERROR: Calculation mistake in textbook to find Inductance per phase of the system")
975a39c635a63bff93042b482546255fc18a3ac7
449d555969bfd7befe906877abab098c6e63a0e8
/149/CH2/EX2.49/ex49.sce
817d4ca0f835175e34075d44f6d22e2f63bf7f7f
[]
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
276
sce
ex49.sce
clear clc A=[1 1 3;1 5 1;3 1 1] disp("R is matrix of transformation and D is a diagonal matrix ") [R D]=spec(A) disp("R is normalised,let P denotes unnormalised version of R.Then ") P(:,1)=R(:,1)*sqrt(2); P(:,2)=R(:,2)*sqrt(3); P(:,3)=R(:,3)*sqrt(6) disp("A^4=") A^4