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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c1a7291a87507bf472ddc4ffd9d1c99b63c7eb8e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos/connected_links.sci | 746dd4de92f865732d5410b7928774d27dc40c1b | [
"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 | 966 | sci | connected_links.sci | function connected=connected_links(scs_m,k)
//given a link number returns all links connected with him through split
// Copyright INRIA
TYPE_OBJET=1;GRAPHIQUE=2;
OBJET_ORIGINE=8;OBJET_DESTINATION=9
$ENTREES=5;$SORTIES=6;$ENTREES_EVT=7;$SORTIES_EVT=8
if scs_m(k)(TYPE_OBJET)<>'Link' then
error('Object is not a link')
... |
2189057aa4648a2b7705011271a8fa3c08c9e0f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH10/EX10.7/Example10_7.sce | b7d5a2dcdabd93b42c8d68a9474e368da027e2a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | Example10_7.sce | //Example 10.7
clear;
clc;
K=10;
VT0=(273.2*10^(-3));//273.2 K for T=0 degCelsius
fo0=0;
R2R3rat=(1-VT0)/VT0;
RC=1/((10^4)*K);
C=3.9*10^(-9);
R=RC/C;
R3=2.74*10^3;
R2=R3*R2R3rat;
R1=R-((R2*R3)/(R2+R3));
printf("Designed Celsius to Frequency Converter :");
printf("\nR=%.3f kohms... |
aa60f73f043be69e77ac478f57d5ce849d1b0169 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/infneuron.sce | 857d9f9da1de793cbc395d173ccc96358533ac66 | [] | 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 | 155 | sce | infneuron.sce | style.fontSize=14;
style.displayedLabel="<table> <tr><td align=center>INF<br>Neuron</td></tr></table>";
pal5 = xcosPalAddBlock(pal5,"infneuron",[],style);
|
6f180ffe623badc38acb9618e31f33f65ab60d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.16/Ex4_16.sce | 1c6845a6cf0c7b6b6710af3613672b8a154abb7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | Ex4_16.sce | //Example 4.16:
clc;
clear;
close;
//given data :
A=200;//gain without feedback
Beta=0.25;//feed back ratio
gc=10;//percent gain change
dA=gc/100;//
dAf= ((1/(1+Beta*A)))*dA;//
format('v',7)
disp(dAf,"small change in gain is,=")
|
348ac8e41d1703ed8b31cb1dd1838b716f767bbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH2/EX2.15/2_15.sce | 00ee15834fd3f2c163bea250bcc4930b6107f47e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | 2_15.sce | //Bolt with reduced shank diameter
g = 1.50; // inch
d = 0.5; //inch
t = 0.25; //inch
d_r = 0.406; //inch
L = 13.5; //inch
ratio = ( (g*(d^2)) / ( ((g-t)*(d_r^2))+(t*(d^2))) ) //U2/U1
disp(ratio,"The energy absorbing capacity of the bolts with reduced shank diameter")
// Long bolts
ratio_1 = ( (((L-t)*(d_r^2))... |
9e5243206933300a4af76daea9c40f85a3741bce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH8/EX8.5/Ex8_5.sce | 5eea3a682eb41951d777bdc4a3367bbf163995ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | Ex8_5.sce | clear
//Given
n=20
I=1 //A
r=0.08 //m
u=4*3.14*10**-7 //T/A m
//Calculation
B=u*n*I/(2*r)
//Result
printf("\n Magnitude of the magnetic field is %0.3f *10*4 T", B*10**4)
|
2938e90ddf09c09724620348f472e25ead4b5b1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH14/EX14.1/exa14_1.sce | db0c51e2abb9d6f689c219a8a4b4bcd9af40b280 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | exa14_1.sce | // Example 14.1
// From figure 14.7(a)
// Let us assume some Values to R's and C for illustration purpose
R=5;
C=0.1*10^-6;
s=%s;
// Conductance matrix from figure 14.7(b)
Y_11=s*C+1/R;
Y_12=-s*C;
Y_21=Y_12;
Y_22=Y_11;
Y=[Y_11,Y_12;Y_21,Y_22];
delta=det(Y);
// Solving matrix equation
// Y*[V_1;V_2]=[I_1;I... |
56f7bc064a31cd32b525d7db2d4f2da4706b82a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.4/Ex1_4.sce | c0d7943ea998f7513a996b20637accd388190581 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | Ex1_4.sce | //Example 1_4 page no:5
clc
clear
R=10;//Resistance in ohm
V=12;//Voltage in volt
I=V/R;
disp(I,"current flowing through resistor(in A):")
|
dc68042ee761c49682e057c3ebcbf5b50ddef8f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH3/EX3.13/Ex3_13.sce | f17a9192c427a5a50497af4b27503d10b73d83ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex3_13.sce | //Ex:3.13
clc;
clear;
close;
n1=1.48;// core refractive index
n2=1.46;// cladding refractive index
a=2.5;// radius in um
y=0.85;// wavelength in um
dl=(n1-n2)/n1;// index difference
v=(2*%pi*a*n1*(2*dl)^(0.5))/y;// the normaised frequency
M=(v*v)/2;// number of modes
printf("The number of modes=%f", M); |
ebb312ca9978cd92ab6c3cbfc613736c33c049f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3761/CH4/EX4.13/Ex4_13.sce | e9b3561e57529a3423454d7e0244d7812d3710b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_13.sce | disp("Example 4.13")
disp("fck=20MPa","fy=Fe250","Ast=4926mm^2","d=520mm","bw=250mm","Df=100mm","bf=850mm","Given:")
bf=850
Df=100
bw=250
d=520
Ast=4926
fy=250
fck=20
Es=2*10^5
xumaxd=0.0035/(0.0055+0.87*(fy/Es))
xumax=xumaxd*d
disp("mm",xumax,"xumax=")
disp("First assuming xu</Df and xu</xu,max")
disp("x... |
1654fad6378be3b02891ef67da13458f6f2dd194 | ebd0c2905c4b177092fc175723fe152edf0c7eb0 | /Trabalho02/quest_01.sce | ff437dfa3ec95918abc5dce7b6358f3c7eb6af7b | [] | no_license | klayverxd/trabalhos-inteligencia-computacional | 8afbb94f657dec82925ce7e91a918d6a943f7464 | fa4d4f1e5930cfd6f6addb960f243db1a21e77f6 | refs/heads/main | 2023-07-04T04:23:20.617977 | 2021-08-12T18:24:03 | 2021-08-12T18:24:03 | 385,429,278 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,744 | sce | quest_01.sce | // PERCEPTRON
clear;
clc;
dados=[];
//captura da qtd de pontos da 1° classe
qtd_pontos_a = input("Digite a quantidade de pontos da classe 1: ");
dados(1:qtd_pontos_a, 1:4) = 0;
//captura da qtd de pontos da 2° classe
qtd_pontos_b = input("Digite a quantidade de pontos da classe 2: ");
dados(qtd_pontos_... |
6dccaa23fddbf6ce813c3f9b801a72ba05ac4d36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH6/EX6.6/Example6_6.sce | 2a21689ac4afacf6d6f428c087bce7d0799874af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | Example6_6.sce | //Simpson Rule
clc;
clear;
close();
format('v',10);
funcprot(0);
deff('[y]=f(x)','y=exp(x)');
n = [1 2 4];
a = 0;
b = 2;
h = (ones(1,3)*(b-a))./(2*n);
s(1) = h(1)*(f(a)+f(b)+4*f(h(1)))/3;
disp(s(1),'n=1');
s(2) = h(2)*(f(a)+f(b)+2*f(2*h(2))+4*(f(h(2))+f(3*h(2))))/3;
disp(s(2),'n=2');
s(3) = h(3)*(f(a)+f(b)+2*(f(... |
1537d8cc78106cdd503ba7991fb77302437db0b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH3/EX3.7/Exa3_7.sce | e37365b6017fccca886761edfee79e8dae1a490c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | Exa3_7.sce | //Exa3.7
clc;
clear;
close;
// given data
rho_i=0.47;// in ohm-meter
sigma_i=1/rho_i;
miu_e=0.39;// in m^2/V-s
miu_h=0.19;// in m^2/V-s
e=1.6*10^-19;// in C
// since sigma_i=n_i*e*(miu_e+miu_h);
n_i=sigma_i/(e*(miu_e+miu_h));
// so Density of electrons = Intrinsic Concentration,n_i
disp("Density of elect... |
ec953454acb9f4384794ef2074c1f098b8bbdb33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH7/EX7.7/Ex7_7.sce | df21dadbd179fd57cea85bd0beceaf69322594c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 895 | sce | Ex7_7.sce | //Example 7.7
clc
clear
function [I] = simp13 (fun,a,b,n)
// Integrate the function over the interval using Simpson's 1/3rd rule
// simp13 (fun,a,b,n)
// fun - function to be integrated
// a - lower limit of integration
// b - upper limit of integration
// n - No. of times simpson's 1/3rd rule needs to be ... |
5976439c4bbb9fcced34cd77e3fd102b33bec58d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/elem/log10.sci | 372f873601460b78d90e26d4324032b89137ead6 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 37 | sci | log10.sci | function y=log10(x)
y=log(x)/log(10)
|
dd3ebf0ff4568e6994d1f73af319ee7222745332 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH2/EX2.20/EX2_20.sce | 176bda504e201fcbefd5951170b0a09794bc403b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | EX2_20.sce | //calculating the speed of the motor
//Chapter 2
//Example 2.20
//page 125
clear;
clc;
disp("Example 2.20")
Il=5; //current in amperes al no-load
V=250; //voltage in volts
Rf=250; //field resistance in ohms
If1=V/Rf; //field current in amperes
Ia1=Il-If1; ... |
5c001f8aca40443d2a9bae87f4a0b37f83273343 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/sort.man.tst | 893d4c6d70cf52e6561510889c00a805b61f14e4 | [
"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 | 214 | tst | sort.man.tst | clear;lines(0);
[s,p]=sort(rand(1,10));
//p is a random permutation of 1:10
A=[1,2,5;3,4,2];
[Asorted,q]=sort(A);A(q(:))-Asorted(:)
v=1:10;
sort(v)
sort(v')
sort(v,'r') //Does nothing for row vectors
sort(v,'c')
|
e845f0504b01940e559efccd4c5c70364ac6f1ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.12/Ex4_12.sce | eca9b106a7f29feb7c975e36a688f94d869d6f72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Ex4_12.sce | clc;
D=50;//diameter of commutator
N=1000;//speed of rotation of commutator in rpm
Wb=1.5;//brush width
V=%pi*D*N/60;//peripheral velocity of commutator
Tc=(Wb*1000)/V;//time of commutation in ms
printf('Time of commutation is %f ms.',Tc);
|
c4926681ce75531e1a9e0b154e10e21543c928bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH10/EX10.1/eg_10_1.sce | f9ef40593230b5e9e4e1f7dc1910d67865710ae7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,570 | sce | eg_10_1.sce | clc;
clear;
disp(" ... NS ");
disp(" PS x=0 x=1 ");
disp(" A E,0 C,0 ");
disp(" B C,0 A,0 ");
disp(" C B,0 G,0 ");
disp(" D G,0 A,0 ");
disp(" E F,1 B... |
e37b35ac9a0c68a74e5e27ccb3f1696ca2a792c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH5/EX5.3/Ex5_3.sce | 47d11663ae2129c888766b84ccf2c55b9c127d28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,052 | sce | Ex5_3.sce |
//To Determine the average KW input to the furnace
//Page 288
clc;
clear;
M=10*(10^3); //Mass of Steel Melted
t=2*3600; //Time Taken to Melt the steel
eff=50/100; //Overall Efficiency
I=9000; //Current Input
R=0.003; //Resistance
X=0.005; //Reactance
SH=0.12; //Specific Heat
LHF=8.89*(10^3); //Latent Heat o... |
84575c53ca7c3e8d3cafb0b8eba79e3eeea17b7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.13/Ex4_13.sce | 477bad052adba2569591ab1c15a8b2ae0f072281 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,199 | sce | Ex4_13.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.13
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
N1 = 1200; // Rotation speed of the Separately exci... |
8306d7e867cf972dbcb07bcec1ac48513149a228 | c24cd96bca21333277c6352adb7360336fb00d23 | /GRADDESCENT.sce | e9f60a2bbdf03be5870daa3929b5fdc25c9c2c61 | [] | no_license | ThiagoMoraes-UERJ/Metodos-de-Otmizacao | c8c2e994cf583a2439c1c16c2d15e01ea9f6c557 | 4c458d1c4c9ab4bb39479b079a31391699926815 | refs/heads/master | 2020-05-07T11:42:18.867938 | 2019-04-10T01:00:31 | 2019-04-10T01:00:31 | 180,472,518 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,116 | sce | GRADDESCENT.sce | //para lambda newton--------------------------------------
function z = f(y)
z = (y-2)^(4)-(y-2*y)^2;
endfunction
function t =f1(y)
h=0.01;
t = (f(y-h) - f(y))/h;
endfunction
function p =f2(y)
h=0.01;
p = (2*f(y-h) - f(y))/h;
endfunction
//-------------------------------------------... |
248e291abdef9d08aa9ba85983d56acf815cb8ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH5/EX5.2/2.sce | 942124144029c3e267da39f4b7d4d006b12eaf8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | 2.sce | clc
clear
//INPUT DATA
w=1.55*10^-6//wavelength of light emission in m
h=6.625*10^-34// Planck's constant in m^2 Kg/sec
c=3*10^8//velocity of light in m/s
e=1.6*10^-19//charge of electron in coulombs
//CALCULATION
Eg=(h*c)/(w*e)//band gap in eV
//OUTPUT
printf('The band gap for lnp laser diode is %3.4f eV... |
2fc518c717d638addb7b54575ee3fda6811e1365 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Evlptablepers.sci | 15ddd0a855892519fdec4fa01e0d93b112556d27 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,136 | sci | Evlptablepers.sci | // 08.09.21
// 13.11.01 ( __ added to varibles )
function [Zval__,Xval__,Yval__]=Evlptablepers(MS__)
Nargs__=Mixlength(MS__);
Eps__=10^(-3);
Tmp__=Mixop(1,MS__);
FdL__=Fullformfunc(Tmp__);
Mdv__=50;
Ndv__=50;
if Nargs__>=2
Tmp__=Mixop(2,MS__);
if Mixtype(Tmp__)~=1 Tmp__=Mixop(1,Tmp__); end;
i... |
8680795a0b4c57d7e294bd4a8c7d8655ad428a73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.58/ex1_58.sce | 513537227960b4c6ddd4bbdbdecbe3e987d1aec0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex1_58.sce | //Exa:1.58
clc;
clear;
close;
T_1=240;//in N_m
T_2=140;//in N-m
T_3=300;//in N-m
T_4=200;//in N-m
t_1=20;//in minutes
t_2=10;//in minutes
t_3=10;//in minutes
t_4=20;//in minutes
T=sqrt(((t_1*T_1^2)+(t_2*T_2^2)+(t_3*T_3^2)+(t_4*T_4^2))/(t_1+t_2+t_3+t_4));
N=720;//in rpm
P=T*2*%pi*N/60;
disp(P,'Power ratin... |
b24a881cccd528d54ec9a02cc44d51b74d87f3e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH10/EX10.13.1/10_13_1.sce | 37a6b2a10a38a50161922ee2440b132e3cdf6c60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | 10_13_1.sce | clc;
//page no 349
//problem no 10.13.1
del_phi_d=12;f_min=100;del_f_max_allow=15000;
del_phi_rad=(12*%pi)/180;
del_f_max=del_phi_rad*f_min;
//Determination of freq deviation
N=del_f_max_allow/del_f_max;
l=del_f_max*729;//using six tripler
f=0.1*729;
//Determination of signal oscillator signal
fo=152-f;
dis... |
ea61cee64a7f1c24f2873fe183af89c0dc16a873 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20170217_sr_ni_1o/wta_sr_in.sce | 7779512b33938f698aec230cb070d622599d6461 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | wta_sr_in.sce | clk_sr = [0 1 0 0 0 0 0 0 0 1 0 0 0 0 0];
data_sr = [1 1 0 0 0 0 0 0 0 0 0 0 0 0 0];
wta_in=[
2.1 2.1 2.1 1.5 1.5 1.5 1.5 2.1 2.1 2.1 2.1 1.5 1.5 1.5 1.5;
1.5 1.5 1.5 2.1 2.1 2.1 2.1 1.5 1.5 1.5 1.5 2.1 2.1 2.1 2.1;];
|
3453c7cf899dedbfce1ca0f901b93f48646ff8a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.6/Chapter1_Example6.sce | 59a11894e2aeb1b1069e25cf2e5dc7ae403d71ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | Chapter1_Example6.sce | //Chapter-1, Example 1.6, Page 1.18
//=============================================================================
clc
clear
//INPUT DATA
P=4;//Number of poles
Z=400;//Number of conductors
q=0.03;//Flux per pole in Wb
Eg=250;//Generated emf in V
A1=4;//Number of parallel paths in lap wound
A2=2;//Number of... |
4523ad4f38d929b050f4f929657526eae4757038 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/codegen/FlexCodeGen_.sci | fed3a5ea6bb30754366e63816fb473f35f2ccb4f | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,625 | sci | FlexCodeGen_.sci | //** INRIA / SCILAB / Roberto Bucher / Simone Mannori / Paolo Gai
//** 16 Jan 2008
//**
// Modified by Roberto Bucher roberto.bucher@supsi.ch from the original
// CodeGeneration_.sci
//
// Input editor function of Scicos code generator
//
//
//** 10 Set 2007 : cleaner startup code by Simone Mannori
function FlexCodeGe... |
b0ee2f852db6c2d885e076c6ffdcacad7f54ae50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.35/ex5_35.sce | 66f08c0150f18566d46b668d5f5b7af38e3e9898 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | ex5_35.sce | //Chapter-5, Example 5.35, Page 198
//=============================================================================
clc
clear
//INPUT DATA
Q=250;//quality factor
fr=1.5*10^6;//resonant freq in hertz
//CALCULATIONS
Bw=(fr)/(Q);//bandwidth in Hz
hf1=fr+Bw;//half power freq 1
hf2=fr-Bw;//half power freq 2
mprin... |
86c987535137400d88540b809a400ab7ec291196 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH5/EX5.6/5_6.sce | ba109ac32792d6efd9166ac07bfc6b6dc72c2a82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | 5_6.sce | clc;
//page no 193
//prob no. 5.6
//Refer fig. 5.13
//Filter method SSB generator
fc=5*10^6;//filter centre freq.
BW=3*10^3;//Filter bandwidth
foc=4.9985*10^6;//carrier oscillator freq.
disp('a)The USB will be passed');//Since carrier freq is at low end of passband
disp('b)The carrier freq should be moved to ... |
14cf799a7dd39cbfd840e82855b2889b2df2d431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.16/example1_16.sce | 28179fe08354d1bef6f24f01186edd19cfd97cf0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | example1_16.sce | clc
// Given That
a = 0.45 // distance between slit and bi prism in meter
b = 0.45 // distance between screen and bi prism in meter
alpha = %pi / 180 // angle of bi prism in radian
Mu = 1.5 // refractive index of bi prism
fringe_width = 1.56e-4 // fringe width in meter
// Sample Problem 16 on page no. 1.45
printf("\n... |
84f19556b436c95b805e0302365f6e9a47eba02f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.5/Ex3_5.sce | 67ec7ac18d0c14396dd9895dab72b21e1665923d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_5.sce | //Ex 3.5
clc;clear;close;
format('v',5);
fo=2;//kHz
Ap=10;//Band pass gain
C=0.1;//micro F(have to choose C, 0.01<C<1)
R2=1/(2*%pi*fo*10^3*C*10^-6);//ohm
R1=R2/Ap;//ohm
disp("Design values are :");
disp(C,"Capacitance(micro F)");
disp(R1,"Resistance R1(ohm)");
disp(R2/1000,"Resistance R2(kohm)");
//Answer i... |
626b92a174a6510101b8b70de662a649c83e44a3 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH2/EX2.10/Ch02Ex10.sce | ed48e62c8f898dfd6481636646534aa2ecab6309 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 838 | sce | Ch02Ex10.sce | // Scilab code Ex2.10: Pg.86 (2008)
clc; clear;
// For simplicity let c = 1, i.e
c = 1; // Velocity of light, m/s
E = 2.40; // Total energy of electron, MeV
E_r = 0.511; // Rest energy of electron, MeV
// Since E^2 = (p*c)^2 + (m*c^2)^2, solving for p, we get
p_e = sqrt(E^2 - (E_r^2)); // Momentu... |
20d52ef9d72345f9237b4b5b5888ce5a1a839bb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH2/EX2.11/Ex2_11.sce | 971843a09b66b67b5319b367604c99ab9eaf9c6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Ex2_11.sce | //example-2.11
//page no-59
//given
//dipole moment og HF is
DM=6.375*10^(-30) //Cm
//intermolecular distance
r=0.9178*10^(-10) //m
//charge on an electron
e=1.67*10^(-19) //C
//since the HF posses ionic characters
//so
//Hf in fully ionic state has dipole moment as
DM2=r*e //Cm
//percentage ionic char... |
ee500c4c273317e859b9bcf0a8cacd4396ae7b47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.38/ch7_ex_38.sce | a9988b934dd20297c75c84dc12689f48bb74171e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | ch7_ex_38.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 38
disp("CHAPTER 7");
disp("EXAMPLE 38");
//VARIABLE INITIALIZATION
v1=220; //primary voltage in Volts
v2=115; //secondary voltage in Volts
f1=25;
f2=50;
//loads
V=440
We1=100; ... |
c3ba32affe1a3213563e52d816ade5448e814249 | 06a62d768e69fd9dda11b30011c252807e301813 | /pgm14.sci | 04e5733598402330be631d14de722603722b5e81 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | sci | pgm14.sci | function [y] = pgm14(x)
// y = 5;
y = x^2.5 - 23*x^1.5 - 50 * x + 1150;
endfunction
|
8931e0979f5c0cb5ff1f17f6e54b28aa8034f54d | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.16/2_16.sce | 71064d322116328e046ce8c9246529662a5c3db9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | 2_16.sce | //Converting current sources to voltage sources
// O=[i1;i2;vx]
A=[10,-3,4;-3,7,0;3,-3,-1]
O=inv(A)*[16;-6;0]
disp(O) |
2d6e19008aab32a19cf472caab6fac168430122e | e6a63078440cacd0432c1facf28dfd3594e73c60 | /L3q1.sce | a9e5bb5340ff9acc30e7d24d314dda65cd77fc95 | [] | no_license | ruhi2001/324_lab3_codes | 4a18034081569c14b50a94546c024a59399261d8 | 92788832e5190ccbfb695fd947be70711142c323 | refs/heads/main | 2023-02-24T18:34:57.341577 | 2021-01-30T19:42:47 | 2021-01-30T19:42:47 | 334,496,667 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | L3q1.sce | s = poly(0,"s")
//part a
for a = -1:0.01:1
G = (s+5+a)/(s^2 + 11*s + 30)
sys = syslin("c",G)
t = 0:0.01:5
y = csim("step",t,sys)
plot2d(t,y)
end
//when a=0
s = poly(0,"s")
G1 = (s+5)/(s^2 + 11*s + 30)
H1 = simp(G1)
sys1 = syslin("c",H1)
t = 0:0.01:5
y1 = csim("step",t,sys1)
plot2d(t,... |
ad6fb7b84246655bb5bc63f94c238916feb43ec3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH3/EX3.3/ex3_3.sce | 02a8f710c5cc214619da1cad112737b9c05e0cdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 681 | sce | ex3_3.sce | //Example 3.3
clc;
Rm=500; //Internal resistance
Im=10*10^-3; //Full Scale deflection current
//Case I: For Range 0-1 A
I1=1; //Total current
Rsh1=Im*Rm/(I1-Im); //Shunt resistance
printf('\nValue of Shunt resistance for range 0-1 A = %.2f ohm\n',Rsh1)
//Case II:... |
1626d38d02b80de4c266225c4f0f6634a1c5ebe5 | 99e5810ad838c385c38e818ed59ad43b7f93fb67 | /test_voltage.sce | dfe1eeb5d8680aa742b36a6e70cc356139fe7903 | [] | no_license | csr-trainees-2019/scilab | c89e15ded8f4cd31321ec3fdfe759e2293625345 | f9c8bbc07da38b98b18961888dcb3dfcbabb8cb2 | refs/heads/master | 2020-04-21T13:30:05.031096 | 2019-02-16T10:40:56 | 2019-02-16T10:40:56 | 169,600,658 | 0 | 1 | null | 2019-02-16T10:39:01 | 2019-02-07T16:13:17 | Scilab | UTF-8 | Scilab | false | false | 742 | sce | test_voltage.sce | data = read("D:\AAAULTIMATELABA3\data\kf\log3.txt",-1,3); //чтение эксперимента
function e = G(a,z), //функция для расчета амплитуды напряжения и частоты синусоиды МНК
e = z(2) - (a(1) * sin(a(2)* z(3)));
endfunction
a0 = [1; 1];
amin = [1; 1];
amax = [10; 10]
//[aa, error1] = datafit(G, data','b',... |
1c85dafa4fb67578dd784576f064f8533cfae907 | 14f70bf0434ef1ebb3565a343b34c7317fbc85ac | /test_zaokraglanie_do_elementow_wektora.sce | 2f0e457ab08c2b5ade4cc47cc440a3278eb1031b | [] | no_license | tyllukasz/PSO-structural-optimizations | 042d409bb45a0d6c18efc84ff66939705aa41ac5 | 9f2166eb907725555aeffa28f91eb620fee8fc78 | refs/heads/master | 2023-07-10T09:58:00.895902 | 2021-08-23T17:05:09 | 2021-08-23T17:05:09 | 382,402,067 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | test_zaokraglanie_do_elementow_wektora.sce | //Test - zaokraglanie wartosci do elemntu z wektora dopuszczalnych wartosci
//kryterium - zaokraglenie bedzie nastepowalo do tego elementu, dla ktorego roznica miedzy obliczonym x a elementem jest najmniejsza
clear
x=144;
dop_x=[1,2,3,4,5,6,7,8,9,11,15,22,34,45,57,71,92,113,150,220];
dim_dop_x=size(dop_x);
dim_dop_x=... |
b38c2a8369255e099cf40afde9cd210ebaf0410a | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 5/listing515.sce | d8fdbd5f5309f9075a0e86fa3a3aad86080919fc | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 70 | sce | listing515.sce | clc
clear
exec fn2.sci
[y1,y2,y3]=fn2(7,9)
disp(y1)
disp(y2)
disp(y3)
|
f5ebe601f82e7b59d93dd7f62e325524f9c7122a | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH10/EX10.2/sadiku_10_2.sce | fe47ad353a1d781f98715c33e5b156c99ece65ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | sadiku_10_2.sce | clear;
clc;
Ho=10,n=200*%e^(%i*%pi/6),P=atan(3^.5),b=.5,e=10^-9 /(36*%pi);
Eo=n*Ho;
disp('a=w*sqrt(u*e/2*(1+(c/(w*e)^2)^.5)-1)');
disp('b=w*sqrt(u*e/2*(1+(c/(w*e)^2)^.5)+1)');
a=b*((sqrt(((1+(tan(P))^2)^.5)-1))/(sqrt(((1+(tan(P))^2)^.5)+1)));
disp(a,'Value of alpha=');
disp(1/a,'Skin depth = ') |
3805d959b23eef2dd16a07f247bf33a505977eca | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH3/EX3.2/3_2.sce | e0078814fa7f8d630e2b0cffb88f8faa806f85fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,209 | sce | 3_2.sce | // example:-3.2,page no.-87.
// program to find out load impedence.
clc
clear
// function for smith chart for finding load impedence when reflection coefficient is given.
function[]=smith_chart(tao)
theta=0:0.1:2*%pi;
for r=0:0.1:10
x=(1/(1+r))*cos(theta)+(r/(1+r));
y=(1/(1+r))*sin(theta);
plot2d(x,y,style=2,rect=[-2,-... |
01feb4af7c7d7271b5b9ef7f451a656625936e1a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.15_2.tst | f1c95a419afa7f691bf151ed622a532234237f7c | [] | 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 | 4,228 | tst | bow.15_2.tst | 15 3:1.0 9:1.0 11:1.0 16:0.05970149253731343 23:0.2857142857142857 64:2.0 77:1.0 79:1.0 291:2.0 483:1.0 1323:1.0
15 6:1.0 9:1.0 12:0.037037037037037035 125:1.0 200:1.0 243:0.5 343:1.0 394:0.25 802:1.0 912:1.0 970:1.0
15 1:0.07142857142857142 3:4.0 6:1.0 9:3.0 12:0.037037037037037035 13:1.0 14:0.3333333333333333 31:1.0 ... |
27aa1439186f8282dd79e88d09bc8015b2053154 | 743902c2406b7976cc824458091bd276b916d47c | /test/ACATS/BD/BD8004B.TST | f2615e2c65f05a226fefcd965aaa70543e498682 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | OneWingedShark/Byron | f220d419bbe938ed9df588e0a1073f74bbcc03a2 | 18305e400be9a31d1b1e55a6da4d984c6a8926df | refs/heads/master | 2020-12-24T16:33:29.242045 | 2020-05-16T23:29:29 | 2020-05-16T23:29:29 | 41,644,524 | 55 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,388 | tst | BD8004B.TST | -- BD8004B.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
4e83cdd4326555aefb736663957f397a3b4bce71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH4/EX4.7/Ex4_7.sce | 6a7a69c6e8fa6d034a3e207aa0e5999f9d58d0a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | Ex4_7.sce | clc
Nd=10**16 //cm^-3
Ne=2.8*10**19 //cm^-3
T=300 //K
//(nd/(n0+nd))=z=1/(1+(Ne/2*Nd)*exp(-(Ec-Ed)/kT))
//y=Ec-Ed
y=0.045
k=8.617*10^-5 //eV/K
z=1/(1+(Ne/(2*Nd))*exp(-y/(k*T)))
disp(z,"the donor states is=")
|
018ec126b67144e51cf507b0d663c373963c225a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.22/Ex22.sce | eba49c42db04a9bf4cdc470637dc9eb8f379ec4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 860 | sce | Ex22.sce | // Additional solved examples , Example 22 , pg 341
ni=1.5*10^10 //intrinsic concentration (in cm^-3)
Nd=5*10^15 //donor concentration (in atoms/cm^3)
T=300 //temperature (in K)
e=1.6*10^-19 //charge of electron (in C)
k=1.38*10^-23 //Boltzmann constant (in J/K)
n0=Nd //Assuming n0=... |
8bcc9757df04f1488666009f96f543319ffb5873 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH9/EX9.8/ex9_8.sce | 5e214fb93bdd0895c08636957d0619f32cb9463f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex9_8.sce | //Exa 9.8
clc;
clear;
close;
// Given data
h_sen = 417.4;// in kJ/kg
h_totaldry = 2675.4;// in kJ/kg
L = 2258;// in kJ/kg
v = 5;// in m^3
v_v = 4.95;// in m^3
x = v_v/v;
Q = h_totaldry -(h_sen +x*L);// in kJ/kg
disp(Q,"Heat transfered per kg in kJ/kg is : ");
|
290d043b03d879a4d832393acd54e948bd20f782 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%p_d_r.sci | bf4193db647d26b05ae493f8b89ca1ad753d9f09 | [
"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 | 112 | sci | %p_d_r.sci | function f=%p_d_r(n1,f2)
// n1./f2
//!
// Copyright INRIA
f=rlist(n1.*f2('den'),ones(n1).*f2('num'),f2('dt'))
|
785bfe01efad87ce7a877477ebf4532f36efb656 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.24/Ex8_24.sce | 784653b94e19d6417a32353ca8a3526cdf9f7607 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | Ex8_24.sce | //Ex:8.24
clc;
clear;
close;
c=3*10^8;// speed of light in m/s
h=6.64*10^-34;// plank constant
Eg=1.43;// gap energy in eV
y=(1.24*10^-6)/Eg;// wavelength in m
dy=0.1*10^-9;// in m
df=(dy*c)/y^2;// width in Hz
printf("The wavelength =%f um", y*10^6);
printf("\n The width =%d GHz", df/10^9); |
964af8388a2675b581f70aa101e7de1333967131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.24/Ex2_24.sce | cc66f1557edab340b24c93abe00119fb5a0f70f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Ex2_24.sce | clear
//
//
//
//Variable declaration
D=150 //slit screen distance(cm)
d=0.03 //separation(cm)
beta1=0.3 //fringe separation(cm)
//Calculation
lamda=d*beta1*10**8/D //wavelength of light(angstrom)
//Result
printf("\n wavelength of l... |
be7585d78999854c6ca9a1e11ff65931ccc323a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH6/EX6.3/6_3.sce | 062c6fe237ff3e2fa4f327cff69a019b501a3c7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sce | 6_3.sce | clc;
clear;
format('e',11)
I=1;
d=1*10^-3;
A=(3.14*d^2/4);
J=I/A;
disp(J,"current density J(in A/m^2)=");
|
63e47bc5a5bc83e7f05ce70b012e6fa59252f7e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH4/EX4.15/4_15.sci | deefd5bc077ddb5ce95db38efea675932b8c27bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sci | 4_15.sci | // 4.15
clc;
Fd=7.5*165*10^3/100;
mf=5;
Bandwidth=Fd/mf;
printf("Bandwidth of intelligence =%.1f Hz ",Bandwidth)
Tr=0.35/Bandwidth*10^6;
printf("\nRise time=%.1f us ",Tr)
|
502e489ffab077799aa979c167fd8af19b4f87dd | 8a7110a7e31d403ceba55227c2c250df70db5c29 | /ZSI/ZSI.sce | 306b625ffe9e62211ca5f2d65062a6b96cca17b2 | [] | no_license | LukM88/ZSI | c7081957b93189f1923cbd7f26c4f3709ab7ce13 | e8c3f8442cb79d2d93a086e96f736316f7c4d73a | refs/heads/master | 2020-12-01T13:03:35.318427 | 2020-01-13T16:33:11 | 2020-01-13T16:33:11 | 230,635,403 | 0 | 0 | null | 2020-01-12T17:26:36 | 2019-12-28T16:37:25 | Scilab | UTF-8 | Scilab | false | false | 9,001 | sce | ZSI.sce | //----trzcionka 12
//----algorytm wstecznej propagacji bledu
clc;
clear;
adresy=["A.png","B.png","C.png","D.png","E.png","F.png","G.png","H.png","I.png","J.png",...
"K.png","L.png","M.png","N.png","O.png","P.png","R.png","S.png","T.png","U.png","W.png",...
"Y.png","Z.png","am.png","bm.png","cm.png","dm.png","em... |
4be0d84aee263de94f1243b9977f199a70edfe4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH6/EX6.5/ex5.sce | ea16be67bf3c57444d2193bc8aca50609a1a31fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | ex5.sce | // Example 6.5 : Determine 3dB frequency
// High frequency response of an amplifier can be characterized by th transfer function
// F_H(s)=(1-s/10^5)/(1+s/10^4)(1+s/4*10^4)
w_H=1/sqrt(1/10^8+1/(16*10^8)-2/10^10); // w_H=1/sqrt(1/w_P1^2+1/w_P2^2-2/w_Z1^2-2w_Z2^2)
disp(w_H,"w_H (rad/s)") |
2342f555e0832c2a671e56ceaee35a922b0b3576 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH6/EX6.6/6_6.sce | 627bebe6de1296c4148029be04cfc7f6a1e0ccd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,027 | sce | 6_6.sce | clc,clear
printf('Example 6.6\n\n')
//note that a new function p2z has been defined below for direct representation of complex numbers in polar form
function [FUN] = p2z(RRRR,Theeeta)
FUN = RRRR.*exp(%i*%pi*Theeeta/180.);
endfunction
V_l=10*10^3
V_ph=V_l/sqrt(3)
R_a=0.4
Z=complex(R_a,6)
I_a=p2z(300,-acosd(... |
a426455d89d5285e65222c400dde2401cc6d04ef | 3073307fa4b6da9371518f0718c199501b8c5c71 | /viejos/newton_raphson.sci | 7e83e951bcf157b67b3bfc2518dcf5e8ee0d8a98 | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sci | newton_raphson.sci | function y = f(x)
y = 1 + x^2;
endfunction
function y = fp(x)
y = 2*x;
endfunction
function [p,it] = newton_raphson(p0,tol,maxit)
p = zeros(maxit,1);
it = maxit;
for i=1:maxit
p(i) = p0 - f(p0)/fp(p0)
if(abs(p(i)-p0)<tol)
it = i;
return;
end
... |
398e8b92b87ef4d575eae440a2bc7a4cda872d65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.16/P2_16.sce | 8beec200647b75ba0ed88d9b81c4232e8f730a18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | P2_16.sce | //EXAMPLE 2.16,
clear;
clc;
//Given input sequence = [3 4 5]
x=[0 3 4 5 0];
disp([3 4 5],'Input sequence = ')
//determining median filter
//first sequence
for k=2:4
if x(k)>x(k-1) & x(k+1)>x(k-1) & x(k+1)>x(k)
y(k-1)=x(k);
else
x(k-1)>x(k+1) & x(k)>x(k+1) & x(k)>x(k-1)
y(k-1)=x(k-1... |
350ee5241d8f08905966eb6d89ace07f3f3bddbc | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH2/EX2.35.a/Example2_35_a.sce | 958162e811d911f8b9d8d4779bc494d0362d2f15 | [] | 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 | 281 | sce | Example2_35_a.sce | mode(2);errcatch(-1,"stop");driver("GIF");//Example 2.35 (a)
//To draw the pole-zero plot
clear;
clc ;
close ;
z=%z
H1Z=(z)/(z^2-z-1);
xset('window',1);
plzr(H1Z);
xinit('/home/fossee/Downloads/tbc_graphs/Digital_Signal_Processing_R._Babu_52/Example2_35_a');xend();exit();
|
dc7d35a9d1f558cbe3573ce13474688ce6195367 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.18/Ex5_18.sce | 5919aa7a715106ddeeebe3ba33efce8b34f2f615 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | Ex5_18.sce | //Ex:3.18
clc;
clear;
close;
BLP=250*10^6;// bandwidth length product in Hz
tr=0.32/BLP;// intermodel pulse width broadening
md=75;// material dispersion in ps/nm.km
tm=2.25;//pulse broadening due to material dispersion in ns/km
tc=sqrt((tr*10^9)^2+tm^2);// combine pulse broadening in ns/km
Ba=0.32/tm*10^9;// ... |
c0b7c1f5a1c87dd1561021ec63f3d02c6f0d00a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH12/EX12.8/ex12_8.sce | 765d8784de9ed871656cfc230c2074a3f3754458 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | ex12_8.sce | clc;
k=9*10^9; //constant in free space in N.m square/C square
q1=4*10^-9; //charge in coulomb
q2=5*10^-8; //charge in coulomb
r=5*10^-2; //radius in metre
F=(k*q1*q2)/(r*r); //calculating force in Newton
disp(F,"Force in Newton = "); //displaying result |
954919a2ee01bc4a26bd4ea5409843188b6717be | 87749481136b7b72a47930f587f27667e0c0f97d | /DFT/Task_4.sci | 76da8dec29fc2c71c5afa3fc05c15e2ca060c2dd | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,082 | sci | Task_4.sci | clear all;
f1 = 190;
A1 = 0.5
f2 = 10;
A2 = 2;
fs = 200;
dt = 1/fs;
T = 0.5
t =0:dt:T-dt;
s1 = A1*cos(2*%pi*f1*t);
s2 = A2*cos(2*%pi*f2*t);
figure(0)
plot(t, s1, 'b');
plot(t, s2, 'r');
xlabel("Time, s", 'fontsize', 2)
ylabel("Amplitude", 'fontsize', 2)
title("Time domain", 'fontsize', 3)
figure(1)
subplot(3,1,1)... |
e76342b6c6536ac8e5f6c6fdd46e66e6700b239b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.3.b/ex_1_3_b.sce | f10e2ca238a54872663a9d49cc96da0460ce39ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | ex_1_3_b.sce |
// Example 1.3.b : relative error
clc, clear
// given :
vm=2.65; // in volts
vt=2.70; // in volts
v=5;// full scale range of voltage
Es=vm-vt;
Er1=Es/vt;
Er2=Es/v;
disp("relative error as a function of true value is "+string(Er1)+" or "+string(100*Er1)+" %")
disp("relative error as a function of full scale ... |
da721f5be356e368e3f9dc4e559019509c3a2f2c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/sci_log2.sci | 81a3077d5a33205ef017b43403d851f0e110eb29 | [
"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 | 643 | sci | sci_log2.sci | function [stk,txt,top]=sci_log2()
// Copyright INRIA
txt=[]
if lhs==1 then
stk=list('log('+stk(top)(1)+')/log(2)','0',stk(top)(3),stk(top)(4),'1')
else
[f,e]=lhsvarsnames()
k=gettempvar(0)
if isname(stk(top)(1)) then
v=stk(top)(1)
else
v=gettempvar(1)
txt=v+' = '+stk(top)(1)
end
txt=[txt;k+' =... |
731b3a037b8991c96bdd9e144487f35115a2c3b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH7/EX7.6/Ex7_6.sce | 286d1aa9e6e044e2f2b42a2eda62296690608ae6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | Ex7_6.sce | //Chapter 7, Example 7.6, Page 206
clc
clear
// Energy required
Z = 79
E = 700/Z
printf("E = %f MeV\n",E)
//Answers may vary due to round off error
|
f1807ba448da3c551e392bc770c58aa34c91196e | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH5/EX5.9.13/exa5_9_13.sce | d71d7c31da1faeb59f3f8e89bbac969befc4a55a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | exa5_9_13.sce | //Caption:overall_transfer_function_of_two_phase_ac_motor
//example 5.9.13
//page 113
syms Ka K Ktg Jeq feq N1 N2 m
//where Ka=amplifier_gain; Ktg=tachometer_gain_const Jeq=moment_of_inertia; feq=coeff_of_viscous_friction;
s=%s;
//from torque characterstics m and K are determined
Ka=20; K=0.0012; Ktg=0.2; Jeq... |
1d3c9fe47240c15867162c176b8047472c031f13 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Vertical Switching 80%.sce | 4db394787e90d2e394123a23dbf3d0de7715dcce | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71,017 | sce | Vertical Switching 80%.sce | Name=Vertical Switching 80%
PlayerCharacters=VS Challenger
BotCharacters=VS Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=VS Challenger
AddedBots=VS Target.bot;VS Target.bot;VS Target.bot;VS Target.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2
MapName=veranda_h80deg_v60deg... |
7be497c0eb2b0ff752f6df724a000796f2d3ffb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH9/EX9.6/example6.sce | ea16d455bca40fc2cb8ef0d73c370f78cc834529 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | example6.sce | //Chapter-9 example 6
//=============================================================================
clc;
clear;
//input data
F = 9*10^9;//radar operating frequency in hz
Vo = 3*10^8;//velocity of EM wave in m/s
NNBW = 5;//Null to Null beamwidth
Da = 5;//diameter of antenna in m
//Calculations
l... |
511e17e64c25efa59828801d4d50f28c7b460889 | 430e7adb489914d378a5b0a27d8d41352fa45f3a | /scilab/example/状態空間表現から伝達関数を得る.sce | 0615b60d5a4b05b3e333688d201326b768af0d11 | [] | no_license | ziaddorbuk/Lesson | 04906ff94bf8c1f6bbc6971d5692ae011a9b8869 | 20fe20a6c9c145ef48a35574d885d3952f9ab6ff | refs/heads/master | 2021-09-23T11:48:05.958608 | 2018-04-30T01:54:13 | 2018-04-30T01:54:13 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | Scilab | false | false | 141 | sce | 状態空間表現から伝達関数を得る.sce | //状態空間表現から伝達関数を得る
A=[0 1;-2 -3]; b=[0;1]; c=[1 2]; d=0;
ss_sys=syslin('c',A,b,c,d);
tf_sys=ss2tf(ss_sys)
|
7bf3720a23c4d3a8bafdbe8d9ac75e3beec2356a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH8/EX8.6/ex_8_6.sce | 65d399970701f40f645b69f3d2a32ebd9dbab8e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_8_6.sce | //Example 8.6.//power delivered
clc;
clear;
close;
//given data :
format('v',6)
Ft=35300;// in N
V=48;// in kmph
Po=((Ft*V*1000)/3600)*10^-3;
Ft1=55180;//in N
Pd=Po*sqrt(Ft1/Ft);
disp("part (a)")
disp(Pd,"power delivered(kW) = ")
Pd1=Po*(Ft1/Ft);
disp("part (b)")
disp(Pd1,"power delivered(kW) = ")
|
9b5e997a39401b04c5d5fc5022c05734d78b48b8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Engineering_Thermodynamics_O._Singh_2873.zip/Engineering_Thermodynamics_O._Singh_2873/CH9/EX9.14/Ex9_14.sce | eeab7e6d351b9ac7084d515709dee3d8a5ae4d00 | [] | 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 | 304 | sce | Ex9_14.sce | errcatch(-1,"stop");mode(2);// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
;
;
disp("Engineering Thermodynamics by Onkar Singh Chapter 9 Example 14")
disp("In question no.14,various expression is derived which cannot be solved using scilab software.")
exit();
|
986ae15ca70b121f99eccf2e8094bbb63e0a2909 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH4/EX4.6/Chapter4_Example6.sce | 7de8564e0e9e720befa4006b3391026a833782e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,496 | sce | Chapter4_Example6.sce | clc
clear
//Input data
r=8;//Compression ratio
lcv=44000;//The lower heating value of the fuel in kJ/kg
af=15;//The air/fuel ratio
Cv=0.71;//The specific heat at constant volume in kJ/kgK
p=1;//The pressure at the beginning of the compression in bar
t=60;//The temperature at the beginning of the compression in ... |
84653945d30e29fab1c8702a99c206c976a0a9fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH8/EX8.8/Chapter8_Example8.sce | f7b26147596beeb5b37747df0fb02d02aef5d969 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 937 | sce | Chapter8_Example8.sce | //Chapter-8, Example 8.8, Page 349
//=============================================================================
clc
clear
//INPUT DATA
D=0.2;//Outer diameter of the pipe in m
Ts=100;//Surface temperature in degree C
Ta=20;//Temperature of air in degree C
L=3;//Length of pipe in m
//CALCULATIONS
Tf=(Ts+... |
df4b48d6c32a9a809715b5f1d2c107e705cf1d85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH3/EX3.7.8/Ex3_8.sce | 414cc4249f6dc34bf207d4b098b96fbbfe607740 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | Ex3_8.sce | //Example 8// Ch 3
clc;
clear;
close;
// given data
k = 1.38*10^-21; //boltzmanns constant
T = 293; // temperature in K
e = 1.6*10^-19;
E = (1.5*k*T)/e;
printf("energy of free electron %f eV",E)
|
e06b4c88683b85d4b928a097eae185c651b746d7 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/pad_out.sce | 7ad8f5a88a7aaf7bfd9245c26232602db4d25e49 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,255 | sce | pad_out.sce | //**************************** IO PAD OUT ******************************
if(blk_name.entries(bl)=='pad_out') then
fd_io= mopen (fname+'.pads','a+'); // DEDICATED PADS code
for ss=1:scs_m.objs(bl).model.ipar(1)
tmp_pad = strsplit(iopad_loc(loc_num,scs_m.objs(blk_objs(bl)).model.rpar(ss)).entries," ")
... |
b328dc9e4c5b53d8684bc414cd65829fbd73e98e | 9d0b35317cf9c6572724be7e2da4949f71a200bc | /metodo bisección.sce | 4f8f5ff81fa6e43351b6e1e8ca9a6db3882de8ce | [] | no_license | stephany-rivera/Metodos-numericos | ef225f7b8f134c673a245a400454e14f01b0a71d | 17961c6a2b5cffea57e5a7f4f4d3d2abc336b9cf | refs/heads/master | 2022-12-18T16:34:39.143127 | 2020-09-27T05:27:57 | 2020-09-27T05:27:57 | 298,887,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,037 | sce | metodo bisección.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[100,17],'figure_size',[820,700],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','v... |
51fb4375cf83ecc7b026d551f7371626d7566c26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH1/EX1.9.a/ex_1_9_a.sce | 0a62626b4f08fca69f85404a75c74526a3095578 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | ex_1_9_a.sce | //example 1.9(a)//
clc
//clears the screen//
clear
//clears already existing variables//
disp('when one of the logic input of 2-input NOR gate is 0, then when A=1, Y=0 and if A=0, Y=1')
disp('Y=A''') |
ae2556166538b4914b0528dd7054e6d1ca076598 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Vecnagasa2.sci | 527d383446c31b669cf9f436ad29edc9e53cf397 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sci | Vecnagasa2.sci | function L=Vecnagasa2(varargin)
PA=varargin(1);
if length(varargin)>1
PB=varargin(2);
else
PB=[0,0];
end
Tmp=PB-PA;
L=Tmp*Tmp';
endfunction
|
37536c487d10c2b5ac8a6d87c17c206db4aa1033 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH4/EX4.10/4_10.sce | 215eeacb064bc5a5ee1407078c98465bdb6e8c68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | 4_10.sce | //pathname=get_absolute_file_path('4.10.sce')
//filename=pathname+filesep()+'4.10-data.sci'
//exec(filename)
//Temperature at which heat is receieved (in K):
T1=800
//Temperature maintained by the carnot engine(in K):
T2=280
//Temperature at which heat is rejected(in K):
T=2*T1*T2/(T1+T2)
//Efficiency:
n=(T1-... |
7b3eca5ae82af7bfb1d97e0a3a8fc0a7814bdb7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.1/EX3_1.sce | db743d9ec6e4788b11c636ecea5d72234b8e6bb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | EX3_1.sce | clc;funcprot(0);//EXAMPLE 3.1
// Initialisation of Variables
t1=673;.....................//Max temp in Kelvin
t3=313;;...................//Min temp in Kelvin
W=130;.................//Work produced in kJ
//calculations
etath=(t1-t3)/t1;................//Engine thermal efficiency
disp(etath*100,"Engine thermal eff... |
c96e18546b707e847d3435a6d8375460e56a6360 | 524b2c41d14520b2710828d49405b3fab53754be | /05/PCPlusControl.tst | 189ad35714001d69af173e2aa7054af45b6d82d5 | [] | no_license | eliasbagley/nand2tetris | 304b236345505d0288faf05f1630487f88be93c7 | 64d83240e63df76ed45b39c89449ca7e16fce501 | refs/heads/master | 2020-11-29T15:24:50.945163 | 2020-01-20T20:39:10 | 2020-01-20T20:39:10 | 230,150,566 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | tst | PCPlusControl.tst | load PCPlusControl.hdl,
output-file PCPlusControl.out,
output-list time%S1.4.1 in%D1.6.1 reset%B2.1.2 j%B1.3.1 zr%B2.1.2 ng%B2.1.2 out%D1.6.1;
set in 0;
set reset 0;
set j %B000;
set zr 0;
set ng 0;
tick;
output;
tock;
output;
set in 1;
tick;
output;
tock;
output;
set in 2;
tick;
output;
tock;
output;
set in 3;
set... |
9c9a7bb6a4bfa1470d7b2ed1a8ffe81c22cacb63 | b4be5ed282b4c531c0d140038804106b52e5e9be | /compareDataOE.sce | c81f2528b4645777d9be4d9710d713e1f25f8e70 | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,543 | sce | compareDataOE.sce |
loadmatfile('data.mat')
z = [data(:,1) data(:,2)];
A = 1
B = [0 0 0 2.6509 -2.0596];//[0 0 0 2.3057 -1.2170];
C = 1;
D = 1;
F = [1 -0.9448 0.5055];//[1 -1.1887 0.6424];
oeModel = idpoly(A,B,C,D,F,1)
a = 1
b = [0 1.3366 -0.3598]
c = [1 0.2959 0.0126]
d = [1 -0.6... |
06fbaf332ab8f11adc5fa9ff17e3e83ae1f9340c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH3/EX3.71.b/ex_3_71_b.sce | b688924df4b657662b46fca510efdcb2a2ea8801 | [] | 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 | 318 | sce | ex_3_71_b.sce | errcatch(-1,"stop");mode(2);//Example 3.71.b:resistance and capacitance
;
;
cl=10^-4;//micro-F
c2=0.004;//micro-F
c3=0.001;//micro-F
r3=10;//killo ohms
r4=5;//killo ohms
f=1;//kHz
rx=((c3+cl)/c2)*r4;//killo ohms
cx=(r3/r4)*c2;//micro-F
disp(rx,"resistance is ,(k-ohm)=")
disp(cx,"capacitance is,(micro-F)=")
exit();
|
26aca6a0e6f05cb44c130a73b4bc74471d09fd25 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ee_aspfin/~BivLCM-SR-bfas_ee_aspfin-PLin-VLin.tst | 83897008a95162a114b1a3df303c92366c4d4c0b | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ee_aspfin-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.380813D+00
... |
5e16803430954c216c262b9aea40db8381e6f16a | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PD6.prev.tst | d297643aaf91fe2695687980fa1fd85bd74c73d3 | [
"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 | 94 | tst | PD6.prev.tst | (a*x^4 + b*x^2*y^2 + c*y^4).degree() = 5
(a*x^4 + b*x^2*y^2 + c*y^4).degree(false) = 5
|
15437d1b23928fb689102a2e535d027c8890117a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH5/EX5.7/Ex5_7.sce | bbe086b98787804e0a5f57bd8f1f8410c0c53abd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,289 | sce | Ex5_7.sce | //Fluid Systems- By Shiv Kumar
//Chapter 5- Francis Turbine
//Example 5.7
//To Determine (a) The Diameter of Wheel (b) The Quantity of Water Supplied (c) The Guide Blade Angle at Inlet (d) The Runner Vane Angles at Inlet and Exit.
clc
clear
//Given Data:-
P=368; //Shaft Power, kW ... |
f53455ca536cb5c1b321b66386439d0031f3f335 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH19/EX19.29.3/Ex19_3.sce | d1c44ee4112ff5e66e584e632d7980ac830617d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | Ex19_3.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 19 VLSI Technology and Circuits
clc
clear
w=10//w=W/L value of the NMOS transistor in a CMOS inverter
un=1350//un=electron mobility for NMOS transistor in cm^2/V s
up=540//up=electron mobility for PMOS transistor in cm^2/V s
//(Wpu/Lpu)*up*(VINV-VDD-VTHP)^2=... |
9230ae9b9f0690713dda502f78722da34f8a9c7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.32/EX3_32.sce | 65d019a10f4fb381a24e3ee47df6ea4460333631 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | EX3_32.sce | //Calculate current in different parts of winding of autotransformer//Chapter 3
//Example 3.32
//page 240
clear;
clc;
disp("Example 3.32")
V1=230; //primary voltage of auto-transformer
V2=75; //secondary voltage of auto-transformer
r=(V1/V2); //ratio of pr... |
72e2a7e231c58ee1de56271e6224c45f424bf1ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH9/EX9.9/example9_9.sce | 23c1a4ae273822ba93920775275196e3e30867e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | example9_9.sce | clear;
clc;
//Example9.9[U-Factor of a Double-Door Window]
//Given:-
A_win=1.8*2.0;//[m^2]
A_glazing=2*1.72*0.94;//[m^2]
U_c=3.24,U_e=3.71,U_f=2.8;//U factors for the center edge and frame sections respectively [W/m^2.degree Celcius]
//Solution:-
A_frame=A_win-A_glazing;//[m^2]
A_center=2*(1.72-0.13)*(0.94-0... |
620b90cc4175ee4181dbae2c11d518fc77c2b08b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH7/EX7.17/Ex7_17.sce | 7a9b0c45041e4c9f5e10eaa3df8c3c807162cef8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | Ex7_17.sce | //Discrete Time Fourier Transform of discrete sequence
//x[n]= (a^n).u[-n], |a|>1
clear;
clc;
close;
a1 = 3;
min_limit = -20;
n = min_limit:0
for i=1:length(n)
x1(i) = (a1^n(i));
end
Wmax = 2*%pi;
K = 4;
k = 0:(K/1000):K;
W = k*Wmax/K;
x1 = x1';
XW1 = x1* exp(-sqrt(-1)*n'*W);
XW1_Mag = abs(XW1... |
75eccd538e96e9e7b2df06cd9064abecff3d2881 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH12/EX12.4/CH12Exa4.sce | 36b88debb10ea4a84a14e84bc459e44370f6f99b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 857 | sce | CH12Exa4.sce | // Scilab code Exa12.4 : : Page-574 (2011)
clc; clear;
zeta = 0.209; // Moderated assembly
E_change = 100/1; // Change in energy of the neutron
E_thermal = 0.025; // Thermal energy of the neutron, electron volts
E_n = 2*10^6; // Energy of the neutron, electron volts
n = 1/zeta*log(E_cha... |
722ca39382e49f986c03dd0b49944610e5a6bf92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH7/EX7.7/Example7_7.sce | 6687fccdc7962acd01596b53241ee7b36ad83a5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Example7_7.sce | ////Example 7.7
clc;
clear;
close;
format('v',6);
//Given data :
D=80/1000;//meter
Q=600*10^-3/60;//m^3/sec
L=1*10^3;//meter
f=0.02;//coefficient of friction
v=Q/(%pi/4*D^2);//m/s
g=9.81;//gravity constanty
hf=4*f*L*v^2/D/2/g;//meter
disp(hf,"Head lost due to friction in meter : ");
//Answer is wrong in t... |
1ae3f3dae06db61066414337e986783f0ec0df6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH4/EX4.22/example22.sce | 434847bca0c0b5dd45a0c920bc7180472ef0a3f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | example22.sce | printf("given G(s)H(s)=(as+1)/s^2 \n we have to find the value of a for which phase margin is 45 degree\n");
printf("G(jw)H(jw)=(1+ajw)/(jw)^2 and <G(jw))H(jw)=-180+atan aw\n")
aw=tan(45);
a=sqrt(1/sqrt(2));
printf("the value of a is");
disp(a);
|
84e59cd585a4f8cfd7759b85a87d2756e553c61b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.12/Ex12_12.sce | bf50e691341b5c25250c27cde2df538090cb9cdb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 950 | sce | Ex12_12.sce | //=====================================================================================
//Chapter 12 example 12
clc;
clear all;
//variable declaration
R2 = 834; //resistance of arm in Ω
R3 = 100; //resistance of arm in Ω
R4 = 64.9; //resistance of arm in Ω
R = 0.4... |
5b0ed799c835e8c86d97a2118e0df021f253bd13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH10/EX10.5/ex_5.sce | 18daba02ac6c0e1369514c7e09c4b4831adb5add | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | ex_5.sce | // Chapter 10_Fundamentals of the Metal Oxide Semiconductor Field Effect Transistor
//Caption_Threshold voltage voltage
//Ex_5//page 446
T=300
eps=11.7*8.85*10^-14
eps_ox=3.9*8.85*10^-14
e=1.6*10^-19
ni=1.5*10^10 //intrinsic carrier concentration
Na=10^14 //acceptor impurity concentration
Qss=10^10
tox=... |
4cb2dd5c557f7b4905023bfdc5b311381c8d7336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH9/EX9.1/9_1.sce | 76419f0b99f463f2c87fc266b90691b289d5e190 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | 9_1.sce | clc
//initialisation of variables
clear
d= 2 //in
V= 210 //ft/sec
V1= 50 //ft/sec
g= 32.2 //ft/sec^2
w= 62.4 //lb/ft^3
//CALCULATIONS
M= %pi*V*w/(4*36*g)
F= M*V
dV= V-V1
M1= %pi*dV*w/(4*36*g)
F1= M1*dV
W= F1*V1
F2= M*dV
W1= F2*V1
//RESULTS
printf ('Force on plate = %.f lb',F+1)
printf ('\n Force on p... |
01c8631508a0642c0b1f697b4f1ce069498c58e6 | bc0a6b4d5e326bd35c72bec024b555ed91a1c543 | /plane1.sce | 26bb5338df65af52660c7888369b6481c5330a17 | [] | no_license | askmrsinh/SEM1_AM | 0c9e7b4a51caa1321d1203cf9060e454b685e0ee | 31da57ba40d0741b370dd3c789a1dfec5c99bdea | refs/heads/master | 2021-09-28T03:09:18.743057 | 2016-08-18T15:01:52 | 2016-08-18T15:01:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | plane1.sce | //(x/a)+(y/b)+(z/c)=1 (PLANE)
a=1;
b=2;
c=3;
x=-5:0.01:5;
y=-5:0.01:3;
deff('z=f(x,y)','z=(c*(1-(x)/(a)-(y)/(b)))');
fplot3d(x,y,f)
|
4bb867dc441fe2b56df7863a49db67c25716fb4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH4/EX4.15/Chap4_Ex15_R1.sce | d90e03327eb34eb6f9580e80618faa30ce27caaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,745 | sce | Chap4_Ex15_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-4,Example 15,Page 115
//Title:Final temperature and amount of gas escaping the cylinder
//================================================================================================================
clear
cl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.