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... |
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.... |
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 u... |
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... |
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... |
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: 00000000000... |
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... |
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*... |
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//... |
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 ... |
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=(... |
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... |
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 ac... |
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... |
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... |
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 progra... |
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_... |
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; ... |
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
/... |
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... |
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 insta... |
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_tot... |
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_H... |
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.ti... |
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 calcul... |
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, ... |
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 clad... |
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(... |
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.s... |
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... |
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... |
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*sqr... |
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,... |
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",DF... |
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 SE... |
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)^... |
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=the... |
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 ... |
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)
... |
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]=... |
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
... |
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 tenni... |
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 an... |
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 - [... |
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 =... |
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... |
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") //init... |
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_c... |
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)... |
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 specif... |
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="b... |
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*... |
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 SLOT... |
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... |
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 Si... |
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 //
// ... |
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)/10... |
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 lev... |
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... |
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"... |
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
@o... |
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_... |
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; /... |
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... |
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 wol... |
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... |
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/... |
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 im... |
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
rre... |
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 ... |
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 wor... |
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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.