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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba41168c845f2645d08266c19a9dc7a68e1f0263 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH9/EX9.2/9_2.sce | 7ef34b6c73284a866632e5fce30d5b3758619562 | [] | 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 | 397 | sce | 9_2.sce | //To calculate the critical current
T = 4.2; //temperature, K
d = 1; //diameter, mm
d = d*10^-3; //diameter, m
Tc = 7.18; //critical temperature, K
H0 = 6.5*10^4; //critical field, A/m
Hc = H0*(1-(T/Tc)^2); //critical field at 2K, A/m
ic = %pi*d*Hc; //critical current, A
printf("critic... |
04204308d254f515eccfeca7cc1051a79e05d585 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH9/EX9.5/9EX5.sce | 32f000d257753de1f77d2b7db4c55f3d7b3b7d30 | [] | 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 | 126 | sce | 9EX5.sce | //Chapter 9 Ex 5
clc;
clear;
close;
x=(5*((8^(1/3))+(27^(1/3)))^3)^(1/4);
mprintf("The value of expression is %d",x);
|
81609f73fb62a2c53a08aeedb8be6855828862e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH18/EX18.6/Ex18_6.sce | 8c92781e3c379d43421866521009ccc100854778 | [] | 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 | 364 | sce | Ex18_6.sce | clc;
//e.g 18.1
Vcc=12;
Rc=2.2*10**3;
Rb=240;
B=50;
Vbe=0.7;
RE=0;
Ic=(Vcc-Vbe)/(RE+(Rb/B));//collector current
disp('mA',Ic,"Ic=");
Vce=Vcc-(Ic*10**-3)*Rc;//CE voltage
disp('V',Vce*1,"Vce=");
Icsat=Vcc/Rc;
disp('mA',Icsat*10**3,"Icsat=");
Vcec=Vcc;//cutoff voltage
i=5.45:-0.5:0;
plot(i);
a=gca() //get the current axes... |
b4a32b678f835dd70f3c857f9f7878131502e643 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH1/EX1.8/example8.sce | 7643ecff227775ac21806382a1055af284e4f469 | [] | 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 | 513 | sce | example8.sce | clc
clear
//input data
P=2.2//Pressure ratio across a gas turbine
n=0.88//Efficiency of a gas turbine
T1=1500//Inlet temperature of the gas in K
r=1.4//ratio of specific heats for air
//calculations
T2s=T1*(1/P)^((r-1)/r)//Isentropic output temperature from gas turbine in K
T2=T1-(n*(T1-T2s))//actual output ... |
aa9bb1ef37357e61c86e632c7467c23415462fbf | e2cee73f9682b79c4a5d6a1e6381cf6679dc1094 | /TP_AN/exemple.sci | e998a85df927d23e9a4b260604e62a7990345e82 | [] | no_license | melurne/TP_ANgit | b1b91e444aef30706fef0cac4da9355d4d04e1aa | 59c1aa6a5261f9753e108877079a495d5b95fb50 | refs/heads/master | 2023-04-19T09:23:02.045251 | 2021-05-17T14:56:34 | 2021-05-17T14:56:34 | 350,416,537 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sci | exemple.sci | funcprot()
function [y]=carre(x)
y = x*x
endfunction
|
16c2a6dc0e81fe29780ef2a0369af8d6691aa3b7 | 64cc269882aadb96d8364ba211012acb65c56948 | /test/hello/hello-test.tst | 13cd3f32034d25e384f9f417e3247a5b2bcb9310 | [] | no_license | Cluedrew/ABCtoolbox | 8597cb5cba264dfb4ee9920436dd1f9166a5282e | 6cd496d93e9c4791f909275249374be8a86c83a4 | refs/heads/master | 2020-04-13T19:31:11.100743 | 2016-02-07T17:26:41 | 2016-02-07T17:26:41 | 28,645,381 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22 | tst | hello-test.tst | test-type: auto
args:
|
b447907a24eb627c5eba18734658cb90c727e105 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH6/EX6.11/Ex6_11.sce | d4d493354dbc89571a63679af5ff1e80d8e61501 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ex6_11.sce |
//Ex6_11
clc;
// Given:
mPu=239.052161;
mPd=107.903920;
mXe=128.904784;
mn=1.0087;
mGd=154.922010;
mBr=80.916344;
// Solution: Part (a)
dm1=(mPu-(mPd+mXe+2*mn));// delta m
E1=dm1*931;// energy of given fission in MeV
printf("The energy for the Pd(108)+Xe(129)+3n fission is = %f MeV",E1)
dm2=(mPu-(m... |
66f24c03a8660a6c430149e0a70f651e949c9a86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH5/EX5.1/5s1.sce | 0954c13e1fe41e3afc7f577d402d9a134cf2d7f0 | [] | 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,849 | sce | 5s1.sce |
funcprot(0);
function[tree]=maketree(x)
tree=zeros(30,1);
for i=1:30
tree(i)=-1;
end
tree(1)=x;
tree(2)=-2;
endfunction
function[tree1]=setleft(tree,tre,x)
tree1=[];
i=1;
while(tree(i)~=-2)
if(tree(i)==tre)
j=i;
end
i=i+1;
end
if(i>2*j)
tree(2*j)=x;
... |
73b6eb6ebf85d12a51475943ed81cd5ef0053161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH8/EX8.10/8_10exam.sce | 0c4ad6cc0718e1f81da70ac7167dc0dee0c0cf65 | [] | 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,738 | sce | 8_10exam.sce | //Engineering and Chemical Thermodynamics
//Example 8.10
//Page No:390
clear ; clc ;
//Given
R = 8.314 ;
T = 10 + 273.15 ; //[K]
A_B = 9.2806 ; // From Appendix A , Table A1.1
B_B = 2788.5 ; // From Appendix A , Table A1.1
C_B = -52.36 ; // From Appendix A , Table A1.1
A_C = 9.1325 ; // From Appendix A , Ta... |
1bbe7d043502b7e644f839ada47cf4ef982d7750 | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /prbs/controller/prbstest.sci | 744915038ca1c0e9e9137baa0f5d1935e3211873 | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,455 | sci | prbstest.sci | mode(0)
global temp heat fan sampling_time m heatdisp fandisp tempdisp x name
global scn scd tcn tcd rcn rcd gamm
//**Sampling Time**//
sampling_time = 1;
///////****/////////
getd "dc/scilab"
exec ("twodof_para.sce");
m = 1;
dt = getdate();
year = dt(1);
month = dt(2);
day = dt(6);
hour = dt(7);
minutes = dt(8)... |
ad611d71ae31d7894251572e298a6b47548bfa5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.53/Ex2_53.sce | f18db0590cd0b41973eae740b3896c25ae9641f5 | [] | 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,301 | sce | Ex2_53.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 53 Read Example 52 of the Text Book
clc;
disp("CHAPTER 2");
disp("EXAMPLE 53");
//VARIABLE INITIALIZATION
v=230; //in Volts
angle_v=30; //in degrees
I1=20; //in Amperes
angle_I1... |
a5f88dc7e6ec4f16ec117488e6715f2053b28c5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.19.a/1_19_a.sce | 967a0c326756b673e422bf7fb59276c17bbbaa71 | [] | 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 | 410 | sce | 1_19_a.sce | // example 1.19<a>
//determine whether the following signals are power or energy signal
clc ;
t =0:0.01:100;
A=1;
x=A*sin(t);
P=(integrate('(A*sin(t))^2','t',-%pi,%pi))/(2*%pi);
disp(P,'The power of the signal is:');
E=(integrate('(A*sin(t))^2','t',-%pi,%pi));
disp(E,'The energy is:');
disp('As t tends to inf... |
f83dcc216d2984c76a7978577c15a2bb8d9ceff4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_-_Worked_Examples_For_Engineers_C._Schaschke_650.zip/Fluid_Mechanics_-_Worked_Examples_For_Engineers_C._Schaschke_650/CH1/EX1.8/8.sce | f369e4db40aff7400dc04e236eb555beb1e8f50d | [] | 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 | 192 | sce | 8.sce | errcatch(-1,"stop");mode(2);
H=0.2; //m
rho=1000; //kg/m^3
rho_Hg=13600; //kg/m^3
g=9.81; //m/s^2
dp=(rho_Hg-rho)*g*H;
disp("Differential pressure =")
disp(dp)
disp("N/m^2")
exit();
|
e9562b93b688aaf1d1db3ef8b2ad344e7cdd52c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH4/EX4.14/Chapter414.sce | 3b683147c402b63a381945d60774c60742783351 | [] | 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,686 | sce | Chapter414.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 4, Example 14")
//Nodal distance Deltax in m
deltax = 0.1;
//Time in seconds
t = 25*60;
//timestep deltaT in seconds
deltaT = 500;
//Number of increment
n =... |
57bccb53bb2e6d3c18ae80c81cdf4e0f2c101665 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH16/EX16.1/ex16_1.sce | 99de15c59652c04b0e22adffa15549d62fbecdd1 | [] | 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 | 304 | sce | ex16_1.sce | //Microwaves and Lasers : example 16-1 : pg(753)
h=0.3;//curve depth of parabolic reflector
D=3;//diameter of parabolic reflector
f=D/(16*h);//focal length
printf("\nFocal length(f)= D/16.h = %.3f m",f);
mprintf("\nThe focal length is %.3f m out from the center of the parabolic reflector",f);
|
f5f9102576963bbc87700ded8d8ac55e846ce5a3 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.13_17.tst | 50701c019573ac50e42cfd2592b7c99658ab343a | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 14,262 | tst | bow.13_17.tst | 13 23:0.5 31:0.25 42:0.1111111111111111 56:0.25 100:1.0 136:2.0 148:1.0 158:0.1 165:1.0 202:1.0 207:1.0 248:0.16666666666666666 354:0.5 908:1.0 1392:0.3333333333333333 3762:1.0
13 4:0.14285714285714285 46:0.16666666666666666 111:0.3333333333333333 135:0.125 191:0.5 224:0.3333333333333333 248:0.16666666666666666 256:0.3... |
ff2933437c950a0b68a780f45cd1db9fb7d7f38c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH11/EX11.11/11_11.sce | f88e1703398015b94a58882bff30daaa0a214122 | [] | 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 | 427 | sce | 11_11.sce | clc;
clear;
n=3 //third order reflection
lambda=97 //wavelength in pm (third order)
tetha1=23 //Braggs angle for first order in degree
tetha2=60 //Braggs angle for third order in degree
//calculation
lambda_1=(n*lambda*sind(tetha1))/sind(tetha2)
d=(n*lambda)/(2*sind(tetha2))
mprintf("\nThe wavelength that ... |
7da199b6333777c1f8f3bd8cb8770051461062eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.50/Ex1_50.sce | 4110c0ef7b848d49c7cea1bc90357e4165b91010 | [] | 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 | 598 | sce | Ex1_50.sce | // Ex 50 Page 395
clc;clear;close;
// Given
I12=2000;//A (I12=I1+I2)
R1=0.04;//ohm
R2=0.025;//ohm
rf1=25;//ohm
rf2=20;//ohm
E1=440;//V
E2=420;//V
//E-Vad=V where Vad=I1+V/rf1
//V*(1+R1/rf1)+R1*I1=E1//eqn(1)
//V*(1+R2/rf2)-I1*R2=E2-I12*R2// eqn(2)
A=[(1+R1/rf1),R1;(1+R2/rf2),-R2]; // matrix for solution
B=[E1;E2-I12*R... |
a6ef6eac5416f114c4d402eca26b01bec947197c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH2/EX2.4/exa2_4.sce | 39e8a342a7ca80e7c40139556ac152febd2cbc75 | [] | 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 | 898 | sce | exa2_4.sce | // Example 2.4
// Ladder Calculations
//From figure 2.8(a)
v_s=40; // Value of Voltage source
R_par=((20*20)/(20+20))*10^3;//Equivalent resistance of two parallel 20k ohms resistors
R_ser=(4+5+6)*10^3;//Equivalent resistance of three series resistances.
//from figure 2.8(b)
R_eq= 2*10^3+ ((10*15)/(10+15))*10^3;
... |
28a5d7199964b36fed6b0314c9cfe5d282d5f8e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH8/EX8.9/Example_8_9.sce | 55669b50959414cbe277c780ab41f72fe8e5b39a | [] | 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 | Example_8_9.sce | //Example 8.9 From the following table calculate TFR GRR NRR
clc;
clear;
R=0.48;
BR=[23.6 114.9 145.1 122.6 79.6 35.9 3.3];
YL=[4482 4426 4359 4288 4202 4100 3979];
SRR=BR./1000;
TFR=sum(SRR)*5;
GRR=R*TFR;
NRR=(R*sum(SRR.*YL))/1000;
disp(NRR,"Net Reproduction Rate =",GRR,"Gross Reproduction Rate =",TFR,"Total... |
c9f39d94ca79fa639886dd36fb16f886820be0fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.3/exa_1_3.sce | 6186341dd2a8fa543ca43a3db75451b58cd25421 | [] | 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 | 410 | sce | exa_1_3.sce | // Exa 1.3
clc;
clear;
close;
// Given data
format('v',13)
N_D= 6*10^18;// in per cube cm
N_A= 3*10^15;// in per cube cm
ni= 2.5*10^12;
Nn= N_D-N_A;// in per cube cm
rho_n= ni^2/Nn;// in per cube cm
// Part (i)
disp(rho_n,"The concentration of holes in n-type in per cm^3 is : ")
disp(Nn,"Concentration of ... |
03ea4489844bf59833a895fe05335aa564616b1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH4/EX4.8/4_8.sce | 9d001f1a7def4e1e3e4e914ba3696b7327f2f85f | [] | 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,024 | sce | 4_8.sce | clear//
//Variables
V = 6 //Voltage (in volts)
R1 = 1 //Resistance (in ohm)
R2 = 2 //Resistance (in ohm)
R3 = 3 //Resistance (in ohm)
//Case (a):
//Calculation
RT = R1 + R2 + R3 //Equivalent Resistance (in ohm)
I = V / RT //C... |
d0b5ae443d002ed7048e80e7155c7d4ea47e5327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH4/EX4.11/ex4_11.sce | fe6bc75a2eadf68b57b29f3364597e335202c52b | [] | 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 | 824 | sce | ex4_11.sce | // Example 4.11: To determine all parameters of transistor amplifier
v_o=90; // (V)
v_i=9; // (V)
R_sig=100*10^3; // (ohm)
R_L=10*10^3; // (ohm)
v_sig=10; // (V)
A_vo=v_o/v_i;
disp(A_vo,"A_vo (V/V)")
G_vo=v_o/A_vo;
disp(G_vo,"G_vo (V/V)")
R_i=G_vo*R_sig/(A_vo-G_vo)
disp(R_i,"R_i")
disp("assume R_L = 10 kilo... |
352b9fc55fd026966e4c7335bd6858f2df79c766 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH10/EX10.4/Ex10_4.sce | bc73765319a708356f20d1cddbba35225e07aa90 | [] | 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 | 353 | sce | Ex10_4.sce | clear
//
//
//
//Variable declaration
k=1.000074;
epsilon0=8.85*10^-12; //relative permeability(F/m)
E=1; //electric field(N/C)
n=2.69*10^25; //molecular density
//Calculations
p=epsilon0*E*(k-1)/n; //dipole moment(coulx metre)
//Result
printf("\n dipole moment is %0.2f... |
5ade27e91b365949303a65047b67ee22c9fe46cb | 12d276a808c8403c4dd3b13dea1edb8720127311 | /VOT2_one-back_armtouch.sce | eb18aecb20115d8fdfa021c3b1e71d6369aeecbc | [] | no_license | npytabitha/VOT3 | 85b317ae4c120eb2bda125b28c1ad27243d40eab | 51032662c4a6f0960393aad4ebf9b3289c641155 | refs/heads/develop | 2021-01-10T05:44:31.715364 | 2015-10-01T13:34:47 | 2015-10-01T13:34:47 | 43,233,510 | 0 | 1 | null | 2015-10-02T09:05:14 | 2015-09-27T03:56:10 | Scilab | UTF-8 | Scilab | false | false | 13,124 | sce | VOT2_one-back_armtouch.sce | scenario = "One-Back-Arm"; # This name is recorded in the log file
scenario_type = trials;
response_matching = simple_matching;
response_logging = log_all;
active_buttons = 3;
#button_codes = 1, 2, 3; # These values will be used to code participant responses
#target_button_codes = 0, 0, 2;
button_codes = 0, 0, 2;
tar... |
48b026ee3ea23b81798d427f55c5c841d482a5f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.4/ex18_4.sce | 586d08ea8b55f172bfcd9234f35158e5bd6c4057 | [] | 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 | 220 | sce | ex18_4.sce | // Example 18.4, page no-462
clear
clc
N= 2.7*10^25//atoms m^-3
alfe=0.35*10^-40 //F m^2
eps=8.854*10^-12
epsr=(1+(2*N*alfe)/(3*eps))/(1-(N*alfe)/(3*eps))
printf("The dielectric constant of Ne gas is %.8f",epsr)
|
21009be6ed79713d2741f0bae9046da39672a684 | d9a33d72c74640aff9afc49aa3357413a6b1d8c1 | /result/EVALB/sample/sample.tst | f2ec7d92edc421cc2c60b20fffb37d284c30489d | [
"Apache-2.0",
"Unlicense",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | peithous/virnng | 74a082c1a2820669394bb8edbafb531522ab064f | d790c02833865c43cb8afb2552a75c9445365f24 | refs/heads/master | 2020-09-03T03:50:54.541390 | 2017-05-18T21:41:12 | 2017-05-18T21:41:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 897,427 | tst | sample.tst | (TOP (ADVP (POS No)) (POS ,) (NP (POS it)) (VP (POS was) (POS n't) (NP (POS Black) (POS Monday))) (POS .))
(TOP (POS But) (SBAR (POS while) (S (NP (POS the) (NML (POS New) (POS York)) (POS Stock) (POS Exchange)) (VP (POS did) (POS n't) (VP (POS fall) (ADVP (POS apart)) (NP (POS Friday)) (SBAR (POS as) (S (NP (POS the)... |
0f8fa678b945d549efd6a0d89bf9e07c14809b99 | ca1eaf862df63e8164039eec4e299554cf91908b | /tests/e_advanced.tst | 6bcfa37c5407e9f2547048858dcde0c00ae248ae | [
"Unlicense"
] | permissive | Coloquinte/Single-row-problem | 9e146856ca76e733d680763b682cb0362cd2132d | eac4ccb780627999b46df6a6e9ff1f4ed8a9d03c | refs/heads/master | 2021-01-22T02:08:24.392105 | 2017-01-06T20:59:05 | 2017-01-06T20:59:05 | 19,968,781 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21 | tst | e_advanced.tst | 13 17 22 41 48 73 76
|
47462a5190f6203179e5ca91237c31ce28d19fe2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH20/EX20.4/20_4.sce | 4774aabe4bf1c135674b43d1c74286fde46a8817 | [] | 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 | 288 | sce | 20_4.sce | clc
//initialisation of variables
R= 8.31*10^7 //ergs deg^-1 mole^-1
T= 20 //C
s= 4.3*10^-13 //sec
D= 6.15*10^-7 //cm^2 sec^-1
d= 0.9982 //g/cc
v= 0.735 //cm^3 g^-1
//CALCULATIONS
M= R*(273+T)*s/(D*(1-d*v))
//RESULTS
printf ('molecular weight serum albium = %.f g mole^-1',M)
|
ef0c128446832c1b5df32a57a101bc730aed6905 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH1/EX1.26/Ex1_26.sce | e3e3fe5ecb94ddb88b40d2e28cb17d12325b2044 | [] | 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 | 236 | sce | Ex1_26.sce |
//CH-1 PAGE-43 PB-3
//
//
l=1.2 //length
al=30 //map length
al=al/100
sc=1000 //suitable scale
RF=(al)/(sc*l)
printf("\n RF= %0.3f ",RF)
cm1=(1/RF)/(100)
lsc=15
cm15=lsc*cm1
printf("\n length of scale is %0.3f meters',cm15)
|
49786993d09641843481e05ed0a49a6a984a0c13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH9/EX9.8/exa9_8.sce | c92e03958962b8c45a7a0806206882e43324cbb5 | [] | 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 | 781 | sce | exa9_8.sce | //Example 9.8
// Natural Response of a Series LRC Circuit
// From figure 9.17
L=0.1;
R=14;
C=1/400;
// Since Excitation is zero by definition of natural response ,we set v_s'=0 in standard 2nd order diffrential equation
// homogeneneous differential equation will be
// i_L''+(R/L)*i_L'+(1/(L*C))*i_L=0
s=%s;
p... |
b8c12691d428eb538bfdd68cb7e3ada3ad8fa7cf | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RPS2.prev.tst | b8b3a9fb5a954cbd74cc223df9181ce84b3f3a63 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24,163 | tst | RPS2.prev.tst | # 3^1*(108*r^2 + 20*r + 1) = 2 * m^2 + n^2 ?
0 3
1 3^2*43 = 2 * (7)^2 + (17)^2 proper representation by 7^2 + 17^2
= 2 * (3^2)^2 + (3*5)^2
= 2 * (13)^2 + (7)^2 proper representation by 13^2 + 7^2 [3]
2 3*11*... |
cbe912ad46b271d3665f3300515ef978e5c1f904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH8/EX8.4/example_8_4.sce | ca82e5af96f733ff8a02d3d2198931fcbc0ab9c1 | [] | 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,317 | sce | example_8_4.sce | clear;
clc;
disp("--------------Example 8.4---------------")
N=200;
n=(N/2)^(0.5); // formula
k=2*n-1; // formula
crossbars_1stage=N/n; // formula
crosspoints_1stage=n*k; // formula
crossbars_2stage=k; // formula
crosspoints_2stage=n*n; // formula
crossbars_3stage=N/n; // formula
crosspoints_3stage=k*n; // ... |
adc36c6d59a8631ebb29c603f09b56a089d09b5d | e657bbadea88191ece0e48eb447173a4c5f816f6 | /plotOfMolsAndGradeForPi.sci | 753b5584ae84c28035590effdc5b3ee870f6f3dd | [] | no_license | vainia/Learning-SCILAB | c37d6071907ea4fad811071a3164454a927602d8 | d77877b1316b8b3546cb32cb9e29e7ad70d25280 | refs/heads/master | 2020-03-10T09:51:08.444686 | 2018-04-12T23:13:06 | 2018-04-12T23:13:06 | 129,320,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sci | plotOfMolsAndGradeForPi.sci | clf
for k=1:1000
x(k)=k
pi1(k)=MojePi1(k)
pi2(k)=MojePi2(k)
end
err1=abs/*modulo*/(pi1-%pi)
err2=abs(pi2-%pi)
X=log(x)
Y1=log(err1)
Y2=log(err2)
clf
plot(X,Y1,'.r')
plot(X,Y2,'.b')
[a1,b1]= methodOfLeastSquares(X,Y1)
[a2,b2] = methodOfLeastSquares(X,Y2)
plot(X,a2*X+b2)
plot(X,a1*X... |
a00edc4fa5e16fa8ab59fa65d97465eb01e67a70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH4/EX4.6/Ex4_6.sce | 64619731a0c38067e2ef67fdf47a6712caf95b5f | [] | 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 | 601 | sce | Ex4_6.sce |
clc
//given that
n = 4 // number of crystals per unit cell
A_c = 22.99 // molar mass of cation i.e. sodium
A_a = 35.45 // molar mass of cation i.e. chlorine
r_c = 1.02e-8 // radius of sodium atom in cm
r_a = 1.81e-8 // radius of sodium atom in cm
N_a = 6.023e23 // Avogadro constant
printf("Example 4.6\n")... |
bc90aa2f8bd3d2d75ffd36786916a32561b5f9d8 | 0a4a624c2aa1241962ca0adf212284d4fbf653ec | /3rd/1.sce | ddc275d502a81730dec73482a9a5bc3ba5080a48 | [] | no_license | zy414563492/Advanced-Course-in-Computational-Algorithms | 719a469c4b4f0aede9d89378408672d9ac712df5 | d6f5a089883b415ecd93b18bee81aac9bec69577 | refs/heads/master | 2020-08-29T07:13:39.251114 | 2019-12-17T16:11:40 | 2019-12-17T16:11:40 | 217,963,283 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | 1.sce | clear
funcprot(0)
A = [0.05 0.85 0.05 0.25; 0.45 0.05 0.45 0.25; 0.45 0.05 0.05 0.25; 0.05 0.05 0.45 0.25]
v = rand(4, 1)
res = [0.62427; 0.57716; 0.41225; 0.32745]
// Power method
for k = 1:20
w = A * v
lambda = v' * w
v = w / norm(w)
end
check = norm(v - res)
|
76db2dbe6734a69244df9ea9594b5402ddbca6d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH8/EX8.1/Ex8_1.sce | 2fd75504746f139fd1524dac2b5203f0feb24293 | [] | 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,026 | sce | Ex8_1.sce | clear
//Given
//
//
o = 22.5 //degrees , The angle of infetisimal wedge
A = 1 //sq.mm The area of the element
A_ab = 1*(cos((%pi/180)*(o))) //sq.mm - The area corresponds to AB
A_bc = 1*(sin((%pi/180)*(o))) //sq.mm - The area corresponds to BC
S_1 = 3 //MN The stresses applying on the element
S_2 = 2 //M... |
dd247623cd45611928069acf0a69b620a9dab174 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH4/EX4.1/Ex4_1.sce | e85112f1dd46598ae34098007c442cbb94e27ded | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | Ex4_1.sce | //Exa 4.1
clc;
clear;
close;
L=poly(0,'L') //Defining L as lambda
l=10*L
N=20 // number of elements
d=l/N
// formula : BW=(2*(L/d)*1/N)
BW1=(horner((2*L/(N*d)),1))
disp(BW1,"Null-to-null BW of broadside array in radians when l=10*L,N=20:")
l=50*L
N=100 // number of elements
d=l/N
// formula : BW=(2*(L/... |
bc2b86037e63da6320593a4caa04d73b32b53efd | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH12/EX12.10/12_10.sce | 3ba2f9fd4a1c06b22c8ca23cde265bf3c45c282b | [] | 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 | 240 | sce | 12_10.sce |
R2=0.5
X2=5
Tm_by_Tfl=3.5
Ts_by_Tfl=R2*Tm_by_Tfl*2*X2/(R2^2+X2^2)
disp(Ts_by_Tfl)
Ts_by_Tfl2=Ts_by_Tfl/3
disp(Ts_by_Tfl2)
Ts_by_Tfl3=0.7*0.7*Ts_by_Tfl //calculation mistake in the book at this point
disp(Ts_by_Tfl3)
|
1b700e147da568f8dd2efdac7542f04d4290699f | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH12/EX12.2/12_2.sce | fc9a97dcf119967fbcc035f2757cec46ac00af41 | [] | 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 | 923 | sce | 12_2.sce | //All the quantities are expressed in SI units
M_inf = 2; //freestream mach number
rho_inf = 0.3648; //freestream density at 11 km altitude
T_inf = 216.78; //freestream temperature at 11 km altitude
gam = 1.4; //ratio of specific heats
R... |
6edbe75605bbbd8290d744864f2e5dfdf43bb681 | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /Inria/2 cohorts/Tfini/PIP - Tfini - trait M.sce | 59937a601c798111cfe7e2e50058aedf81ee3975 | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,841 | sce | PIP - Tfini - trait M.sce | clear
//T < +∞
exec('C:\Users\Julien Guégan\Documents\Cours\MAM4\STAGE\2 cohorts\Tfini\Fonctions 2 cohorts - T fini.sci',-1)
T = 20
t = 0:T
// CI
M01 = 400
M02 = 400
n1 = 100
n2 = 1
n = n1+n2
Mee = fsolve(0,eqnM)
τee = fsolve(0,list(lambda,Mee))
disp(" M** = "+string(Mee)+" , τ** = "+string(τee))
Mσ = 1600:50:2... |
34ee543ce7404d7ee2a1bc26619898be0334a8b6 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/RA72WYU/ATWM1_Working_Memory_MEG_RA72WYU_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 74bd1fa3131b24d2c79c2e38e9897074ea2c9b7a | [] | 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,317 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
56a90b3d6bcf5720df4154d647841f1bbc84f918 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH11/EX11.10/CH11Exa10.sce | 32a7c93dc4d25c84ad4555efc5a3459c88964b22 | [] | 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 | 834 | sce | CH11Exa10.sce | // Scilab code Exa11.10 : : Page-538 (2011)
clc; clear;
e = 1.6023e-19; // Charge of an electron, C
E = 70*1.6e-13; // Energy, electron volts
R = 0.28; // Radius of the orbit, metre
c = 3e+08; // Velocity of light, metre per sec
B = E/(e*R*c); // Magnetic field intensity, tesl... |
2fe5e5de9976e63c52ea9f082d94e06b4d369187 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH4/EX4.3/Ex_4_3.sce | 2c983924002f1ed46f92da1b4886c2ba0310c106 | [] | 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 | 798 | sce | Ex_4_3.sce | //Optical Fiber communication by A selvarajan
//example 4.3
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
//given
clear all;
Eg=1.3//band gap energy in eV
l=0.4//cavity length in mm
R1=0.5//reflectivities on ends
R2=0.5//reflectivities on ends
alpha=3//loss coefficient in /mm
current_density=... |
9e2766e3a2e7da2db961da507939af821672063d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH4/EX4.16/Example416.sce | 0d05aab31ff2e3b3d58e28fb7561ca037e5bcbb8 | [] | 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 | 984 | sce | Example416.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 4, Example 16")
disp("At eye root, Ca = 150 m/s")
Ca = 150;
C1 = Ca / cos(20*%pi/180)
Cw1 = Ca*tan(20*%pi/180)
disp("Impeller speed ... |
358e8662dcba426747a3c845887af16311e32824 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2288/CH1/EX1.22.1/ex1_22_1.sce | 21f0e9f3f2ca166fd906eeade355182d7eee74a3 | [] | 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 | 203 | sce | ex1_22_1.sce | // Exa 1.22.1
clc;
clear;
close;
// Given data
a = 4.8;// in Å
h = 2;
k = 1;
l = 1;
d = a/(sqrt( ((h)^2) + ((k)^2) + ((l)^2) ));// in Å
disp(d,"The distance between d_211 plains in Å is");
|
ba7b2ca63e8c5e217500de4ecc75193781691408 | 6b7e9274b9748e4dffc5ede7f068decafb31ee39 | /Common-Core/Basic-numerical-methods/code/src/diff/dif-conv.sce | 3ae314c84c6d12fe38a528f1d3c218d0387c806e | [] | no_license | nadir-aitlahmouch/Grenoble-inp-Ensimag | 9ae70296c7ddac221dff9cfeb5b02bb2fc673a4a | ea1ea530ea05420e9caf16db6b3d3e4c306248df | refs/heads/main | 2023-03-12T00:08:33.719439 | 2021-03-04T00:53:39 | 2021-03-04T00:53:39 | 343,920,590 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,577 | sce | dif-conv.sce | Nx=200;
Nt=200;
kappa=0.01;
exec("my_cholesky.sce")
dt = 1/Nt
dx = 1/Nx
function y=phi_0(x)
if (x >= 0) & (x < 0.25) then
y = 0
elseif (x >= 0.25) & (x < 0.375) then
y = 2*(x - 0.25)
elseif (x >= 0.375) & (x < 0.5) then
y = 2*(0.5 - x)
elseif (x >= 0.5) & (x <= 1) then
y ... |
c557e5b70d01b008896f788c2d2e4f32dd05c6f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH5/EX5.3/EX5_3.sce | a7711e11da4a8a718ea3850d52fc2893d63dfae1 | [] | 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 | 470 | sce | EX5_3.sce | //chapter 5
//example 5.3
//page 426
clear;
clc;
disp("example 5.3");
printf("\n");
slots=48; //number of slots
poles=4; //4-pole machine
ph=3; //3-phase machine
SA=360/slots; //slot angle
printf("total number of slots= %d\n",slots);
printf("slot angle= %f degree mechanical\n",SA);
//c... |
aa4b9a51849477753a507a3bdffce0d39e942e42 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH34/EX34.2.1/ex2_1.sce | bfcac34759a5a73e196d910aec65458345310a3b | [] | 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 | 137 | sce | ex2_1.sce | errcatch(-1,"stop");mode(2);
disp('no.of permutations=9!/(2!*2!*2!) ')
factorial(9)/(factorial(2)*factorial(2)*factorial(2))
exit();
|
d62c8614940bd3504e08ca2fd67d69796b7db915 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/m2sci/sci_quit.sci | 20e011576743154469d45c2177a70f83f069df3e | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sci | sci_quit.sci | function [stk,txt,top]=sci_quit()
// Copyright INRIA
txt=['quit']
stk=list(' ','-1','?','?','?')
|
750b9c83646a19bae2727bf260041e03289e72cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH13/EX13.4/lqg1.sci | 2ce4a74ec4c0eb1b3d694fb812eb737b62f40499 | [] | 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,289 | sci | lqg1.sci | // LQG control design by polynomial method, to solve Eq. 13.51 on page 472.
// 13.4
// LQG controller design by method of Ahlen and Sternad
// function [R,degR,S,degS] = ...
// lqg(A,degA,B,degB,C,degC,k,rho,V,degV,W,degW,F,degF)
function [R,degR,S,degS] = ...
lqg1(A,degA,B,degB,C,degC,k,rho,V,degV,W,degW,F,d... |
3e8d6b7b1f4ab7a65e9ee38ba9444a4c8c2fae6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH6/EX6.4/6_4.sce | 577962c84a3f4b93191b25dfe7b5c3ba382c1259 | [] | 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 | 4,815 | sce | 6_4.sce | clear;
clc;
// Illustration 6.4
// Page: 342
printf('Illustration 6.4 - Page: 342\n\n');
// solution
//*****Data*****//
T = 298; // [K]
Fa = 200; // [feed, kmole/hr]
zf = 0.6;
yd = 0.95; xd = yd;
xw = 0.05;
q = 0.5; // [Lf/F]
//*****//
printf('Illustration 6.4(a) - Page: 342\n\n');
// Solution ... |
d04a23d91d8c3682241ec75ed6652aeb55505b23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH8/EX8.7/Ex8_7.sce | a3864251dba027592bbc5446d091d9888d5483b8 | [] | 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 | 923 | sce | Ex8_7.sce | //CHAPTER 8 ILLUSRTATION 7 PAGE NO 229
//TITLE:BALANCING OF ROTATING MASSES
clc
clear
pi=3.141
mA=48// mass of A in kg
mB=56// mass of B in kg
mC=20// mass of C in kg
rA=1.5// radius of A in cm
rB=1.5// radius of B in cm
rC=1.25// radius of C in cm
N=300// speed in rpm
... |
6384dd9b7ebd606649a1777b34fabfe5a140e211 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH5/EX5.11/Ex5_11.sce | 55507610892e9329275965be4e78df10615af2a9 | [] | 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 | 4,186 | sce | Ex5_11.sce | //Ex5_11
//Inverse Filtering
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
close;
clear;
xdel(winsid())//to close all c... |
90fd3a86d602539197b39db9f915343a0b50aa23 | a24c640895f1cfb1e3242099f641df51ee10297e | /example_programs/rockpaperscissors.tst | 7e727dba2e2187e356720f9e891ea2e2904a2e9c | [
"CC-BY-3.0"
] | permissive | supermaximo93/Toast-Prototype-Interpreter | 1c3d981a550f6498bb5fcc8952fdd6a5ae4c71b3 | 13547e96813add755791b33a19a4831f5e338094 | refs/heads/master | 2021-01-19T10:58:00.401688 | 2012-03-14T09:18:27 | 2012-03-14T09:18:27 | 3,140,649 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,070 | tst | rockpaperscissors.tst | ///////////////////////////////////////////////////////////////////////
/////////////// ROCK, PAPER, SCISSORS ///////////////
///////////////////////////////////////////////////////////////////////
print("Rock, paper scissors")
let getInput() =
print("Type 'rock', 'paper' or 'scissors'. Type 'quit... |
56a8f1710cc7c84ed1d5b2f33e3f7808499054a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH6/EX6.4/Ex6_4.sce | 229cbdc5d18e83a49565449a5d0303fd3c933995 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | Ex6_4.sce | //========================================================================
//chapter 6 example 4
clc;
clear;
//input data
l = 100; //length in cm
d = 0.008; //diameter of wire in cm
R = 95.5; //resistance in ohm
A = %pi*0.004*0.004;... |
9efc330cad4dc58793a94e8e925ad15d232e56fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH4/EX4.4/Ex4_4.sce | c50d449936cd8f3d82fb4fbc4f76dba05fec8f72 | [] | 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 | Ex4_4.sce | clear all; clc;
disp("From figure 4.7a, H=235ft, Q=170 gpm at b.e.p. of 57.5%. ")
disp("The corresponding NPSHR is 8.7ft. From the steam table we have pv=3.73 psia at T=150 degrees Farenheit")
disp("Also NPSPA=pt-pf+rho*g*Z-pv is greater than or equal to NPSPR ")
disp("Thus we can determine the value of Z")
NP... |
f5a64fdb673de8b9cfb58a3b27573691529f7d31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH8/EX8.4/Ex8_4.sce | c2c123b646dfd12ae7b53815564f682c34297245 | [] | 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,984 | sce | Ex8_4.sce |
clc
clear
//Input data
tw3=45;//The temperature of warm water in degree centigrade
wc1=6;//The cooling water inflow in kg/s
V=10;//volume flow of ID fan in m^3/s
Ws=4.90;//Heat absorbed by air in kW
ti=20;//The temperature of air entering the tower in degree centigrade
R=60;//The relative humidity in percentag... |
8c008336cc2474cef466a009b86a91b0be2329ec | af4d4a95bc7c6cc1c89a6aca544cba99f8c72fa9 | /_mecvoo/exemplos-scilab/sim_dae.sci | c272374a9518be2a3311b64762fdea9dd0863c1d | [] | no_license | dimasad/dimasad.github.io.OLD | 8766a03b97105fa9fba6029b42a032f3f3d001dd | 88be18351392e4749374f1c4aeed4e3c8e32c864 | refs/heads/master | 2023-05-03T11:44:00.139541 | 2021-05-28T14:29:45 | 2021-05-28T14:29:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,242 | sci | sim_dae.sci | function err = fi(xponto, x, u) // f implita
// Define os parametros do sistema
a = 1;
b = -1;
d = 0.2;
// Desempacota os estados, suas derivadas, e a entrada
x1 = x(1);
x2 = x(2);
x1ponto = xponto(1);
x2ponto = xponto(2);
u1 = u(1);
// Calcula o erro da solucao
err1 = x1ponto - x2;
err2 = x2ponto + d*x2 + b*x1 + a*... |
ae4a775785905f30516ca4407675e19d6574bf28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH5/EX5.2/5_2.sce | d021adaca1224fd891c6dc75f6767d3b627af06e | [] | 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 | 411 | sce | 5_2.sce | d = 0.004 ; // thickness of wire in m
R0 = 0.5 ; // radius of cylinder in m
E = 200e09 ; // Modulus of elasticity of steel
s = 1200e06 ; // proportional limit of steel
M = (%pi*E*d^4)/(32*(2*R0+d)) ; // Bending moment in wire in N-m
disp("N-m",M,"Bending moment in the wire is ")
s_max = (E*d)/(2*R0+d) ; // Maximu... |
b3af436b07de47e85916bad1ab0e2e7d4536cac1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH5/EX5.2/Example_5_2.sce | 21312838ce5f964033c2da7af0a3148dff65ec8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | Example_5_2.sce | // Example 5.2 An Experimenter wished to study the effect of 4 fertilizers
clc;
clear;
T_Obs= 24;
T_df= 23;
df_f=3;
df_wg=20;
disp(df_wg,"the df for With in groupis (23-3)= ",df_f,"df for fertilisers (4-1)=",T_df,"Total degree of freedom (df) is (24-1)= ",T_Obs, "Total observation =");
Total_SS=6212;
F_SS=2940... |
6219fc89b48fa0ba54fb4cabdd5d30314cdfe778 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH3/EX3.5/Ex3_5.sce | 769a3cb77b2b18a694d4379626bf55209a9cccea | [] | 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 | Ex3_5.sce | //Example 3.5:
clc;
clear;
close;
//given data :
format('v',5)
Ie=5*10^-3;// in A
alfa=0.95;
I_co=10*10^-6;// in A
Ic=((alfa*Ie)+I_co)*10^3;
Ib=(Ie-(Ic*10^-3))*10^6;
disp(Ic,"Collector current,(mA) = ")
disp(Ib,"Base current,(micro-A) = ")
|
53ed6f508c748462ee2ab84c84b34e9797045adf | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH5/EX5.1/Example_5_1.sce | 46be7e987d2ae3537587468fe6548cbbd0dbe401 | [] | 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 | 351 | sce | Example_5_1.sce | // Chapter5
// Page.No-171, Figure.No-5.4
// Example_5_1
// Maximum gain
// Given
clear;clc;
fo=5; // Break freq of the op-amp in Hz
s=%s;
A=200000; // Gain of the op-amp at 0 Hz
H=syslin('c',(A*fo*2*%pi)/((fo*2*%pi)+s));
fmin=1;
fmax=100000;
bode(H,fmin,fmax);
Aol=40;
printf("\n Maximum gain is = %.f dB... |
ea6d86948ad119cc58f0bbb6fe0ec7c0da01d432 | 845c8ae1a329364b6568f3529318bf19080ab941 | /hdl/Esc8.tst | 54622f4ed2698d92c5302cfe1cf88e9437708a7f | [
"Apache-2.0"
] | permissive | DChristianson/FPGA_lpu | 133a843e4b1df4f225aee01438930d7c42659d08 | 86f6cdc9b0aecfbdccd6ed23b73a5026776db18f | refs/heads/main | 2023-02-26T04:53:41.561411 | 2021-02-04T23:52:08 | 2021-02-04T23:52:08 | 336,049,181 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | tst | Esc8.tst | load Esc8.hdl,
output-file Esc8.out,
compare-to Esc8.cmp,
output-list in%D1.3.1 out%D1.3.1;
set in %D116,
eval,
output;
set in %D110,
eval,
output;
set in %D114,
eval,
output;
set in %D34,
eval,
output;
|
34df3ced61cd917905526f690bb00006e77e95f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.22/Example_5_22.sce | 6d60f6a91fd397cb091a0d122b6d5aa59bdcf93b | [] | 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,704 | sce | Example_5_22.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 22
clear;
clc;
//Given:
r = 8; //compression ratio
T1 = 290; //temperature at beginning (K)
P1 = 100; //pressure at the beginning (kPa)
Q1 = 450; //heat transferred per cycle (kJ... |
79d5382155e9e23ba1cd9e7d6f2beaf9788293e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH17/EX17.1/Ex17_1.sce | e2cb67334c996d4901c01254d5e3639d099cf45c | [] | 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 | Ex17_1.sce |
// Examle 17.1
f=50; // Frequency
p=4; // No.Of poles
Ns=(120*f)/p; // Synchronous speed
N=1410; // No.Of Revolution in rmp
I=2.9; // I/p current
V=230; // Supply voltage
CosQ=0.71; // Power f... |
6f525c20857c38c2d92d5c0ca6e87a59a625ee03 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_MarsProject/mars.SCI | 939a26da7f872e824c7105c8e0b97d632e91b9b1 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | WINDOWS-1252 | Scilab | false | false | 17,953 | sci | mars.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
codeblock readtextfile(ScriptDir+"\MarsProject\Sub\SUB_general.sci");
codeblock readtextfile(ScriptDir+"\MarsProject\Sub\SUB_CreateMarsGeoGlobe.sci");
codeblock readtextfile(ScriptDir+"\MarsProject\Sub\SUB_CreateMarsSurf... |
d68ed744118f1187d82931ba401d3995f4555d2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH8/EX8.2/Ex8_2.sce | 0ec5225a575fb28edc8db5cc57540c6f8f412752 | [] | 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 | 284 | sce | Ex8_2.sce | //Example 8.2
clc
clear
function [f] = dydt(t,y)
f = (y-t) / (y+t);
endfunction
y0 = 1;
t0 = 0;
t = 0.1;
n = 5;
h = (t-t0)/n;
tt = t0;
y = y0;
for i = 1:n
y = y +h*dydt(tt,y);
y = round(y*10^4)/10^4;
tt = tt + h;
end
disp(y,"y(t = 0.1) = ")
|
c396d47f91807e79f9b3c892fafdcf4b9382593f | 74084a1c6ef810ee05785941963c7dc1725783cf | /test/SH1.prev.tst | e380f571b7f855bc212dfc5687a1735e95a0c305 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/common | 338d245dc6a1ef093748fa577129ac30822ec70b | da1e36931decdbdfe201d88207d5a01c207f8c5a | refs/heads/master | 2022-03-21T14:56:42.582874 | 2022-02-07T10:39:22 | 2022-02-07T10:39:22 | 59,970,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | tst | SH1.prev.tst |
# Collection of Testcases for Common
#!java -cp dist/dbat.jar org.teherba.common.RegressionTester
|
3f20d0f3dc73961ea3b0f1390395eee28802f7cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH4/EX4.4/4_4.sce | c3ed3dc439f4f718109446a89c39e96c5c1f67dc | [] | 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 | 637 | sce | 4_4.sce | clc
//initialisation of variables
h1=3221.6 //kj/kg
s1=7.399 //kj/kgk
sf2=0.521 //kj/kgk
sfg2=7.808 //kj/kgk
hf2=152 //kj/kg
hfg2=2415 //kj/kg
t1=653 //temp in k
t2=309.2 //temp in k
v=0.1006*10^-2
p1=10 //pressure in bar
p2=0.06 //pressure in bar
h3=152 //kj/kg
x=110
y=639.7
z=610
a=2015
//CALCULATIO... |
7945c15da5f35c9f939003d12740ac319727f227 | 1232196a72221f6cc0ee0a9a47111ef1188dafe9 | /xcos_blocks/vol_div.sci | 09d47a842fe1cd3bd6253a3eb2502c3231942097 | [] | no_license | sumagin/rasp30 | 06dc2ee1587a4eaf3cf5fb992375b8589617f882 | a11dcffaed22dbac1f93c2f4798a48c7b0b1f795 | refs/heads/master | 2021-01-24T23:51:54.459864 | 2016-07-08T22:03:43 | 2016-07-08T22:03:43 | 16,685,217 | 2 | 3 | null | 2015-07-23T15:28:49 | 2014-02-10T05:17:38 | C | UTF-8 | Scilab | false | false | 2,007 | sci | vol_div.sci | function [x,y,typ]=vol_div(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[... |
5bbff6181bcf9a12f55f8940955478a836651fc7 | 8965236683cecafded4c307c22f5b917ce36263f | /java-src/simulation/Greenfoot/users/User2/robot2.tst | 47e00ad9bd0b7f302bfe7ee75e7be356ea0807ec | [] | no_license | artagesw/FROIDZ | 67f484f6938fd16cb9e2e0aa7770b67dbfba2041 | 9498ba04651cc30053274f622d43ae20b03524f6 | refs/heads/master | 2016-09-06T13:50:26.181686 | 2012-05-21T22:59:49 | 2012-05-21T22:59:49 | 3,656,428 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | tst | robot2.tst | 0101 1001 0000 0000 0000 0000 0101 1111
0101 0011 0000 0000 0000 0000 0000 0000
0100 0010 0000 0000 0000 0001 0000 1100
0100 0110 0000 0000 1001 1100 0000 0001
0101 1000 0000 0000 0000 0000 0101 1111
0101 0011 0000 0000 0000 0000 0000 0010
0101 0011 0000 0000 0000 0000 0000 0000
|
e9ea39edb8e07ffd6d67fff57dfa8fa8e12458bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH14/EX14.20/Ex14_20.sce | 20c5ab5ec56d7bc171c0baf26d8d67b01b5b9c40 | [] | 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 | 447 | sce | Ex14_20.sce | clc;
Rin=454000;
Rs=1000;
Rth=(Rin*Rs)/(Rin+Rs);
Cgd=0.000000000004;
Gm=0.004;
rD=3325;
CinM=Cgd*(Gm*rD+1);
Cgs=0.000000000005;
Cg=Cgs+CinM;
Cg=0.0000000000622;
f2G=1/(2*3.14*Rth*Cg);
CoutM=0.000000000004;
Cds=0.000000000002;
CL=0.000000000001;
Cd=CoutM+Cds+CL;
f2D=1/(2*3.14*rD*Cd);
disp('MHz',f2G/1000... |
8e45a6d75e6b4701569419b274bbf5b219b56180 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH10/EX10.10/10_10.sce | e5a2a7366da87493af3b0471ab778af2eac97a7a | [] | 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 | 251 | sce | 10_10.sce | clc
//initialization of varaibles
T=100 //F
P=1000 //psia
//calculations
disp("From table 4")
dvf=-5.1*10^-5
dhf=2.7
vf=0.01613
hf=67.97
v=vf+dvf
h=hf+dhf
//results
printf("Enthalpy = %.2f B/lb",h)
printf("\n Volume = %.5f cu ft/lb",v)
|
c925a24b2cc080b23d12acab3dc31ad48556f8c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH11/EX11.12/11_12.sce | 4a40a2a624a752db37f4f9c8d0831dda66359586 | [] | 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 | 852 | sce | 11_12.sce | //chapter 11
//example 11.12
//page 338
clear all;
clc ;
//given
Rl=50;//load resistance in kohm
Vcc=12;//supply voltage V
f1=150;//lower cutoff frequency Hz
Vp=50;////op voltage mV
hfe=70;
ip=Vp/Rl;
Ie2=2;//Ie2>ip
Ve2=5;
R4=Ve2/Ie2;
printf("\nR4= %.1f kohm ,use standard value 2.2 kohm",R4);R4=2.2;
Ic2=... |
130a6db556d05bcb46f07bca93cef67ad087b322 | 28a8d47c4d79b231f8bebc28925792a290f67e9f | /html/others/sql/test_html.tst | 42f3b598d737879ed044415cb2ba5ad79261aaaf | [] | no_license | ZVlad1980/doo | a1fe7d18ccfd0acf6ced7dbb33927c86a925aae8 | e81be8f524b78b9a6ec06b7f83a8c13354fc6412 | refs/heads/master | 2021-08-17T02:03:54.553822 | 2017-11-20T17:21:03 | 2017-11-20T17:21:03 | 111,440,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | tst | test_html.tst | PL/SQL Developer Test script 3.0
16
-- Created on 10.09.2014 by ZHURAVOV_VB
declare
-- Local variables here
h xxdoo.xxdoo_html := xxdoo.xxdoo_html('xxdoo','xxdoo_cntr_contractor_typ');
m clob;
begin
--dbms_session.reset_package; return;
-- Test statements here
h := h.h('p',h.G('name')).each('sites',h.h('p... |
7aba3ebaef39842a7d2183d8ef17104834180e9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/8_05.sci | 50ad20760152d4b7499387e6fd977d2d31058fcb | [] | 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 | sci | 8_05.sci | //Volme flow rate of water(in m^3/sec):
Q=0.0084;
//Length of horizontal pipe(in m):
L=100;
//Diameter of pipe(in m):
D=0.075;
//Density of water(in kg/m^3):
d=999;
//Friction factor:
f=0.017;
//Minor lossses coefficient:
K=0.5;
//Viscosity(in kg/m-s):
u=10^-3;
//Acceleration due to gravity(in /sec^2):
g... |
25c30635b5d7037010dda09e9de191c85e9ffb6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH7/EX7.19/ex_7_19.sce | 6e67105ed6afbfa363ed28d0514a1b4aadda3f07 | [] | 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 | 273 | sce | ex_7_19.sce | //Example 7.18 // the longitudinal and hoop stress
clc;
clear;
close;
//given data :
ex=1540;
ey=-420;
A=110*10^-6; // in m^2
P=25*10^3; // load in N
ax=P/A;
by=0;
E=(ax/ex);
mu=(ey*E)/ax;
disp(E*10^-3,"modulus of elasticity,E(GN/m^2) = ")
disp(-mu,"poisson ratio,ey = " )
|
76744a35d07ab340b23d23e0e58d037087a5b05a | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH20/EX20.6/example20_6.sce | 7c60597fffc7578a49aa6cafd57e4d42a09c3f68 | [] | 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 | 193 | sce | example20_6.sce | v=10;
l=10;
r=100;
f=60;
disp("Part a");
disp("the dc output voltage (in V) is"); disp(v);
disp("Part b");
x_l=2*%pi*f*l;
vo=v*r/x_l;
disp("the ac output voltage (in V) is"); disp(vo); |
1b4f94e20419f8050a4cb0d0ee020683dca59127 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/filtic.sci | 3fd919a18d8a2e3a71642adc4638b4e65a5bb693 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,033 | sci | filtic.sci | function zf = filtic (b, a, y, x)
//This function finds the initial conditions for the delays in the transposed direct-form II filter implementation
//Calling Sequence
//zf = filtic (b, a, y)
//zf = filtic (b, a, y, x)
//Parameters
//b: vector of real or complex numbers
//a: vector of real or complex numbers
//y: v... |
4d7082f30ce558fc2bf0a303b9e6bd5d80cf067b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.26/Example4_26.sce | cd04b63b31c78fad29697f65d9cfa3c75eddd525 | [] | 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 | 515 | sce | Example4_26.sce | //Exa 4.26
clc;
clear;
close;
//Given data :
r=2/100;//m
d1=4;//m
d2=4;//m
d3=8;//m
epsilon_o=8.854*10^-12;//permitivity
CN=2*%pi*epsilon_o/log((d1*d2*d3)^(1/3)/r);//F
disp(CN,"Part(i) Capacitance per phase per meter length(F) : ");
h1=20;//m
h2=20;//m
h3=20;//m
h12=sqrt(20^2+4^2);//m
h23=sqrt(20^2+4^2)... |
53e50e598658bae103316f89a85336d2368760b1 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.18_15.tst | faafa3f477ecc860ba0e0a741233f33517ad767d | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 540,818 | tst | 5.18_15.tst | 18 226:2 315:1 327:1 717:1 759:1 917:1 941:1 1525:2 1553:1 1594:1 2006:1 2239:2 2446:1 2735:1 2768:1 2801:1 2840:2 2860:1 2993:2 3101:1 3138:1 3192:1 3202:1 3363:1 3619:1 3878:1 4079:1 4745:1 4775:1 4826:1 4880:1 4881:1 5470:1 5577:1 5651:1 6097:1 6476:1 6482:1 6757:1 6926:1 7340:1 7661:1 7683:1 7713:1 7931:1 8470:3 86... |
7961823c2d0e7aab90249f01d7477e5dfc4d1c37 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/risetime/risetime9.sce | 33930d6145b45f419a68920c5cc515ae951cda3f | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | risetime9.sce | x=[0
0.0112910099304681;
0.0375437844553138;
-0.0502505723940154;
0.0237536810920502;
0.00286337692936232;
-0.0268585407773543;
-0.00670100836859748;
0.00681025234400021;
0.0743232780915911];
fs=4e6;
[R LT UT LL UL]=risetime(x,fs);
disp(R);
disp(LT);
disp(UT);
disp(LL);
disp(UL);
//output
// 0.0000002
//
// 0.000... |
971d0465d0182be6fadcca11224835994632223b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH7/EX7.4/ex7_4.sce | 1fff1d0d198767abc2b7e2f20fc1850a169c1ea1 | [] | 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 | 961 | sce | ex7_4.sce | //Calculate voltage and current gain and input and output resistance
clear;
clc;
//soltion
function [z]=prll(r1,r2)//Function for the parallel combination of resistor
z=r1*r2/(r1+r2);
endfunction
//given
//DC analysis
Vcc=12;//V
Rb=200*10^3;//ohm
Rc=1*10^3;//ohm
B=100;// beta
Ib=Vcc/Rb;
Ic=B*Ib;... |
7afec7c98bc55ba63e959d3437ea5edfc33156e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH4/EX4.2/example2.sce | ecbb4b9098d1c4fa57c1fd36bcac0c01ef7f702d | [] | 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 | 531 | sce | example2.sce |
// Example 4-2, page 95
clear;clc; close;
// Given data
// refer to the diagram
// turns ratio 5:1
V1=120;// primary voltage in volts
// Calculations
V2=V1/5;// secondary voltage in volts
Vpin=V2/0.707;// peak secondary voltage in volts
// with ideal diode
Vpout=Vpin;
Vdc=Vpout/%pi;
disp("Volts",Vpout,"Peak voltag... |
6f976883bfd58ae761552f6218a6c7ae61b23918 | b73e9d989ebb6c74535238e10eede063a5d7e66b | /kepler_eqn.sce | 631099963e90261d16ca7667386fadd8a0c305e5 | [] | no_license | ParthaSurve/CODES_SEM_VI | 930a520ccdbc7cb389dac6b6f03900674b5e1a6b | 1f6afa9b92ad8263d0773ce0f90f9ffa5943b8e4 | refs/heads/master | 2021-01-21T05:13:44.089655 | 2017-02-25T17:46:44 | 2017-02-25T17:46:44 | 83,149,933 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | kepler_eqn.sce | clear;
clc
clf
pi = 2*3.14
M=2.9288 //mean anomaly angle
e = 0.9 //eccentricity
tolerance = 1.e-6 //error tolerance
//Select a starting value for E:
//Iterate using the Newton Rhapson Method
Residue = 1
E= ones(360,1)
E1= ones(360,1)
for M = 1:1:360
while abs(Residue) > tolerance
E(M) = E(M)- (E(M) - e.*sin(E(M)... |
784d085c315a27ca63f53b39d4c588c49fdfe581 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH4/EX4.16/16.sce | b5382cb6b9013ad4122a1e4a4c53f198a12de2c8 | [] | 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 | 525 | sce | 16.sce | clc
// Given that
lambda = 5e-7 // wavelength of light in meter
mu_o = 1.5442 // refractive index for ordinary light
mu_e = 1.5533 // refractive index for extraordinary light
// Sample Problem 16 on page no. 218
printf("\n # PROBLEM 16 # \n")
t1 = lambda/(2*(mu_e - mu_o))
t3 = 3*t1
t5 = 5*t1
// calculation for thick... |
47f073b1535e17af824e2323d8a44e7bd9bcad1a | bd4a88a5c028a801cbf0e414d2630de1c1e35449 | /scilab/svm-classification/GenerateData.sci | 4644ae6fdc03162bf1e19fff29ef24f0d8783cbb | [] | no_license | edielsonpf/turning-signal-analysis | 625783cea26b029c87925f96af4ac14aa38c8ae8 | 2fd594e79395caa72f5cebc378878367ff0e7f01 | refs/heads/master | 2021-03-13T00:01:23.673430 | 2018-12-24T14:44:39 | 2018-12-24T14:44:39 | 41,508,152 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,476 | sci | GenerateData.sci | function [Xtrain,Dtrain,Xtest,Dtest]= GenerateData(TrainingRate)
DEFINE_DBG=0;
//definitions
NUM_REPLICAS = 15;
NUM_EXP = 10;
NUM_TRAINING=round(TrainingRate*NUM_REPLICAS);
// read csv file
StringData = read_csv('data.csv');
data = evstr(StringData);
if DEFINE_DBG == 1 then
disp(data);
end
//mounting training a... |
49b457d1f6afd7c08b0977e6a811e239a721bc2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH13/EX13.14/ii_14.sce | a3b6a030c0aa8f335e0b968acddd4aca472dea49 | [] | 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 | 473 | sce | ii_14.sce | // EMF induced in coils parallel to each other
clc;
clear;
Nx=1000;
Ix=5;
flux1=0.05*(10^-3);
di=12;
dt=10^-2;
K=60/100;
Lx= Nx*flux1/Ix;
// Since two coils are identical, Both will have equal self inductances.
Ly=Lx;
M=K*sqrt(Lx*Ly);
Ey=M*di/dt;
disp('volts',Ey,'The EMF induced by the coi... |
ea3214c4635703f3d2e0e54a1e5a4ab517984f86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2303/CH1/EX1.5/EX_1_5.sce | 0c6025d63798490d64ccfb8ff37cde5087ec94b3 | [] | 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 | EX_1_5.sce | //Example 1 5
clc ;
clear;
close;
f=9; //assuming frequency to be a constant 9Hz.
t =0:.1:10;
x1= cos (2* %pi *f*t);
x2=t+x1;
plot (t,x2);
xlabel('Time');
ylabel('Amplitude');
title('Plot of given sequence to test periodicity');
disp ( 'Plotting the signal and showing that it is APERIODIC' );
|
b5d30853320618d5b91a7ad7a2168f498a4fa6f1 | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/pataddtn.tst | 8e352c2c93bf9ea17678a64da1b5c6c899285a48 | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | tst | pataddtn.tst | (set-strategy depth)
(unwatch all)
; pataddtn.clp test
(clear)
(open "pataddtn.rsl" pataddtn "w")
(load "compline.clp")
(dribble-on "pataddtn.out")
(load "pataddtn.clp")
(reset)
(agenda)
(dribble-off)
(printout pataddtn "pataddtn.clp differences are as follows:" crlf)
(compare-files pataddtn.exp pataddtn.out pataddtn)
... |
87848894df62c1e2c0836f974a8f2582e94fe801 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH10/EX10.8/Ch10Ex8.sce | 21fc4ea8981bad39da132af197ad2ce0076dfbde | [] | 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 | 897 | sce | Ch10Ex8.sce | // Scilab Code Ex10.8: Page-512 (2011)
clc;clear;
q1 = 8e-007;....// First Charge, C
q2 = -8e-007;....// Second Charge, C
r = 15e-002;....// Distance between the two charges, m
k = 9e+009; // Coulomb's constant, N-metre-square/coulomb-square
E1 = k*q1/r^2;....// Electric field strength due to charge 8e-007 C
pri... |
c38c920958e593fda13bfb4b86553eabd465735f | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH5/EX5.4/Exa5_4.sci | 669b457818b89f0f026d16901fedccfa662d8f54 | [] | 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 | 708 | sci | Exa5_4.sci | //Write equation of modulated wave for (a) FM (b) PM and when modulating frequency is changed to 2Khz
fc = 25e+6;
fm = 400;
del = 1e+4;
wc = 2*%pi*fc;
wm = 2*%pi*fm;
mf = del/fm;
disp(wc, ' Equation of modulated wave in FM for case (a) is V = 4sin( ')
disp(mf,' t + ')
disp(wm, 'sin ')
disp('t (FM... |
17e7cf4a56d69c9e09aead83f9528f7e42ac8013 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.44/exa2_44.sce | 97b62b19ab16cfbfed3520649c8631abadc353e9 | [] | 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 | 342 | sce | exa2_44.sce | //Example 2-44//
//add -3 to 2 in one's complement using 4 bits//
clc
//clears the window//
clear
//clears all the existing variables//
x=2
y=bitcmp(3,4)
//complement of the decimal number 2//
z=x+y
a=dec2bin(z)
//binary conversion//
disp('binary form of the number obtained by adding -3 to 2')
disp(a)
//r... |
4fa4d72ee88944b028916c37c5d961872969a14b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH4/EX4.6/exa_4_6.sce | ad8db54920b9a5c84bb16ffaedf26ab91df44d69 | [] | 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 | 386 | sce | exa_4_6.sce | // Exa 4.6
clc;
clear;
close;
// Given data
Vrms=120;// in mV
Iav= 1.25;// in mA
I_max= 1/0.318*Iav;// in mA
Vmax= sqrt(2)*Vrms;// in mV
R2= Vmax/I_max;// in ohm
disp(R2,"Value of R2 in ohm")
// when input voltage is 60 volt
Vrms=60;// in mV
Vmax= sqrt(2)*Vrms;// in mV
I_max= Vmax/R2;// in mA
Iav= I_max*... |
32bdb97dde0636ffd2dcc518bd6b63e5c92eb289 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.013/Ex2_13.sce | f620ab84329d4fe22cc1cc473b90c2efcf9f9fed | [] | 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 | 855 | sce | Ex2_13.sce | // Example 2.13
// Calculation of (a) core radius and (b) maximum value of angle of acceptance of the fiber
// Page no 483
clc;
clear;
close;
//Given data
lambda=1320*10^-9; // Wavelength of fiber
delta=0.077; // Relative refractive index
n1=1.48; // Refractive i... |
1cf54333a278fcbda1d94072f627ee831d19362b | 256f0055d000d9c71c41cf0df7a7a750619fbfd0 | /letraD.sce | 0c1da4933fbd1bf90a79cc70330120310f85f412 | [] | no_license | ItaloOliveiraF/Sistema-de-Transmiss-o-de-Dados | efec24f05af567e24d5450d3e2513865b4ce5117 | dec4f2b2c1f4f9b701de1737a5efe2bbae465811 | refs/heads/master | 2020-04-05T09:29:00.397099 | 2018-12-21T20:36:15 | 2018-12-21T20:36:15 | 156,759,189 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,328 | sce | letraD.sce | clear;
clc;
load('C:\Users\italo\OneDrive\Documentos\UFRN\std\projeto2\Sinais_STD\xa_3_1.sod')
sinal_mensagem_ana=x_a;
load('C:\Users\italo\OneDrive\Documentos\UFRN\std\projeto2\Sinais_STD\xa_23_1.sod')
sinal_mensagem_italo=x_a;
load('C:\Users\italo\OneDrive\Documentos\UFRN\std\projeto2\Sinais_STD\xa_28_1.sod')
... |
6a620f13fb392bedd6c1a5286fbc68cb24eb7a42 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/rssq.sci | e04050e03f1af454c53588904abb1f591dd176b2 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,262 | sci | rssq.sci |
function out = rssq(in, orientation)
//This function calculates the square root of the sum of values of input vector IN.
//
//Calling Sequence
//OUT=rssq(IN)
//OUT=rssq(IN,orientation)
//
//Parameters
//in:Vector or Matrix of real or complex elements.
//orientation: A string with possible values "r", "c" or "m" or num... |
06abaf71e85c5ed031978a75b43a604f6f3f9adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH12/EX12.7/12Q7.sce | 438944763a32e800c8edd8fb0a26b0c44c23ee6e | [] | 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 | 112 | sce | 12Q7.sce | clc
T3=12
a=27.8
T1=T3*(tand(45+a/2))^2
Tf=T1-T3
printf('the deviator stress at failure = %f lb/in^2',Tf)
|
2d00044ed37766d91fc7efb92db08f0b1448fddd | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH7/EX7.8/7_8.sce | 20bb238be8fb6b5925f7fcda535e7a4398cb6e5e | [] | 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 | 615 | sce | 7_8.sce | clc;
clear;
w=20;//m
Q=125;//(m^3)/s
ratio=1/15;
t=24;//hours
wm=ratio*w;//m
//Vm/(gm*lm)^0.5 = V/(g*l)^0.5
//gm=g
//Q=VA and lm/l=1/15
//hence Qm/Q = ((lm/l)^0.5)*((lm/l)^2) = ratio^2.5
Qm=(ratio^2.5)*Q;
//V=l/t
//tm/t=(V/Vm)*(lm/l)=ratio^0.5
tm=(ratio^0.5)*t;//hours
disp("m",wm,"The required model widt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.