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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
27055c4e720e0a573421917d486e4aed042c23db | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH5/EX5.10/5_10.sce | d4ecae4bda1dcfd091a54fd5b0b77c2283d04e3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | 5_10.sce | // example:-5.10.page no.-250.
//program to find out expression for taoin.
syms P1 P2 S11 S22 S12 S21 taol taoin L1 l2;
P1=S11; // path one.
P2=S21*S12*taol; //path second.
L1=taol*S22; // loop gain for path 1.
L2=L1^2; // loop gain taking two at a time.(but only one loop wiil exist.i.e=L1.)
L2=0;
// from mas... |
5da6e4f1e2b1914c89a003cd2c47955960626e90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH4/EX4.18/ex4_18.sce | 9f21912dfb6beedd0cbd53332ba2b64213dc9907 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sce | ex4_18.sce | clc;
r=6.4*10^6; //in m
C=r/(9*10^9); //calculating charge
disp(C,"Capacitance in Farad = "); //displaying result |
ed13b6a8d2a0b3613c986ce13bdc8c75375dae66 | f891f5aed2e66371488173c2b9c4e8f977a9f64a | /SunSpec Utilities/Tests/Ametek_Grid_Sim_Setup.tst | ee6152de4fbae9b9543578f6cae1777382e4784e | [] | no_license | jakedm/svp_directories | d9b85c41b45a3ded7572f9f730e8d1efc8515099 | 19272f8784baabf83e197778768933aef015432c | refs/heads/master | 2021-01-18T18:08:29.224016 | 2017-01-16T20:09:35 | 2017-01-16T20:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | tst | Ametek_Grid_Sim_Setup.tst | <scriptConfig name="Ametek_Grid_Sim_Setup" script="configure_grid_sim">
<params>
<param name="gridsim.ametek.freq" type="float">60.0</param>
<param name="gridsim.ametek.i_max" type="float">100.0</param>
<param name="gridsim.ametek.v_nom" type="float">277.2</param>
<param name="gridsim.ametek.v_max" ty... |
dc6707ca0695a74f2ce289ceb1683d0b196df61a | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/integrator.sce | ee3b96605eba60e9eac766acfc8c7e3272c64af0 | [] | 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 | 212 | sce | integrator.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td align=left><b>Vref<br>Vin<br>Clear</b></td> <td>Integrator</td> <td><b>Vout</b></td> </tr> </table>";
pal5 = xcosPalAddBlock(pal5,"integrator",[],style);
|
3563806c2d67f11c0a1df1457e186ef35683a64b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH3/EX3.1/Ex3_1.sce | a6aa0df020c9ac841e696a027b164f3440c6bffc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | Ex3_1.sce | clc;
//Ex3.1
R=1000;
sigma=5.8*10**7;
d=0.001;
//l is length of the cu wire
l=R*sigma*%pi*(d*d/4);//R=l/(sigma*%pi*(d*d/4))
disp ('km',l*10**-3,"l=");
E=10*10**-3;
J=sigma*E;//current density
disp('A/m^2',J*1,"J=");
|
c494ebea934ea392c3916a593fa0a091cc8339a5 | 4a4229d18b16e2c24392f0d50bcd43f32ef97d0a | /test_suite/fuzzy.tst | 8c172c2c70ea92f948d46888e4800202aebab181 | [] | no_license | PRFina/NRES-FuzzyClips | 7b93e5ddb68a16d8c3e9bd1418f1284f56adb7b5 | 487409d0d916995993cb27e5e76c82b66b7c9c1a | refs/heads/master | 2020-04-18T08:42:37.463172 | 2019-01-24T18:12:23 | 2019-01-24T18:12:23 | 167,405,277 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | tst | fuzzy.tst | (unwatch all)
(clear)
(set-strategy depth)
(open "Results//fuzzy.rsl" fuzzy "w")
(dribble-on "Actual//fuzzy.out")
(batch "fuzzy.bat")
(dribble-off)
(load "compline.clp")
(printout fuzzy "fuzzy.bat differences are as follows:" crlf)
(compare-files "Expected//fuzzy.out" "Actual//fuzzy.out" fuzzy)
; close result file
(clo... |
4b775272cf65070f1830294044aea69fd4e9670d | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0089.tst | 55c496cf0c295808016cc6750271e5d83d82e11f | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 762 | tst | 0089.tst | sPlITteR jV {}
FILteR qOn { BItAnD ( ) oR NOT BITOr () k iN v or nOT D << c2:DB:Eb:8c:Ef:ad
oR NOT 2.54.155.41 < 7C:cc:Ae:dE:Cc:db
or not BItAND ( ) > 252.67.47.252/3 nOt zE ( Af, E::CBC:0/02, C ( ), ) OR BiTaNd ( ) or nOT XNOphWOQ ( 50.9e574, ) <= ::D:Bf:B1a:Df:CA/2 NOt >> E:bb:fB:Aa:D69:Dc:91.1.87.4/1 ... |
823a9c369bc3b5dddf497f6bc49d837847048d60 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/int/%i_sign.sci | 731279d3ac5fcdc9b66a283fb7bf6cae2ed1d840 | [
"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 | 105 | sci | %i_sign.sci | function r=%i_sign(m)
it=inttype(m)
r=m;
r(1:$)=iconvert(1,it)
r(find(m<iconvert(0,it)))=iconvert(-1,it)
|
b174dd566b0829470060f8f10824bf78570e7645 | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A7/A7.sce | a3900d0238397e2ee0eccc54efa46c2767a35b20 | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,812 | sce | A7.sce | //7A
nx = 200;ny = 200;
x = linspace(-1,1,nx);
y = linspace(-1,1,ny);
[X,Y] = ndgrid(x,y);
//tall rectangle aperature
tallRect = zeros (nx,ny);tallRect (find(abs(X)<0.07 & abs(Y)<0.02) ) = 1;
FT_tallRect = imnorm(abs(fftshift(fft2(double(tallRect)))));
f=scf();imshow(tallRect);isoview();xs2png(gcf(),'tallRect');
f=scf... |
4016ec3dc46d377d7322b4f11f3d0fdaeda07f6f | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/I_SenseAmp.sce | 3740d6055afc12e9e4bce2463dbb44ca68c498be | [] | 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 | 104 | sce | I_SenseAmp.sce | style.fontSize=12;
style.displayedLabel="I_SenseAmp";
pal2=xcosPalAddBlock(pal2,"I_SenseAmp",[],style);
|
89267ff437e38e93a3afc347de9e4a491bacf664 | e008440c8511b2bfaf897123d629bcf637dccc0c | /unit-3/least_square.sce | e6bb9085afc05c71451d0cecc2f28f0ca309b04a | [] | no_license | VenkataManohar456/scilab-assignment1 | 248277faa71388843fad288eef2576e5ce3386d3 | 7b85d89bafb2b95dd3cb5c0a2771b7920af853b7 | refs/heads/master | 2020-12-31T09:21:15.251716 | 2020-04-05T02:14:34 | 2020-04-05T02:14:34 | 238,974,266 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | least_square.sce | n = input('Enter the number of equations:')
for i=1:n
for j=1:2
a(i,j) = input("Enter the values:")
end
end
for i=1:n
b(i) = input("Enter the values:")
end
x = (a'*a)\(a'*b)
C = x(1,1)
D = x(2,1)
disp(C, 'C = ')
disp(D, 'D = ')
disp("The best fit line is b = C + Dt.") |
6a53f6b8866cccdf7cc92b02f021232f9dffeb47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH9/EX9.03/9_03.sce | c018bfdaaaa0db47142e877e8ab9f196ce8d1254 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | 9_03.sce | //Problem 9.03:
//initializing the variables:
w = 65; // in lb
Ws = 125; // in lb
a = 0.45;
Ts = 75;// in deg C
//calculation:
T = 9*Ts/5 - 32
wf = (w*0 + a*Ws)/(Ws + w)
//From Fig. 9.4
Hfinal = 156 // in Btu/lb
Tf = 208 // in deg F
printf("\n\nResult\n\n")
printf("\n the adiabatic temperature change... |
7f0f88a4fcf677724a37bfa7eba23b05fea0f140 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH7/EX7.13/Ex7_13.sce | a52a13e0635600ba7f954f4cf39e2fee87f496ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | Ex7_13.sce | // chapter 7 , Example 7.13 , pg 215
Ud=3.2*10^-3 //electron drift mobility (in m^2/(V*s))
sigma=5.9*10^7 //conductivity (in /(ohm*m))
e=1.6*10^-19 //charge of electron (in C)
Na=6.022*10^23 //Avogadro constant (in mol^-1)
ni=sigma/(Ud*e) //intrinsic concentration (in m^-3)
Aw=63.5 //atom... |
848b48629c5d3c1806b05ea6b68033c8619c0125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.06/Ex2_6.sce | f7abb36e5fea239909d0fe587f199cef96d5b65c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 700 | sce | Ex2_6.sce | // Example 2.6
// Computation of normalized frequency and no of guided modes
// Page no 480
clc;
clear;
close;
//Given data
lambda=1.30*10^-6; // Wavelength of fiber
a=25*10^-6; // Core diameter of fiber
delta=0.01; // Relative refractive index
n1=1.50; ... |
b155060d1b0f01653ef5b18b04722926b329fe19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH4/EX4.8/Ex4_8.sce | 867df273b1001623aee3768222d62eae81223545 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | Ex4_8.sce | //Ex4_8 Pg-227
clc
f=50 //frequency in Hz
C=100*10^(-6) //capacitance in F
Rl=2*10^3 //load resistance
Vrms=40 //rms secondary voltage
disp("(a) Ripple factor for a full wave rectifier")
r=1/(4*sqrt(3)*f*C*Rl) //Ripple factor for a full wave rectifier
printf(" = %.3f \n ",r)
disp("(b) DC output vo... |
8d7052e1481fa395299a005bf582e7f9ed7bfc9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH5/EX5.1/Ch05Ex1.sce | 2c041cf108bdd90d3db18711778dc0c07b326516 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ch05Ex1.sce | // Scilab code Ex5.1: Pg 154 (2005)
clc; clear;
h = 6.63e-34; // Plank's constant, Js
m = 140e-03; // Mass of baseball, kg
v = 27; // Velocity of baseball, m/s
p = m*v; // Momentum of baseball, kgm/s
lamda = h/p; // de Broglie wavelength associated with baseball, m
printf("\nde-Broglie wavelength... |
10fd85da6b5a39034807ed126bed34643a19989a | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20160113_waitbar/waitbar_test.sce | bb7f4c61b14934d67c250076dd7f719209a3d416 | [] | 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 | 1,036 | sce | waitbar_test.sce | // Count # of switches and target_fgs.
swc_fg_list = fscanfMat(path+fname+'.swcs');
temp_size= size(swc_fg_list); n=temp_size(1,1);
No_swcs=0; No_swcs_sr=0; No_target_fgs=0;
for i=1:n
if swc_fg_list(i,4) == 0 & swc_fg_list(i,3) == 0 then No_swcs=No_swcs+1; end
if swc_fg_list(i,4) == 0 & swc_fg_list(i,3) == 1 t... |
bed4a61eb5cb98908d543fd82358589996ee82d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH2/EX2.8.8/Ex2_8.sce | 67e023d1291ea358ab4fc1b6c66fee0c87171154 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 800 | sce | Ex2_8.sce | // Example 7// Ch 2
clc;
clear;
close;
// given data
z=10; //length of graded cylindrical bushing in cm
a=2; // radius of conductor inside bushing in cm
V=150; //AC voltage in kV
E_bd=50; // field strength in kV/cm
x0 = 2;
x1 = 6.24;
t_gd = V*sqrt(2)/E_bd;
printf("thickness of graded design is %f cm \n", t... |
88ec6eb604c15c1caf97bade94df9b7e3a00a83b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH7/EX7.7/7_7.sce | 847c3c7f2fc4335180bcbf7f30a013ca3e4d933b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | 7_7.sce | clc
//initialisation of variables
clear
h1= 3 //ft
h2= 4 //ft
r= 0.95 //m^-1
k= 27.65 //sec
Cd= 0.95
//CALCULATIONS
T= k*(log(r*sqrt(h2)-1)+(r*sqrt(h2)-1))-k*(log(r*sqrt(h1)-1)+(r*sqrt(h1)-1))
h= ((h2-h1)/Cd)^2
//RESULTS
printf ('Time = %.2f sec',T)
printf ('\n Increase in water level = %.2f ft',h)
|
70fa6a319f22382a33dcf39a9c18491e99362d18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH2/EX2.7.1/2_7_1.sce | 4c911bd3f1f50c9cc54340437a3e718de1828054 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | 2_7_1.sce | clc
//initialisation of variables
w= 62.3 //lb/ft^3
b= 1 //ft
s= 42 //ft
d= 170 //ft
l= 15.75
a= 170/3
//CALCULATIONS
W= 2*w*b*s*d/3
F= w*b*d^2/2
L= l+a*(F/W)
//RESULTS
printf (' distance= %.f ft from O',L)
|
8a4b8664e5b068c99e549dcd3ce280de16d0b059 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.09/16_09.sce | 3c36023f9412caa88919233f6d15244f2ae7ca01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,351 | sce | 16_09.sce | //pathname=get_absolute_file_path('16.09.sce')
//filename=pathname+filesep()+'16.09-data.sci'
//exec(filename)
//Speed(in rpm):
N=200
//Index of compression:
n=1.2
//Gas constant(in kJ/kg.K):
R=0.287
//Specific heat(in kJ/kg.K):
Cp=1.0032
//Bore(in m):
D=0.30
//Stroke(in m):
L=0.40
//Clearance volume:
C... |
ca8273ccf62d26fe1e5bcb59e134379e5b7cc257 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH13/EX13.1/ex_13_1.sce | 5f0e6447e3d17119b895cc89f726933dc2efc907 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | ex_13_1.sce | ////Ex 13.1
clc;
clear;
close;
format('v',6);
deltaVin=4;//V
deltaVout=0.4;//V
Vout=20;//V
LR=(deltaVout/Vout)*100/deltaVin;//%/V(Line Regulation)
disp(LR,"Line Regulation(%/V)");
|
f9220dddca0b749108a8d4bf74a257b535fea08a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3104/CH2/EX2.1/Ex2_1.sce | 8439ae6a79c34b3861915f729aa15c2b2038662f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | Ex2_1.sce | clear;
clc;
B=40;
R_c=10;//ohm
V_cc=130;//V
V_B=10;//V
V_CES=1.0;//V
V_BES=1.5;//V
I_CS=(V_cc-V_CES)/R_c;//A
I_BS=I_CS/B;//A
R_B=(V_B-V_BES)/I_BS; printf("value of R_B in saturated state= %.3f ohm",R_B);
P_T=V_BES*I_BS+V_CES*I_CS; printf("\n power loss in transistor=%.3f W",P_T);
ODF=5;
I_B=ODF*I_B... |
1ad94e40a53e24ad1ed5bebf3ba45e3f9249ed56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH8/EX8.5/Ex8_5.sce | 59ba8aa572e0cb2bd074a3668680bb77d823ac28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,259 | sce | Ex8_5.sce |
// Example 8.5
// From the diagram 4.6
V=20; // Source Voltage
Io=V/(25+5); // Current iL(0-)
disp('Current iL(0-) is = '+string(Io)+' Amp');
R1=30; // Resistance of 30 Ohms
i2=V/R1; // Current i2(0-)
disp('C... |
9daaf453b3b55a06fdb6787a0a44e636db2e05db | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH8/EX8.8.17/Ch8_8_17.sce | a55db715615170fe5ea0c984eeaf99fe0f32e012 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | Ch8_8_17.sce | clc
clear
disp("Example 8.17")
printf("\n")
disp("convert the following hexadecimael numbers to decimal")
disp("a)FACE b)31C c)CAD")
//this progra, converts only integer part to decimal
Hdec='FACE'
dec=hex2dec(Hdec);
printf("decimal=%d",dec) |
459b25d2fa8f750582b8f3cf49a1a4582061c6e6 | a90555c1b25caa293679dea7166187dc891e4b3b | /test.sce | 1e77d6387854649aaca334a92aba7bd40873ba72 | [] | no_license | MukMak/laboratory_works | 298ed8cb941f5bf1c2ac6a8e90bd7ac566acfc6e | 2e637ac262d9ed91ea755b094aedd97a11c3a9a4 | refs/heads/master | 2021-09-10T06:46:59.773963 | 2018-03-21T20:19:43 | 2018-03-21T20:19:43 | 119,851,079 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | test.sce | clear
clc
V = [1 -4 2 -3 0 5 -2 -1 -1 7];
kol = leght(V);
mprintf(' Исходный вектор: \n')
for i = 1^kol do
mprintf('%5g',V(i))
end
mprntf('\n')
p = 1
for i =
end
M = [1 1 1 1 1
0 -10 9 9 7
-4 21 5 -5 0
12 0 -4 0 13];
|
5067c7a007bd3386b2fddf10e61e237c15d11d56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.10/11_10.sce | 532bae5cff356f5418f2d61fc61b1fd9e1ce7c30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 970 | sce | 11_10.sce | //pathname=get_absolute_file_path('11.10.sce')
//filename=pathname+filesep()+'11.10-data.sci'
//exec(filename)
//Average pressure of the steam(in bar):
p=10
//Weight of water consumed(in ton):
Ww=15
//Weight of coal produced(in ton):
Wc=1.5
//Percentage coal that caan be burnt:
n=1-0.03-0.04
//Composition of... |
69e1bba59c09cd171d9ebd71f8ea0171f16b41bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH10/EX10.4/10_4.sce | 265c454fb221bd2b27de64325a894739ea920de2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,286 | sce | 10_4.sce | //All the quantities are expressed in SI units
p0 = 30*101000; //reservoir pressure
T0 = 3500; //reservoir temperature
R = 520; //specific gas constant
gam = 1.22; //ratio of specific heats
... |
6e568936e881d7ae7f78e4786e730db70ac6c6a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH34/EX34.13/Ex34_13.sce | 055f78acdada58846ca7c71787cd39bc62a4cceb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex34_13.sce | clc;
VL=5;
Vz=5;
IL=20*10**-3;
Pzmax=500*10**-3;
Vsmax=15;
Vsmin=9;
Izmax=Pzmax/Vz;
Ismax=IL+Izmax;
Vz=VL;
Rsmin=(Vsmax-Vz)/(Izmax+IL);
disp('ohm',Rsmin*1,"Rsmin=");
ILmax=IL;
Iz=((Vsmin-Vz)/Rsmin)-ILmax;
disp('mA',Iz*10**3,"Iz=");
|
00e5669d71866a0ebe632f19e2172bb445161194 | 009e6209a86f0838f0faca8a33b2c162e5d1a7a6 | /src/scripts/gaussJordan.sce | 53a768c7bb81bb12968a3b9a99b0b07cc4586470 | [] | no_license | MoisesU/MESO-MetodosNumericos | 90a62a31e3213c50dec55228ceca7ce034cfbb7c | 17fe0efa1690ac93f36799a12a9f9c99f1ab94a4 | refs/heads/main | 2023-06-02T05:51:03.641326 | 2021-06-20T03:18:17 | 2021-06-20T03:18:17 | 306,203,044 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | gaussJordan.sce | function rpta = gaussJordan(A, b)
[m,n] = size(A)
if (m <> n) then
error("La matriz no es cuadrada.")
end
for i = 1:n-1
[q,p] = max(A(i:n,i))
p = p+i-1
A = intercambiarFilas(A, i, p)
b = intercambiarFilas(b, i, p)
for j = i+1:n
r = A(j,i... |
5ab7d4b380c8d137bb9fc498ddb7e7db517fa13d | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /hard/tests/wrongReturnType.tst | 7bc6b161acbf729dc7579402e188e8b32bf1d9e8 | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | tst | wrongReturnType.tst | int[] func(int x) begin
return x;
end
main begin
int[] array;
array = func(3);
return array;
end
|
ff0a5d2e7cdc076f3bf0e7b96da57c938270bae3 | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/graficos_exemplo3d3.sce | 289d79d6aedd38e1d134d123c5980f03dfcfa3f5 | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | graficos_exemplo3d3.sce | kp=xget("pixmap");xset("pixmap",1);
xset("wwpc"); // clean pixmap
getf SCI/demos/surface/Macros.sci
xset('pixmap',1)
U = linspace(0,3*%pi,60);
v = linspace(0,2*%pi,20);
n=size(U,'*');
for k=20:4:n
u=U(1:k);
x= (cos(u).*u)'*(1+cos(v)/2);
y= (u/2)'*sin(v);
z= (sin(u).*u)'*(1+cos(v)/2);
xset('wwpc')... |
a1760e627c9227c139d44a053acecfa3c904b65c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.1/18_1.sce | d8f37f4b6a65e5e14ec148b4aa9dac56c8b1fe3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | 18_1.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.1
//calculation of position of the image of an object placed at a distance from the mirror.
//given data
u=-12; //object distance(in cm)
R=20; //radius of curvature of the mirror (in cm)
//calculation
v=1/((2/R... |
27d38d85181806a985da88c96b98cd050299b9b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH23/EX23.1/Ex23_1.sce | a40aa3ce119811c06c1ac69f2153e66db70daefd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex23_1.sce | clc
clear
//Initalization of variables
pv=0.3631 //psia
pa=14.7 //psia
cp=0.24
tw=70 //F
td=80 //F
hv1=1096.6 //Btu/lb
hfb=38.06 //Btu/lb
//calculations
sh=0.622*pv/(pa-pv)
sh1=(cp*tw -cp*td + sh*1054.3)/(hv1-hfb)
//results
printf("Specific humidity = %.5f lb/lb",sh1)
|
71f437cf8312a57d7e80fcdc8fa8d9014f1bd6f3 | 4022d6e73030b2acf16c9e85b9d544398c0f0d28 | /ads.tst | 534e3d46eb141c0fc0c4465a7b9ebf5577f8a892 | [] | no_license | yunuse44/dysitemaker2-yunusemre | 5c0ecc239e2a28b41321bdd7490187d4c78ec8d2 | efd938e0676e0eea0de5ef5ccdc6ceb2412adc62 | refs/heads/master | 2020-04-29T09:43:13.162444 | 2019-03-20T07:51:52 | 2019-03-20T07:51:52 | 176,035,709 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | tst | ads.tst | rekmob.com, ,DIRECT
reklamstore.com, , DIRECT
appnexus.com, 1619, DIRECT
EMXDGT.com, 71, RESELLER
appnexus.com, 1356, RESELLER
adform.com, 1431, RESELLER
pubmatic.com, 156547, RESELLER
|
6df319b4a5800d253369c2b78091b0d18bc5ff8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH25/EX25.2/25_2.sce | 02feb97b4d0f18d5945eaa1055d043bae3d41729 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 25_2.sce | //clc()
//f(x,y) = dy/dx = -2*x^3 + 12*x^2 - 20*x + 8.5
//f'(x,y) = -6*x^2 + 24*x - 20
//f"(x,y) = -12*x + 24
//f"'(x,y) = -12
x = 0;
Et2 = (-6*x^2 + 24*x - 20) * 0.5^2 / 2;
Et3 = (-12*x + 24) * (0.5)^3 / 6;
Et4 = (-12) *(0.5 ^ 4) / 24;
Et = Et2 + Et3 + Et4;
disp(Et,"Total truncation error =")
|
ed5834c3c5f2c6c5c126723c2734a39cd3ddfb6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH3/EX3.3/example3_sce.sce | 41e2f8baa67671fb0a28d564b013e6e030c46568 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | example3_sce.sce | //chapter 3
// example 3.3
//page 112
A=2*10^5;//open loop gain
Rin=2*10^6;// input resistnace
Ro=75;// output resistance
Fo=5;// single break frequency in herzt
R1=470;Rf=4700;
K=Rf/(Rf+R1)
B=R1/(R1+Rf)
Af=-(A*Rf)/(R1+Rf+R1*A);//close loop gain
Rinf=R1+(Rf*Rin)/(Rf+Rin+A*Rin);
disp(Rinf)//close loop resist... |
1aa4c8cb918e9cbe4493dcdefa49602c980bf9fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH5/EX5.3/Ex5_3.sce | 9078907cc80dd9402e03f41ca5445c0c3a7365e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | Ex5_3.sce | //Caption: spacing distance
//Example 5.3
//page no 221
//Find The spacing between two successive pules
clc;
clear;
samplingrate=8000;
totalsignals=24+1;
t=1/samplingrate;
T=t/totalsignals;
T=T*10^6//time is now u sec
space=T-1;
disp("u sec",space,"The spacing between two successive pules");
|
9593a143a4f9ebbba7f2eb04c0fbc1a0e4dc5b17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH7/EX7.8/example8.sce | 0aa92d9ba1086dc65614bd5ea6bbcbd415e62208 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | example8.sce | //Chapter-7 example 8
//=============================================================================
clc;
clear;
//input data
BW = 0.3*10^9; //Bandwidth of waveform in Hz
PW = 3*10^-3; //pulse width in sec
Vo = 3*10^8; //velocity of EM wave
//Calculations
RR = (Vo*PW)/2 ; //Range Res... |
66c20837d17a422b83207246a09f667752a52d51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH6/EX6.4.1/SNR_DFT.sce | e48aba67250f155cab8fe1fca8484a34688383be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | SNR_DFT.sce | //Graphical//
//Example 6.4.1
//Program to Calculate No.of bits required for given
//Signal to Quantization Noise Ratio
//in computing DFT
clear;
clc;
close;
N = 1024;
SQNR = 30; //SQNR = 30 dB
v = log2(N); //number of stages
b = (log2(10^(SQNR/10))+2*v)/2;
b = ceil(b)
disp(b,'The number of bits required ... |
ded32b844f07bdcb22856bd983ab0fc2ddfca0e5 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/WK47ZQE/ATWM1_Working_Memory_MEG_WK47ZQE_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | e57eaaa9925758da0bc135142c0ab547fa224759 | [] | 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,600 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
21554e727bd16519f704e9953aff31f7e660417e | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH15/EX15.6/15_6.sci | 960601022b4c61016cfa9abea5e753fa8dcc9992 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 15_6.sci | //The ac Motor Control//
//Example 15.6//
f1a=50;//intial frequency in hertz//
f1b=30;//value of frequency reduced to in hertz//
Va=415;//operating voltage of induction motor in volts//
Vb=Va*f1b/f1a;//input voltage to the motor in volts//
printf('value of input voltage to the motor=Vb=%fvolts',Vb);
Pa=100;//ope... |
a962d791a377ba65863921ff336306e937064b54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/4_05.sci | d5a532a75506775c05ebc960f4e3724c1616ec95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sci | 4_05.sci | //Height of the container(in ft):
l=2;
//Area of cross section(in ft^2):
A=1;
//Weight of container(in lbf):
W=5;
//Water depth (in ft):
h=1.9;
//Area of opening 1(in ft^2):
A1=0.1;
//Velocity at opening 1(in ft/sec):
V1=-5;
//Area of opening 2(in ft^2):
A2=0.1;
//Area of opening 1(in ft^2):
A3=0.1;
//D... |
b347112320c43c7030dea1f8b22c43affdfbd7f2 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/VW42LKU/ATWM1_Working_Memory_MEG_VW42LKU_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | 774aea8a4499335dc56dca8e8321871b75445737 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,620 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
1d249a0bf1ced8b636e22e9940d6cad8b63b3aba | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/40.tst | de61561fd80e3d93d3623003d4d3dfdbdffcc7b9 | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,202 | tst | 40.tst | 1000 1000
100
514 495 13
20 573 13
670 729 13
150 469 13
696 495 13
514 443 13
904 625 13
722 417 13
228 677 13
566 131 13
540 755 13
722 807 13
878 79 13
462 963 13
280 391 13
800 365 13
150 651 13
722 859 13
670 417 13
124 495 13
540 443 13
306 911 13
280 625 13
540 209 13
644 677 13
696 88... |
4d94f28a440f75499cdfed6b4d80af558c7470db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.69/Ex13_69.sce | f28561ace73c2a823e87e4e3ba858d5aa2ad4648 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | sce | Ex13_69.sce | //EX13_68 Pg-37
clc
clear
printf(" Subtraction of two hexadecimal numbers using 16''s complement")
printf("\n (3B7)<16-(854)_16")
printf("\n Therefore (3B7)_16-(854)_16 =")
x=['3B7']
y=['854']
//hexadecimal to decimal conversion
x=hex2dec(x)
y=hex2dec(y)
y1=bitcmp(y,12)//15's complement of the larger number
y2=y1+1;/... |
60fa0024dfb610600b164aaf177f305cbaad63cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH5/EX5.3.2/ex5_3_2.sce | a42da1168e50924abb1ac737ae2309f47b7410e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | ex5_3_2.sce | s=%s;
syms Kp Ka Kt Kd J f
// given
J=0.4;
Kp=0.6;
Kt=2;
f=2;
Ka=5;
p=Kp*Ka*Kt
q=s^2+((f+Ka*Kd*Kt)/J)*s+(Kp*Ka*Kt)/J
G=p/q;
disp(G,"Qm(s)/Qr(s)=")
cof_1=coeffs(q,'s',0)
// on comparing the coefficients
Wn=sqrt(cof_1)
zeta=1 // given
cof_2=coeffs(q,'s',1)
// 2*zeta*Wn=cof_2
Kd=(2*zeta*sqrt(Kp*J*Ka*... |
4860a51f6ebd0f1e2c3a463ee10c4e623de1e0b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH2/EX2.3/ex2_3.sce | 9af1d1ceffb2fd49f5270bfee3b491780050cba3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | ex2_3.sce | // Exa 2.3
clc;
clear;
close;
// Given data
format('v',8)
r = 1.278;// in angstrum
At = 63.5;// atomic weight
N_A = 6.023*10^23;// Avagadro number
a = (4*r)/sqrt(2);// in angstrum
a = a * 10^-10;// in m
m = At/N_A;// in gm
m = m * 10^-3;// in kg
V = (a^3);// in m^3
n = 4;// number of atoms present in one ... |
027c7bdd77fd06502f91d4f86f97b9c432757b06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH4/EX4.4/ex_4_4.sce | fcdac5410c7066312999df1cb7f33836d8b50f4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | ex_4_4.sce | //Example 4.4 //illumination
clc;
clear;
close;
format('v',7)
P=20;//filament power in watts
h=5;//height in meters
d=4;//diamter in meter
p=0.50;//in percentage absorption
ef=0.89;//efficiency in watts
cpl=P/ef;//candle power of lamp in CP
Lop=4*%pi*cpl;//lu,inous output in lumens
Fe=(1-p)*Lop;// flux emitted by the g... |
3a99797e20b883c0c2c5822f2a4b3354828d2087 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH7/EX7.4/Ex7_4.sce | 2b4eb39c523da55657cf08531d76aed1396bf1f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | Ex7_4.sce | clc
T=300//K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
Vr=25 //V
Emax=3*10^5//V/cm
Na=10^18//cm^-3
esp=11.7
esp0=8.85*10^-14
//Emax=sqrt((2*e*Vr*(Na+Nd))/(esp*(Na+Nd))
x=((Emax^2)*esp*esp0)/(2*e*Vr) //solving the above equation we get
Nd=(Na*x)/(Na-x)
disp(Nd,"doping concentration in cm^-3 is... |
abfdaca0dd932791566aba58ccf37b05ccfa5e1c | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/misc/comp_form_i.sci | 201cda4730b607a8724036124c9ee25dd640ad86 | [] | 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 | 719 | sci | comp_form_i.sci | function [Contr]=comp_form_i(A,B,C,D,Ts,K,Cy)
// Create the compact form of the Observer ABCD and the
// gain K, using an integrator at the input to eliminate the
// steady state error
//
// A,B,C,D: Observer matrices
// Ts: sampling time
// K: state feedback gains
// Cy: matrix to extract the output for the steady sta... |
cbdb3930f37c346bd274e79736275fa057686248 | 8b71d45e2ad969008eefeaf925d555ea6472f9a1 | /Scilab/Robot_Simulation.sce | 46eeb08b9101f04122e46b822097da48490e06c1 | [] | no_license | Rossano/Self_Bal_Robot | cb251b14f40b1934ee38ecbb86cd13762454675b | 9fd6af2e9f8f528cffd4e38faa7c1c4ff4a97136 | refs/heads/master | 2020-04-06T05:10:44.220409 | 2016-10-11T06:44:12 | 2016-10-11T06:44:12 | 36,401,038 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,464 | sce | Robot_Simulation.sce | clear; clc;
xdel(winsid()); // close all windows
mode (0);
// Complex variable
s = poly(0, 's');
// Function to display subplot on the same window
function smallplot(i)
subplot(3,2,i); xgrid(color('gray'));
plot(t, x(i,:));
endfunction
function [K, phi] = ackermann (A, B, P)
phi = poly(P,'x'... |
cef84c3480da001a0b620fa6ba7ce0a28ce4459f | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH5/EX5.16/example5_16.sce | 7905cd3906818fc3e7bdf09539bc169f3ed4a045 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | sce | example5_16.sce | disp('chapter 5 ex5.16')
disp('given')
disp('calculating R4 and C4 for high Zin Mod for ex 5.4')
disp('assuming R3 is a short circuit')
disp('circuit is designed to have Av=1/beta')
beta=0.01
Av=1/beta
disp(Av,'Av=')
Avindb=20*log10(Av)
disp(Avindb,'Av in db=')
disp('to reduce next compensating components sel... |
d8f2c887c1cbdde3dd29a4ce3086138b0f516a23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH5/EX5.7/5_7.sce | 326e7e92190c0853bd88d430fa9ca2dc4588271d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | 5_7.sce | //Eg-5.7
//pg-230
clear
clc
A=[0 1 1 1;1 0 1 1;1 1 0 1;1 1 1 0];
z=[1;0;0;0];
for i=1:20
printf('iteration number=%f\n',i);
a=A*z;
b=(sum(a.^2))^.5;
printf('dominant eigen value=%f\n',b);
z=a/b;
printf('z=%f\n',z);
end
disp("from iterations dominant eigen value converged ... |
917c50a6429c4f707afaaefb39d3757a2d39af18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.39/EX3_39.sce | 2b65d656b521e7403d43a6a42e792d52ee98b725 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 867 | sce | EX3_39.sce | VAB=400+%i*0;
VBC=-200-%i*346.41;
VCA=400+%i*0;
Z1=300-%i*398;
IAB=VAB/Z1;
disp('i) CURRENT (IAB) is in rectangular form = '+string (IAB) +' A ');
VAD=IAB*300;
disp('ii) VOLTAGE (VAD) is in rectangular form = '+string (VAD) +' V ');
VDA=-VAD;
disp('iii) VOLTAGE (VDA) is in rectangular form = '+stri... |
b445ed8f70e8b2d652761e931d96cdbe05fc6cd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH12/EX12.6/Ex12_6.sce | cacf6eac82e5dd690e264382b28e52f60dd617b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | Ex12_6.sce | //chapter12
//example12.6
//page242
Vcc=10 // V
R_B=1d3 // kilo ohm
R_E=1 // kilo ohm
Vbe=0 // since it is negligible
gain_beta=100
// by Kirchoff voltage law to base side we get Vcc=I_B*R_B+Vbe+I_E*R_E
// but I_E=I_B+I_C and I_C=gain_beta*I_B
// so we get Vcc=I_B*R_B+Vbe+R_E*I_B*(1+gain_beta)
// making I_B as subjec... |
9a29fe1ef3d87f40ad3434a2df357e14baf8292e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/polyscale/polyscale4.sce | 69aacfa39ef874ddb146381263559c95dad932f7 | [] | 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 | 238 | sce | polyscale4.sce | //i/p arg a is negative
x=[12 3 4 5 6 7 8 9];
a=-5;
y=polyscale(x,a);
disp(y);
//output
//
// column 1 to 5
//
// 12. - 15. 100. - 625. 3750.
//
// column 6 to 8
//
// - 21875. 125000. - 703125.
|
33b9721ab3e7eb5fcde00e7574100e5abbf9aef4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH8/EX8.1/Ex8_1.sce | 03079004acb550732b8f72d0f8e1cedd2fad4ec3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | Ex8_1.sce | // chapter 8
// example 8.1
// Determine time ratio of the chopper
// page-439
clear;
clc;
// given
Edc=100; // in V
L=40; // in mH
R=5; // in ohm
I1=10, I2=12; // in A (current limits)
// calculate
Iavg=(I1+I2)/2;// calculation of average value of load current
Imax=Edc/R;// calculation of maximum value of load current... |
6de78639063ed02ebc13dd9cb6775196d50b93ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.15/ex15.sce | b59130a808e5ee614f2c18bd6a0cdcb5e673f72a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | ex15.sce | clc
clear
//Input data
d=13.596*10^3;//Density of Hg in kg/m^3
dl=800;//Density of liquid in kg/m^3
Z=30;//Level of the liquid in the arm in cm
Z1=0.75;//Barometric pressure in m
g=9.81;//Gravity in m/sec^2
//Calculatins
Pg=(dl*g*Z)/10^7;//Gauge pressure in bar
Pa=(d*g*Z1)/10^5;//Atmospheric pressure in ba... |
7aca78e83ee86d55daf52588883239bfb8fe39f4 | dcab0800429dd1b3409234cc7ffca107fd01a0d5 | /Main.sce | 41f14c25a613869b6d68e588fd938944e595f74c | [] | no_license | nilssab/xrd-data-analyzer-scilab | 3a96dba8d662110a678a543622870d0f40351c3a | dde73ee719f898b747c4d0322f990494054f615b | refs/heads/master | 2022-12-19T22:50:00.912200 | 2020-09-12T20:15:22 | 2020-09-12T20:15:22 | 295,015,416 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,081 | sce | Main.sce | clear
exec("y_func.sce path")
ecec("find_peaks.sce path") //1.0002% limit is set in here
bRes = csvDefault("eol", "linux")
files = ls(pwd())
files = gsort(files, 'lr','i')
//peak search parameters
deltaTsh = 1 //raise if too many peaks are found 1
peakskirt_mod = 7... |
c28b1d1e1311be3ddcddd956182d1d8a6b6de1b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH4/EX4.2/4_2.sci | 1c7067642e7bf2a5193ec99a9c7078360a3a73f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sci | 4_2.sci | // 4.2
clc;
L=50*10^-6;
C=1*10^-9;
fc=1/(2*%pi*(L*C)^0.5);
fs1=10000;
fu1=(fc+fs1)*10^-3;
printf("\nUpper side band frequency =%.2f kHz",fu1)
fl1=(fc-fs1)*10^-3;
printf("\nLower side band frequency =%.2f kHz",fl1)
|
e928dbe73897c4b59490e713e9b8cdf7f64e5fe2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH5/EX5.3/Ex5_3.sce | 213df0c1d8c0789b602c326b9fc7ad0d70175323 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_3.sce | //Example 5.3, Page number 5.29
clc;clear;close
// variable declaration
d=50 // diameter
n1=1.450// unitless
n2=1.447// unitless
lamda=1 // wavelength
// Calculations
N_a=(n1**2-n2**2) // Numerical aperture
N=4.9*(((d*10**-6*N_a)/(lamda*10**-6))**2)// Numerical aperture
// Results
print... |
b89852fa9d3d0edcde735b6192aff4c509cac140 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH4/EX4.22/Ex4_22.sce | 337e2ab8c8663337741f0f98ade4805f34829dbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | Ex4_22.sce | clear
//Given
C1=10.0 //micro F
C2=10.0
C3=10.0
C4=10*10**-3
V=500 //V
//Calculation
Cs=1/((1/C1)+(1/C2)+(1/C3))
Cab=Cs+(C4*10**3)
Q=(C1*(500/3.0))*10**-3
Q1=C4*V
//Result
printf("\n (a) The equivalent capacitance of the network is %0.1f micro F",Cab)
printf("\n (b) The charge on 12 micro F... |
c819df553dc23639a1d0ccb9f02207f8e92e160d | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH1/EX1.9/example1_9.sce | 8f929986b607b6d4a39e3011afb20b7feec272a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,334 | sce | example1_9.sce | // To find Arithmatic mean and deviation from mean
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 1-9 in Page 9
clear; clc; close;
// Given data
// Independ... |
c298e28080cc30a08533c351b01e7620e2378f80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH8/EX8.4/Ch08Ex4.sce | fab8ee68bb6ae1f00fbd89bc0346ff57653ca807 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | Ch08Ex4.sce | // Scilab code Ex8.4 Page:241 (2006)
clc; clear;
a_B = 0.53e-08; // Bohr radius, cm
N = 27e+023; // Atomic density of He gas, per cubic cm
c = 3e+010; // Speed of light, cm/sec
e = 1.6e-019; // Charge of an electron, Coulomb
m = 9.1e-028; // Mass of an electron, g
// As r_classic = e^2/(m*c^2), Cl... |
310fcb5f5d569982714e76c77a61d032401bf624 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/gausswin.sci | eb3b3d899ab2c89e91f537c12f5bfea0e91719bd | [] | 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 | 887 | sci | gausswin.sci | function w = gausswin (m, a)
//This function returns the filter coefficients of a Gaussian window.
//Calling Sequence
//w = gausswin (m)
//w = gausswin (m, a)
//Parameters
//m: positive integer value
//a:
//w: output variable, vector of real numbers
//Description
//This is an Octave function.
//This function returns... |
6404015d31940c0c9d2cdd55d84c1adeeb8b4722 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.16.8/Ex1_16_8.sce | 14300bb70f4ab524915fd147c13ec758f3949293 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Ex1_16_8.sce | //Ex 1.16.8
clc;clear;close;
format('v',9);
//Given :
T=300;//K
ni=2.5*10^13;//per cm^3
mu_n=3800;//cm^2/V-s
mu_p=1800;//cm^2/V-s
q=1.6*10^-19;//Coulomb
sigma_i=ni*(mu_n+mu_p)*q/10^-2;//(ohm-m)^-1
disp(sigma_i,"Conductivity of intrinsic Ge in (ohm-m)^-1 : ");
ND=4.4*10^22/10^7;//per cm^3
n=ND;//per cm^3
... |
8762841a860e154ddab799a4a16e908bc51753e6 | a45f93853fdb67523e71e3e7fb88c4298eae1ef7 | /Screens/Multiplayer Screen.tst | c2cd118e96c71ddc85f2a8ae17380b846c7654ef | [] | no_license | voarsh/Disney-Treasure-Planet-Battle-at-Procyon | 68192cbfdf8b823bc8399e3ea1e62d4976b74aed | 99cbbc70701ef6e8f9d95eba1052635de992910f | refs/heads/master | 2020-04-16T01:44:03.761947 | 2016-06-08T10:25:05 | 2016-06-08T10:25:05 | 38,745,932 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,746 | tst | Multiplayer Screen.tst | ScreenName String 'Multiplayer Game Selection'
ImplName String 'NULL SCREEN'
ElementChunkArray Int 13
ScreenElementType Int 0
ImplName String 'Front End Screen Backdrop'
TabIndex Int 1
Selectable Bool False
Enabled Bool True
ReferenceArea Rect( 0, 113, 800, 507 ) # left,top,right,bottom
ScreenElementType Int 1
ImplNam... |
d8aac7b303c985905314d25717d0d3c6baabde5d | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /AkarPersamaan/scilab/newton_raphson.sce | 2720b5a78e031978a2d23cfdc80f034201203c29 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | sce | newton_raphson.sce | function root = newton_raphson( f, df, a, tol, NiterMax )
if ~exists("tol", "local")
tol = 1e-9
end
if ~exists("NiterMax", "local")
NiterMax = 30
end
printf("\nRoot searching via Newton-Raphson method\n")
printf("Initial guess root: %18.10f\n", a)
printf("Tolerance: %18.10e\n", tol)
printf("n... |
709cfb89f1bd98bd6fb9f4634f6c0cbe09c4a6be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH6/EX6.9/Ex6_9.sce | bcdc6a4e10947b725974ab350f574b7cb631ef63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_9.sce | clc
//Chapter6
//Ex_9
//Given
//rms output voltage
Ic=2.5 // in mA
Rc=1000 //in ohms
beta=100
vs=1//in mV
Rs=50 // in ohms
r_be=beta*25/Ic //Ic in mA
gm=Ic/25 //Ic in mA
//Av=v_ce/v_be=gm*Rc
Av=gm*Rc
v_be=vs*(r_be)/(r_be+Rs)//in mV
v_ce=Av*v_be
disp(v_ce,"rms output voltage in mV is")
v_be=v_be*10^-3 /... |
0b5bbbdd3ae52848d45ef189f8988c45a745a365 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.36/Ex4_36.sce | 1919b0db3af91b2420706f3fa4477aae1539e726 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,907 | sce | Ex4_36.sce | //Answer for part(e) in book is incorrect.
clc;
//Magnetization curve is same as that of example 4.33
Ra=0.2;//armature resistance (including brushes)
Nf=2000;//shunt field turns
N=1500;//motor speed in rpm at no load as well as rated load.
Ia=36;//motor armature current in Amperes at rated load
//PART(a)-At n... |
41e45b94e559b8f5fad44637dc236e960394db28 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2103.sce | 4fdaea8547f7ba7050770d1a532fbb80c2d5c535 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 4,536 | sce | map2103.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2102" Width="13" Height="13" CellSize="40" BackgroundSize="1" Background="11plus.png">
<Cell Name="木桩2" X="5" Y="0" />
<Cell Name="出生点" X="1" Y="1" />
<Cell Name="cl-瘴气-0秒出现" X="2" Y="1" arg0="1.00" arg1="4.0" arg2="0.00" />
<Cell Name="cl-瘴气-1秒出现" X="3"... |
9978d1fa965c31215b83e689cee9351cc2a189ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH13/EX13.22/13_22.sce | d54a5d9f28baa8133796cefab7fbde1a8b920d6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 943 | sce | 13_22.sce | //Problem 13.22: Find the value of the load resistor RL shown in Figure 13.51(a) that gives maximum power dissipation and determine the value of this power.
//initializing the variables:
V = 15; // in volts
R1 = 3; // in ohms
R2 = 12; // in ohms
//calculation:
//Resistance RL is removed from the circuit as sh... |
e483182bb5c1eb81d121ff89715e949c98ee4198 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH5/EX5.11/511.sce | cd5a9ad4c41720ce0dea80913d311c33a92cf09c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | 511.sce | // problem 5.11
Cd=0.6
x=90
q=0.05
g=9.81
dh=0.00025
z=(15*q)/(8*Cd*((2*g)^0.5)*(tand(x/2)))
H=z^0.4
error=2.5*(dh/H)
disp(error*100,"the percentage error in the discharge")
|
3f6a981651b126feef3c3763d8a3a68bbab48c03 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/bin/gl_read.sci | fa1d2b7ad843db7e2e200a303f3caecda1122587 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 17,656 | sci | gl_read.sci | // this script is to read parameters
OrganType = 7;//number of type of organs
// chr ages
Name = mfscanf(fid,"%s");
N = mfscanf(fid,"%d");
// maximum of phy ages
Name = mfscanf(fid,"%s");
maxp = mfscanf(fid,"%d");
// sample size
temp=[];Tr=[];
Name = mfscanf(fid,"%s");temp=[];
temp = mfscanf(fid,"%d ... |
2a7e86a0c1b28da10c0bcf3b970a2fc1f239b175 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.13_3.tst | 90249c18dc9b82b782dd73549a41e91cb7154147 | [] | 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 | 262,576 | tst | 5.13_3.tst | 13 1193:1 1351:1 1399:1 1412:1 1611:1 2026:1 2310:1 2725:1 3536:1 3614:1 4048:1 5023:1 5306:1 6563:1 6807:1 7096:1 9339:1 10287:1 10986:1 12265:1 12752:1 12779:1 12917:1 13087:1 13582:1 13887:1 13981:1 14047:1 14147:1 14199:1 16393:40 16952:1 17175:1 17763:1 18035:1 18634:1 18909:1 19561:1 19766:1 20049:1 20183:1 20322... |
514e80b3987344c8a4e5e1432ec8eb24ef0dc5de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.27/Example1_27.sce | bcd4e1c8e8780aa1bbf61b14a8e0ab5711b28bd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Example1_27.sce | // Example 1.27
clear; clc; close;
format('v',7);
// Given data
VL=3300;//in volt
f=50;//in Hz
P=10;//no. of poles
X2=0.25;//in ohm
R2=0.015;//in ohm
Sfl=2.5;//Slip in %
//Calculations
Ns=120*f/P;//in rpm
N=Ns*(1-Sfl/100);//in rpm
disp(N,"(1.) The speed of motor, N in rpm : ");
Sm=R2/X2;//Max Slip
Nm... |
9e9eec919be686cfcfb14eb7973277c96964ce6e | 44399e43f8dd4d0a7c8d41f5f407ee36ce8ab651 | /FalsaPosicion2.sce | d1eee9181948f480805b064a6e0007d5f7439664 | [] | no_license | BanderoChinoZF/MetodosNumericos_SciLab | e021c3f11e25f7216e0b2b3b015d0737e176edfa | eec9fcaa3ff226ca058f515d72b6558923421ad9 | refs/heads/master | 2022-11-13T12:33:03.241216 | 2020-07-02T07:00:42 | 2020-07-02T07:00:42 | 276,572,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,294 | sce | FalsaPosicion2.sce | clear, clc
function f=fx(x)
//fx=sqrt(x)-cos(x)
//f = x^3 + 2*x^2 +10*x - 20
f = x^3-7*x^2+14*x-6
endfunction
n=0
Xi=input("Xi: ");
Xd=input("Xd: ");
tol=input("Error permitido");
n_ite=input("Ingrese el num de iteraciones: ")
fXi=feval(Xi,fx); //instruccion para evaluar la funcion con Xi
fXd=f... |
ab819c54bc55d18f43e10f7e388d33b17abc1ed9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH2/EX2.8/Ex2_08.sce | 7a93a85c53268cc63223157270af38aeef4f41d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 833 | sce | Ex2_08.sce | // Scilab Code Ex2.8 : Page-57 (2013)
clc; clear;
f0 = 1; // For simplicity assume frequency of the signals sent by Frank, Hz
// Outbound trip
bita = -0.8; // Boost parameter for receding frames
f = sqrt(1+bita)/sqrt(1-bita)*f0; // The frequency of the signals received by Mary in outbound trip, Hz
printf... |
3dda9f8cf37c08a602f34b7bb8926cbd4034930a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH7/EX7.1/Ex7_1.sce | fc030887e53db4928d2cedf2b1070798754b3bbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,257 | sce | Ex7_1.sce | // Scilab Code Ex7.1: Page-376 (2008)
clc; clear;
a = poly(0, 'a'); // Lattice parameter for a cubic unit cell, m
// For simple cubic cell
n = 1; // Number of atoms per simple cubic unit cell
r = a/2; // Atomic radius for a simple cubic cell, m
f = pol2str(int(numer(n*4/3*%pi*r^3/a^3)*100)); // Atomic... |
ec2f4127e26c5d9951ca84e874df5f947992c654 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummax/cummax1.sce | 3f2b5d45b5d93bcc51c6a1ac628026335d2bd165 | [] | 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 | 269 | sce | cummax1.sce | //check o/p when i/p is a vector
v=[8 3 6 7 9 10 6 2 2 3];
m=cummax(v);
disp(m);
//output
// column 1 to 6
//
// 8. 8. 8. 8. 9. 10.
//
// column 7 to 10
//
// 10. 10. 10. 10.
//
|
072e9dd75385dff30c0a7cde5a3e7caf1025dcea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH4/EX4.18/ex4_18.sce | 7cb08b658de5ccf7ec8d32d9677028298bfac325 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | ex4_18.sce | //Page Number: 4.19
//Example 4.18
clc;
//Given
delf=75D+3; //Hz
fM=15D+3; //Hz
D=delf/fM;
//Given formula fb=2(D+2)*fM
fb1=2*(D+2)*fM;
disp('Hz',fb1,'BW uing formula');
//Carsons Rule
fb2=2*(D+1)*fM;
disp('Hz',fb2,'BW uing Carsons Rule');
//High quality Fm radios require minimum 200kHz
//Therefore,... |
e6fae427f2843411d5ea85f023fefaca301f408f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.3/Ex15_3.sce | 7fca59d5eab0cebacf57cf65df8336000f08d865 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | Ex15_3.sce | //Finding current
//Example 15.3(pg 393)
clc
clear
M=250000//weight of water lifted per hr in kg
h=50//height in metres
g=9.81//gravitational const.
WD=M*h*g//work done by pump per hr in watt-sec
P=WD/3600//Power output of pump per sec in watts
V=500//supply voltage in volts
Ep=0.8//efficiency of pump
Em=0.9... |
5fed183c87bf87a5af584e7031ffedd466154209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.1/Chapter2_Example1.sce | 3e7bbb96e1064cac043cc4b27d91b2c2811f39b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | Chapter2_Example1.sce | clc
clear
//INPUT DATA
//GASES IN THE ORDER CO2,CO,O2,N2
p=[16.1,0.9,7.7,75.3];//percentage of gas
m=[44,28,32,28];//molecular weight of gas
//CALCULATIONS
x1=p(1)/m(1);//individual moles per 100 kg of CO2 mixture
x2=p(2)/m(2);//individual moles per 100 kg of CO mixture
x3=p(3)/m(3);//individual moles per 10... |
cc18a1241227715a80fdb2849dc8bc56e1d824d4 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/flowsheet2.tst | de53492f9509332e9994296c5fb0decd4950883f | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,533 | tst | flowsheet2.tst | # A few additions to flowsheet1
units SI
# set up thermo
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + PROPANE n-BUTANE ISOBUTANE n-PENTANE
# Add a couple of streams
stream1 = Stream.Stream_Material()
stream2 = Stream.Stream_Material()
# Make the stream1 In port current to save typing
cd stream1.In
... |
5506640cc3af045f95b2f965faef92817f6ab273 | 381be712cd10ab88d51ef144b1781befee729ab9 | /Project4/fill/FillAutomatic.tst | 1014314c15abf98b22fce2c00b5cee655e2158b6 | [] | no_license | ryoua/OS | 125846d9c121124f6487ea043db43c22e6aafd79 | 1b6de0cc2fbf2e432a552b9c99b0be63a4fdb6c9 | refs/heads/master | 2020-03-26T21:40:05.884264 | 2018-11-19T12:37:00 | 2018-11-19T12:37:00 | 145,401,691 | 14 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | tst | FillAutomatic.tst | load Fill.hack,
output-file FillAutomatic.out,
compare-to FillAutomatic.cmp,
output-list RAM[16384]%D2.6.2 RAM[17648]%D2.6.2 RAM[18349]%D2.6.2 RAM[19444]%D2.6.2 RAM[20771]%D2.6.2 RAM[21031]%D2.6.2 RAM[22596]%D2.6.2 RAM[23754]%D2.6.2 RAM[24575]%D2.6.2;
set RAM[24576] 0, // the keyboard is untouched
repeat 1000000 {
... |
4568c0a15effd08f98e2338c854bde160955594e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH6/EX6.1/Example6_1.sce | 3b1e298769948b713e9ff7e263b9e13299a743e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example6_1.sce | clc
//Given that
c = 3e8 // speed of light in m/s
v = 0.8* c // velocity of rod
l1 = 1 // let
theta = 60 // anlge between length of rod and speed in degree
//Sample Problem 1 page No. 221
printf("\n # Problem 1 # \n")
l_x = l1 * cos(theta * %pi /180) * sqrt (1-(v /c)^2)
l_y = l1 * sin(theta * %pi /180)
l2 = ... |
9a60340a46c14e1e28d4a9fac7b2966b9363d0ac | b73e9d989ebb6c74535238e10eede063a5d7e66b | /assignment1_part1b.sce | 824e2d8fe6a2227672fdf20af6b4946ee4d410d3 | [] | 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 | 1,210 | sce | assignment1_part1b.sce | // Assigment 1 Computational Methods for compressible flow
//--------------------------------------------------------//
// January 17-01-2017
// Explicit Forward Time Central Space scheme (FTSC) for solving PDEs
// Author: Partha Surve (SC14B036, Aerospace Engineering, IIST)
clc;
clear;
clf;
//=======================... |
9a041569e5e9462329ca8903181cc8b9577c590e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH34/EX34.1/34_1.sce | e8fa6cd9db8d767c4ddfe19bce95bcc5e1c4ec5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 34_1.sce | clear//
//Variables
R = 100.0 * 10**3 //Resistance (in ohm)
C = 0.4 * 10**-6 //Capacitance (in Farad)
n = 0.57 //Ratio of peak-peak voltage to the supply voltage
//Calculation
f = 1 / (2.3 * R * C * log... |
df75a1ec67e881c4c8e73cf4a4c6534c637215c9 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/VHDLgeneration/write_configuration.sci | d53ad818b47a56ed31917708e1a290ae2f3c0e4f | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,308 | sci | write_configuration.sci | //Function to write the configuration in a VHD file
//to implement the designed regulator
function [status]=write_configuration(NbitsADC,NbitsPWM,NresetPWM,n_clk_PID,n_clk_ADC,Vref_coded,Kp_r,Ki_r,Kd_r,up,up_r,ui,ud,ud_r,err,upd,upid,wi,wi_r)
// open a file as text with write property
[fd_w,status] = mopen('PID_conf.v... |
b206dc2bbd6654577ea5a9f25d410143c7125076 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/xdess/gainplot.sci | 65e5a08cb2c9b1a43d452c3fd89024c8a0166d64 | [
"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 | 3,342 | sci | gainplot.sci | function []=gainplot(sl,fmin,fmax,pas,comments)
//!
// Copyright INRIA
[lhs,rhs]=argn(0);
dom='c';
//---------------------
pas_def='auto' // default
//
noxtitle=%f;
ilf=0
flag=type(sl);
if flag==15 then flag=16;end
select flag
case 16 then // sl,fmin,fmax [,pas] [,comments]
typ=sl(1);typ=typ(1);
if typ<>'lss'&typ<... |
a984c9e7eecac713ee8fad853dcf388354d1f05e | 3dfde5edd2a32028f4eb7cf329c7f784043fa6c0 | /color_transform.sci | 0ed879792cecbf9b601316dfa699033f590db136 | [] | no_license | Chadys/mini_toshop | b26fb5f94c77c70e82e167c8a201a92a67d731a6 | a3f0a49f669a5a3b0b3afd952b5a44383ee2a7d0 | refs/heads/master | 2021-01-18T20:19:43.794349 | 2017-04-13T14:14:44 | 2017-04-13T14:14:44 | 86,955,863 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,515 | sci | color_transform.sci | function newimg = rvb2nb(img)
// conversion d'une image en noir et blanc
r = img(:,:,1)
g = img(:,:,2)
b = img(:,:,3)
newimg = imlincomb(0.299,r,0.587,g,0.114,b)
endfunction
function newimg = negative(img)
// Négatif d'une image
newimg = 255-img
endfunction
function newimg = brightness(img, shift)
// chan... |
ad9a6a8a521f54431a0a84264606bc6d3cd6a4dc | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.15_16.tst | ab770cb8637f8f6131c680321aace080e8b736f0 | [] | 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 | 522,856 | tst | 5.15_16.tst | 15 191:1 329:1 1866:1 2747:1 3339:1 3466:1 3629:1 3824:1 4133:1 4390:1 5478:1 5599:1 7068:1 7086:1 7911:1 8019:1 8448:1 8601:1 9403:1 9708:2 10210:1 10274:2 11757:2 12536:1 12790:1 13098:1 13216:1 13875:1 14108:1 14230:1 14237:1 14250:1 16079:1 16796:2 17278:1 18479:1 18517:1 18670:1 18821:1 18962:1 18968:1 19028:1 197... |
32bb707090cf12ff4213fb1c7521c2c343fbfae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH7/EX7.5/Ex7_5.sce | a9e344f0c3525751e0f26e22438b037f642bcaad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,140 | sce | Ex7_5.sce | //Variable declaration:
TC = 27.0 //Inside temperature of walls (°C)
TH = 68.7 //Outside temperature of walls (°C)
LC = 6*0.0254 //Thickness of concrete (m)
LB = 8*0.0254 //Thickness of cork-board (m)
LW = 1*0.0254 //Thickness of wood (m)
kC ... |
04a4371e4b190dd8c4f8d8d73873555e10afeb14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH6/EX6.3/Ex6_3.sce | a55420ed842bb0bd6d1cc01de0e21cc9ab6bc72b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | Ex6_3.sce | //Calculate the Maximum Electrical work that can be obtained from CH4(g)+2O2(g)=CO2(g)+2H2O(l)
//Example 6.3
clc;
clear;
delrH=-890.3; //change in Enthalp in kJ mol^-1
delrS=-242.8; //Change in Entropy in J K^-1
T=25+273; //Temperature in K
delrG=delrH-(T*delrS/1000); //Change in Gibbs energy i... |
6ddfaf18fdab1fbc0a12b215071e06ef7f8260e4 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_autorun.SCI | 445d8eec0911b542d5423c613d7fc8d11b7a752a | [
"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 | UTF-8 | Scilab | false | false | 217 | sci | _autorun.SCI | ExecuteScript(ScriptDir+"\_menu.sci");
#ExecuteScript(ScriptDir+"\02_User Menu.sci");
#ExecuteScript(ScriptDir+"\Astronomy\Solar System.sci");
#ExecuteScript(ScriptDir+"\Astronomy\04_Saturnus\Saturnus + Moons.sci");
|
751f48fab03882c1fe638bd270b5ffd51420f16b | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH8/EX8.5/example85.sce | 9d058fe454e26bd7dcd9b8a3e0bd28c37cfa4a3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | sce | example85.sce | //Example 8.5
//Find the DFT of the following sequence
clc;
x=[0.2,0.2,0.2];
n=-1:1;
X=fft(x,-1);
disp(X,'X[k]='); |
2afe7c22aef4d09b09b486c3ee5d144f94085d63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3487/CH1/EX1.4/Ex1_4.sce | 6d8b71e404b07782b05a1e2799deaa9746184783 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Ex1_4.sce | //Chapter 1,Example 1.4 Page 53
// Determine (pd)min Vbmin
clc
clear
A = 12
B = 365
e = 2.718
ghama = 0.02
K = 51
pd = (e/A)*log(1+(1/ghama))
Vbmin = (B/A)*e*log(K)
printf (" (pd)min = %f Vbmin = %f Volts",pd,Vbmin)
//Answers may vary due to round of error
|
0c7357f5788a16fdde3c49fe05857ea4225c1714 | e806e966b06a53388fb300d89534354b222c2cad | /macros/approxpolyDP.sci | 616febe5bf177c63323e50bdec6d006fdefd12e3 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sci | approxpolyDP.sci | function output_curve = approxpolyDP(input_curve, epsilon, closed)
output_curve = opencv_approxpolyDP(input_curve, epsilon, closed)
endfunction
|
e6860d59b128e4548fb1a3aeb4c608c50f698103 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH3/EX3.5/Ex3_5.sce | f3a104e27bb6701fa8c8d3ad67d3fe0f99f579c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,322 | sce | Ex3_5.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc.,USA,pp 436.
//Chapter-3 Ex3.5 Pg No. 104
//Title: Rate Equation to fit Initial Rate data
//==========================================================================================================
clear
clc
clf()
function [coefs]=regress(x,y)
coe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.