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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0cf5fce643791104323a5501a7b28876b336ca5d | d9612cedad2cc7e72324ef98b63e914d2b9580b3 | /Lab 3/16BIT011scilabscript.sce | 9bb5c6358128657fdb30154823047b66fa432ece | [] | no_license | DSheth97/Artificial-Intelligence | 1a71c2d43e1f8565cd4a2c902eb6c4be47323df2 | 3ee8c9943db653ae7cd21f6a5cdf16d6c6515bff | refs/heads/master | 2020-06-02T20:22:48.705866 | 2019-07-15T14:32:31 | 2019-07-15T14:32:31 | 191,298,532 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 847 | sce | 16BIT011scilabscript.sce | //creating the function of rosenbrock function
function y= f(x)
y=(100*((x(2)-(x(1)^2)))^2)+((1-x(1))^2); //eq of rosenbrock function
endfunction
//y=(100*((x2-(x1^2)))^2)+((1-x1)^2);
function a=g(x1,y1)
a=f([x1 y1]);
endfunction
x1=linspace(-2,15,200);
x2=linspace(-2,15,200);
//feval(x,y,f)returns th... |
fea11aa213fa30b4ae45ccd10b9483b9d5800e32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH14/EX14.3.a/14_3_data.sci | b48789eaebf2d340b99bd4129e9802fabb1c5f63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sci | 14_3_data.sci | // Aim:Refer Example 14-3 for Problem Description
// Given:
// air flow-rate:
Q=270; //scfm
// pressure at which compressor delivers air:
p_out=100; //psig
// overall efficiency of compressor:
eff_o=75; //%
// pressure at which compressor delivers air taking friction in account:
p_out1=115; //psig
// efficiency of elec... |
9d17d6acd340558f6bd74553df6e34084c047044 | dd1ecbd8dc9f2817544517bd6d33ef7c0fffccde | /projects/pp11/DivideTime.tst | 176a0d106780df99324ffaf0ecf6b6753090e1ff | [] | no_license | cujun/Nand2Tetris | b32254a2756e548832edfe6af535d24ac683226e | f745b58858328dc407e6770704a6ee9601079f0a | refs/heads/master | 2021-01-22T00:09:30.350789 | 2017-12-20T07:27:53 | 2017-12-20T07:27:53 | 102,185,045 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,116 | tst | DivideTime.tst | // Measure running time of Divide.asm
// Requirement: set R4 to 1, just before INFINITE_LOOP(end of program)
load DivideTime.asm,
output-file DivideTime.out,
output-list RAM[0]%D1.6.1 RAM[1]%D1.6.1 RAM[2]%D1.6.1 RAM[3]%D1.6.1 time%S1.5.1;
set PC 0,
set RAM[0] 17,
set RAM[1] 3,
set RAM[2] -1;
set RAM[3] -1;
set RAM[4]... |
bcdf6a478f202c703da4ad213022c6465e55faa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.14/Ch01Ex14.sci | fcf1fecce7f8d7c7aeed896e4380b6ba5f4f1f03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sci | Ch01Ex14.sci | // Scilab Code Ex1.14 Speed of an electron for an equivalent proton mass: Pg: 25 (2008)
c = 3e+08; // Speed of light, m/s
m0 = 1; // For convenience, rest mass of an electron is assumed to be unity
m = 2000*m0; // Rest mass of a proton, units
// As m = m0/sqrt(1 - (v/c)^2), solving for v
v = sqrt(1 - (m0/... |
5a9923767d8626b4bcb745b6cbe3878e50deb486 | afd96675ead32880ce7928ad141c8e12ac66b141 | /firstblock/scilabcompfn/my_mean.sci | 330b5b89b1984a32feb7daed8cba534ef7dde539 | [] | no_license | KWMalik/dspblock | a26c722c604e3db33734fb94f42dbcfe8b9b28d6 | 949c3411a292460c246cd52c0846f01c63e9c79d | refs/heads/master | 2020-12-01T01:15:46.197082 | 2012-05-22T10:01:12 | 2012-05-22T10:01:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,177 | sci | my_mean.sci | // ====================================================================
// Template toolbox_skeleton
// This file is released under the 3-clause BSD license. See COPYING-BSD.
// ====================================================================
//
//
function block = my_mean(block, flag)
if flag == 1 then
... |
39009ca3222c5eb8ab0d75fadbcd3781bff5ea2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch12_6.sce | 039e4f53ca83f1f2c08b2b8cebba531bb0684977 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,078 | sce | ch12_6.sce | clc
disp("Example 12.6")
printf("\n")
printf("Given")
disp("The system CBA is WYE connected")
disp("Maximum line voltage is 150V")
disp("The three impedances are 6(0 deg),6(30 deg),5(45 deg)")
ZAmag=6;ZAph=0;
ZBmag=6;ZBph=30;
ZCmag=5;ZCph=45;
//Let maximum line voltage is Vmax
Vmax=150
//Let the line to n... |
46bb6656a5ac063315e73ad3a8a58db149167e53 | d0ae33963d74821bd5431610a631245d4d389c10 | /lab03/lab3.sci | 21a0f4e924c2c314db42225d30977163032ab4ca | [] | no_license | alexandrempierre/ala | 09de761c6a7e84445fb28e1eae06f3911dfa3284 | 2f9b6e9f57954d29a670167aadd8baa63796be09 | refs/heads/master | 2016-08-12T06:39:39.116391 | 2016-01-29T14:31:21 | 2016-01-29T14:31:21 | 49,913,312 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,221 | sci | lab3.sci | // Pergunta 1
//
// Que o pivô (a1) é diferente de zero
//
// Pergunta 2
//
// c = - aij/ajj, porque esse escalar multiplicado pela linha j e o
// resultado somado à linha i, zera aij que é imediatamente anterior à diagonal
// principal e é o primeiro elemento não-nulo da linha i
//
//
//
//
function [E] = elementar(t... |
071ea578a1140f96bc8c7038e8b5b6b5af1d8148 | b24d354cfcd174c92760535d8b71e22ced005d81 | /DSP functions/tf2ca/test_1.sce | db4fc995260bae4ccdb1cabbcfc75c2f12c3bfd6 | [] | no_license | shreniknambiar/FOSSEE-Signal-Processing-Toolbox | 57ad8e2a71d64f95c4ccfd131e00095cf2b9c6f8 | 143cf61eff31240870dc0c4f61e32818a4482365 | refs/heads/master | 2021-01-01T18:25:34.435606 | 2017-07-25T18:23:47 | 2017-07-25T18:23:47 | 98,334,322 | 0 | 0 | null | 2017-07-25T17:48:00 | 2017-07-25T17:47:59 | null | UTF-8 | Scilab | false | false | 198 | sce | test_1.sce | // Test # 1 : No Input Arguments
exec('./tf2ca.sci',-1);
[d1,d2,b]=tf2ca();
//!--error 10000
//Only 2 input arguments allowed
//at line 37 of function tf2ca called by :
//[d1,d2,b]=tf2ca();
|
604cd21ecf8514e0b729c6702293b35e6446957b | e0c1e7e8cb7074e354e2baf085ed4c6d77ca157a | /TAREAS/tercer tarea/primera.sce | eab82ce5da267debe6f29863a92265440407c7ba | [] | no_license | solanosandoval/SOLANO.SANDOVAL.JORGE.ALEJANDRO | 00a9ff678605cbb2665100f9c57b6940e54ce97c | fd34afd8c8750a70b081475e06858e2e7092a1e2 | refs/heads/master | 2020-04-17T00:28:35.687396 | 2019-04-11T13:49:11 | 2019-04-11T13:49:11 | 166,051,105 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,244 | sce | primera.sce | --> grados1=70
grados1 =
70.
--> grados2=30
grados2 =
30.
--> grados3=90
grados3 =
90.
--> radianes1=grados1*%pi/180
radianes1 =
1.2217305
--> radianes2=grados2*%pi/180
radianes2 =
0.5235988
--> radianes3=grados3*%pi/180
radianes3 =
1.... |
1b959dc6f852bb8ab9c783208245e62392b2ab4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH3/EX3.2/3_2.sce | 4675465f7a5714828660564e21af91f9568681a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 3_2.sce | clear//
//Variables
V = 1.5 //Voltage (in Volts)
E =7.5 //Energy produced (in Joules)
//Calculation
Q = E/V //Charge separated ( in Coulomb )
//Result
printf("\n The Amount of charge separated by the battery is %0.3f C.",Q)
|
ab28acf7baf1cacd9007e1928b3e63354a85bc5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH6/EX6.1/1.sce | 6508af5d6a157f2aab704c65641a7a3a64c6fb9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1.sce |
//Variable declaration
N=3*10**28; //number of atoms(per m**3)
alpha_e=10**-40; //electronic polarizability(F m**2)
epsilon0=8.85*10**-12;
//Calculation
epsilonr=(alpha_e*N/epsilon0)+1; //dielectric constant of material
//Result
printf('dielectric constant of material is %0.3f \n',(eps... |
3a26170b75aee5439dac87c21d23354adb6d0b07 | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/applymap.sci | 4f05f76700d1818ef45e6340e439541111bd7962 | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 676 | sci | applymap.sci | function applymap()
// Apply a function to a Dataframe elementwise.
//
// Syntax
// dfr.applymap(input_string)
//
// Parameters
// input_string : String containing the function to be passed. Scilab functions are not supported as of now.
// // For additional information on parameters, see... |
8c42b8a02e911fb6e823351dd22aa804401858f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH4/EX4.9/4_9.sce | 44855874232a5adcb039e422ceaeafb80f3e0b9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_9.sce |
clc
//initialisation of variables
H1= 9 //ft
A= 2 //ft^2
H2= 4 //ft
d= 2.25 //in
t= 60 //sec
g= 32.2 //ft/sec^2
//CALCULATIONS
a= (d/12)^2
Cd= (A*H2*(H2-A))/(t*a*sqrt(2*g))
//RESULTS
printf ('coefficient of dicharge = %.3f ',a)
//ANSWER GIVEN IN THE TEXTBBOK IS WRONG..VERIFIED WITH CALCULATOR
|
9e0a1e1eba3b847aab2696b259951d24ea12d01f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH24/EX24.13/24Ex13.sce | 35be8c2eaf4899b4bb41bb73c1427888c5b238e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | 24Ex13.sce | //Chapter 24 Ex 13
clc;
clear;
close;
inc=3; dec=4;
x=poly(0,'x');
y=(x-7); //from given condition 1
y=(3*x-12)/4; //from given condition 2
for x=1:99
if (x-7)==((3*x-12)/4) then
break;
end
end
y=x-7;
area=2*(x+y);
mprintf("The perimeter of the rectangle is %d cm.",area); |
fddd8290466550c47470fafb59e1db12a7e54ea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH7/EX7.3/EXAMPLE7_3.SCE | d26814b3a50ef49ebaad3b00a71d89225e429a03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,038 | sce | EXAMPLE7_3.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 7
//SAMPLING THEORY AND PULSE MODULATION
clear all;
clc;
printf("EXAMPLE 7.13(PAGENO 326)");
//given
//x(t) = 8*cos(200*%pi*t)
f= 100//highest frequency component of continuous time signal in hertz
f_s2 = 400//sampling frequency in hertz for... |
6bdf07dee034de4b878215464584235421b89567 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH14/EX14.5/14_5.sce | 08e55884a0622ad69b134caf81eec65e49b89a76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,129 | sce | 14_5.sce | clc
//Initialization of variables
hc=73.5
hb=26.28
hd=91.58
hc2=190.7
hd2=244.3
hb2=44.4
m1=1 //lbm
m2=0.461 //lbm
hc1=73.5
hd1=83.35
hc2=197.58
hd2=224
hb1=12.55
//Calculations
w1=hc-hd
qa1=hc-hb
cop1=abs(qa1/(w1))
hp1=4.71/cop1
w2=hc2-hd2
qa2=hc2-hb2
cop2=abs(qa2/(w2))
hp2=4.71/cop2
qa3=m1*(hc... |
977927b4d2899683931c60d368049686747ab0f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH13/EX13.5/Ex13_5.sce | b173ca86e0e0ce6163e955e88ca7ecb0525a8b79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | Ex13_5.sce | clc;
//e.g 13.5
N=150;
mur=3540;
mu0=4*%pi*10**-7;
l=0.05;
A=5*10**-4;
L=(mur*mu0*A*N*N)/l;
disp('H',L*1,"L=");
|
37e3775e1130237473a838bb1cfbf264e93f54a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH5/EX5.6/Ex5_6.sce | 3d5d7308e9cd7b7574b809038ff80773c2449ff6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Ex5_6.sce | clc
//initialisation of variables
m=27*10^-3//N.s/m^2
sg=0.90
m1=27//cp
v1=5.6*10^-4//lbf.sec/ft^2
v2=2.5*10^-2//m
y=9802//N/m^3
g=9.8//m/s^2
Nr=4000
Nr1=2000
//CALCULATIONS
P=(y*sg)/g//N.s^2/m^4
V1=(Nr*m)/(v2*P)//m/s
V2=(Nr1*m)/(v2*P)//m/s
//RESULTS
printf('The critical velocity range is=% f m/s',V2)
|
266736292c6b4e5b62201a4c35520c661530010e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH14/EX14.1/Ex14_1.sce | ece91e44955b4778a8aaf2efe2b17dd412ef15ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,066 | sce | Ex14_1.sce | // Problem no 14.1,Page No.325
clc;clear;
close;
b=2 //m //width
FOS=1.5 //Factor of safety
//rho_mason=2.5*rho_w
mu=0.5 //coeffeicient of friction
//Calculations
//Let L=1 m (length of dam)
L=1
//W=b*H*L*rho
//After substituting values and Further simplifying we get
//W=2*H*rho
//Total Pressure
//P=W*H**2*2**-1
... |
808dc70f0e8d5ba77e337efc2a9dbbf96e648576 | b32474ae2727233775f44c71edfe1f10b6a3430f | /Inversa.sce | 623a4067f7e2f5cb148fa766634bda736a2d160b | [] | no_license | lucaslyon96/scilab | 8400b98c25dafa13069dd64bd391c15218323575 | 8fe45fd3bd27ab21490682874f72f9c20c8717e1 | refs/heads/master | 2020-03-18T12:25:20.253687 | 2018-05-24T14:49:08 | 2018-05-24T14:49:08 | 134,725,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,984 | sce | Inversa.sce | function a=inversa(u)
[l,c]=size(u)
np=1 //numero do pivo
if l~=c then
disp("A deve ser quadrada")
a="erro"
else
e(:,:)=0
for i=1:l
e(i,1:l)=u(i,1:l)
end
for i=1:l
e(i,l+i)=1
end
disp("[A | I]=")
disp(e)
for n=1:c // ... |
8af28b6c97fec400d0cc543ca74b7e15f419a316 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/demos/lmitool/fullstate.sci | 259fc97914d45b364d658e7667d6e9e27d551d2b | [
"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 | 1,268 | sci | fullstate.sci | function [X,Y,gama]=fullstate(A,B1,B2,C1,D12,D11)
// Copyright INRIA
// Generated by lmitool on Thu Feb 09 11:30:44 MET 1995
Mbound = 1e3;
abstol = 1e-10;
nu = 10;
maxiters = 100;
reltol = 1e-10;
options=[Mbound,abstol,nu,maxiters,reltol];
///////////DEFINE INITIAL GUESS AND PRELIMINARY CAL... |
c478292d52cb9e733db39201576b60c5e3ab52f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH2/EX2.22/2_22.sce | 802229ad35568c408d5a875aa6f259d7f3f2d438 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,156 | sce | 2_22.sce | //Example 2.22
//Graeffe Method
//Page no. 40
clc;clear;close;
a=[1,-4,5,-2]
k=0;
for k=2:6
for i=1:4
a(k,i)=(-1)^(i-1)*(a(k-1,i))^2
j=1;
while i+j<5 & i+j>2
a(k,i)=a(k,i)+(-1)^(i-j-1)*2*(a(k-1,i-j))*a(k-1,i+j)
break
j=j+1;
end
... |
0692efc95604cfc8860af67464176cfcd98e3457 | 918e8207504f36c7eaf613b62c71e91ad3a33a8a | /2017/educrace_by_lulu/EducRace/DATA/Scenario/EndRaceGrid.sce | 93d2e7cbfc92a73b4965b9efcbd26cb22fea7bea | [] | no_license | lazarusccr/GraphicsContest | b1299eeb74449b8714f126deeb64dc02da285260 | 8dec398588970e958c7f08ab7be32af760acbbd6 | refs/heads/master | 2021-04-29T07:29:46.122593 | 2017-12-28T16:26:51 | 2017-12-28T16:26:51 | 77,950,829 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 88 | sce | EndRaceGrid.sce | Tint 0 0 0 0
TintAlphaChange 100 1 Linear
Wait 1
TintAlphaChange 0 1 Linear
Wait 1
Loop
|
4d311af6eb1fd57b245425d98cc2e4124647d8e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH8/EX8.7/exa_8_7.sce | dd3d3b07e1beaafde98392589e33d1adcdc8be27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | exa_8_7.sce | // Exa 8.7
clc;
clear;
close;
//given data
R1= 150;// in ohm
R2= 68;// in kohm
R2=R2*10^3;// in ohm
Vin= 500;// in mv
V_sat= 14;//in volt
V_pos= R1/(R1+R2)*V_sat;// in volt
V_UT= V_pos;//in volt
// In the same way when output is -14 volts and starts increasing in negative direcition
V_sat=-14;//in volt
V... |
ac232378a3f0a0b7c4e248e3d502d6e2b15043eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.27/Ex12_27.sce | f4fbc47615ba8391ec574fcc301adb01d89690c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Ex12_27.sce | //Chapter 12
//page no 494
//given
clc;
clear all;
Voutp=28; //in dB
Pin=1; //in mW
R=800; //in V/W
Vavg=10^(Voutp/20); //in
m=Vavg*sqrt(2)/Pin/R;
printf("\n The modulation depth ,m = %0.1f percent",m*100);
|
5cde20862f62de7922db8e6a5eb7ad63063daf8b | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/ilc.tst | ae71f34669d92049064e5f4682291ab83cf81172 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 851 | tst | ilc.tst | # This test file was generated from offline assembler source
# by bldhtc.rexx 16 Jan 2016 12:11:11
# Treat as object code. That is, modifications will be lost.
# assemble and listing files are provided for information only.
*Testcase ilc
numcpu 1
sysclear
archmode z
r 60=00020000000000000000000000000000
r 70=0... |
884e597051b56450c1f2ecc281554ec70f4a867b | c9e04373e33a2721547c7ae2be20ee84f115be1c | /evaluationData/average.sce | dd671efba01504a0f2b9e2fff0a69a4116a9be85 | [] | no_license | lspxian/junsp | f944ce163267608cb9cdb939a0ac809f724fb396 | ca1571bbc30e6a9a183fa8d675567e169288acf4 | refs/heads/master | 2021-01-23T14:10:34.141815 | 2017-10-06T17:03:10 | 2017-10-06T17:03:10 | 34,068,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | average.sce | figure();
mapped= read("MappedRevenue.txt",-1,2);
time = mapped(20:1500,$-1);
average= mapped(20:1500,$) ./ time;
plot2d(time,average);
|
84c1208119021aff5cc77330bcbfa62c900e938c | 48699abe95afd113abb8b91b4c8f6ed5ef51fe5d | /examples/fuzzy_invp/fuzzy_invp.tst | 880d2a925bb529a321032f11d372198480eaea33 | [] | no_license | shangfute/CPFuzz | 9e38d2ad568e67c914c50fde53cd7546aae12f81 | 54e141faed5ffe5b20b255e33b78b2e664b79739 | refs/heads/master | 2022-09-24T01:19:21.810655 | 2020-06-08T17:35:48 | 2020-06-08T17:35:48 | 270,758,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,338 | tst | fuzzy_invp.tst | delta_t = 0.01
plant_pvt_init_data = None
# ideal X0
# initial_set = [[-0.1, -0.1, 0.0], [0.1, 0.1, 0.0]]
# hardest
#error_set = [[-1., -0.6, 5.40], [1., 0.6, 5.45]]
# smaller X0
#initial_set = [[-0., -0., 0.0], [0.1, 0.1, 0.0]]
#error_set = [????]
# property: P1 [can make X0 bigger by extending into -ve direction]
... |
354b1e0e2479215efd07a479b8b96eee7388638f | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH4/EX4.17/4_17.sce | 1fe588ab33d98655debf6ea9c7fc86132f4378f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sce | 4_17.sce | //Example No. 4_17
//Pg No. 83
disp('Theoritical Problem')
disp('For Details go to page no. 83') |
d86cdb882c5847aba75d79d67d344750e2614d2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.27/Ch1_1_27.sce | 376aeb5e7a61740359003df62b66b13d9d809a37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | Ch1_1_27.sce | clc
disp("Example 1.27")
printf("\n")
disp("find the forward current in circuit of fig 1.22")
//given
V=9
Vd=0.3
R=3.3*10^3
//current
I=(V-Vd)/R
printf("forward current=%f Ampere",I)
|
4bb383e1620ea2a05f391c5275d1fd959a908682 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.9/Ex34_9.sce | b98e8b1744b276e1deb00ce141412a11b3252ab2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 929 | sce | Ex34_9.sce | // Example 34_9
clc;funcprot(0);
//Given data
L=60;// MW
L_0=0;// Zero load in MW
// I=5*10^6*(8+8*L+0.4L^2)
T_f=20;// Time in hours
T_0=4;// Time in hours
// Calculation
E_g=(T_f*L)+(T_0*0);// Total energy generated by the power plant during 24 hoursbin MWh
I_60=5*10^6*(8+(8*L)+(0.4*L^2))*20;// Input to th... |
b49fcbee9df218cfc843904613e842783e3d5ac8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH18/EX18.5/Ex18_5.sce | 41d17e7eb3b337e43da73890ae8455bbded2984f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex18_5.sce |
clc;
//e.g 18.5
Rb=400*10**3;
Vcc=20;
Rc=2*10**3;
Re=1*10**3;
beta=100;
Ib=Vcc/(Rb+(beta*Re));//saturation current
disp('mA',Ib*10**3,"Ib=");
Ic=beta*Ib;
disp('mA',Ic*10**3,"Ic=");
Vce=Vcc-(Ic*(Rc+Re));//cut-off voltage
disp('V',Vce*1,"Vce=");
|
ce6fd03c7b62f74147f86b45e9baf5bf10c75f54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH2/EX2.11/Ex2_11.sce | e6361c0d1dd1a6e935e1dc65a60cffb5da8c1719 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Ex2_11.sce | //Ex_2_11
clc;
clear;
close;
format('v',6);
//given data :
lg=0.01/100;//m(airgap)
li=39.99/100;//m(mean length)
mur=2000;//relative permeability
mu0=4*%pi*10^-7;//permeability
N=1000;//turns
A=9/10000;//m^2
fi=1;//mWb
S=li/(mu0*mur*A)+lg/(mu0*A);//AT/Wb
I=fi*10^-3*S/N;//A
disp(I,"Current required(A)");... |
dbf23892d1d5b562cc1d296cebb2cd62276ee998 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH8/EX8.9/Chapter8_Example9.sce | 005ca3e923891cef4771709bea4f586efd6b49d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | Chapter8_Example9.sce | clc
clear
//INPUT
t1=400;//inital temperature in K
dv=2;//ratio of volumes final and inital
r=8.31*10^7;//universal gas constant in ergs/kg.K
//CALCULATIONS
w=r*t1*log(2);//work done in expanding isothermally in ergs
//OUTPUT
mprintf('the work done in expanding isothermally is %3.2f ergs',w)
|
c383f42f1b6a6e47e1bb4cab2fd7126b32003701 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH5/EX5.20/5_20.sce | 0e6bebb230b74241491d0fe39f40559875c8ec0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | 5_20.sce | clc
//initialisation of variables
d= 2 //ft
l= 1000 //ft
f= 0.0075
H1= 20 //ft
A1= 100000 //ft^2
A2= 50000 //ft^2
g= 32.2 //ft/sec^2
//CALCULATIONS
h= 2*A1/A2
H2= H1-h
t= 2*A1*A2*sqrt(1.5+(4*f*l/2))*0.47/((A1+A2)*(%pi*d^2/4)*sqrt(2*g))/60
//RESULTS
printf ('Time taken to lower the level of water = %.f mi... |
f94dab9b3ecefb6ad126f4202af9b2e23b778ace | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH22/EX22.1/Ex22_1.sce | bf9d8c1ee905e74264f4cfc98f6df83cdb050c2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex22_1.sce | clc
clear
//Initalization of variables
t1=45+460 //R
th=70+460 //R
t2=-200+460 //R
th2=100+460 //R
//calculations
cp1=t1/(th-t1)
cp2=th/(th-t1)
cp3=t2/(th2-t2)
cp4=th2/(th2-t2)
//results
printf("In case 1, Refrigerator cp = %.1f",cp1)
printf("\n In case 1, Heat pump cp = %.1f",cp2)
printf("\n In case 2, ... |
184fadac7134b5f80722248f538622af9edcc028 | 6e8df5b4cc6a12833566b3b67b0160d1937be025 | /Multimorphic_testing_data_code/code/scilab/coco/scripts/scilab/v2/script_compare_rank.sci | a4885556d00ac57731229f2674efa6036b605da6 | [] | no_license | templep/TSE_MM_test | 2b2cc79b9e6d46a80bf692227f367438adeca3f3 | 4d3c08489c182b77418fc5d4e55377d5b68e8334 | refs/heads/master | 2020-03-22T22:01:12.897309 | 2019-06-13T07:50:42 | 2019-06-13T07:50:42 | 140,728,734 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,754 | sci | script_compare_rank.sci | function data = load_rank(path,filename,score_idx)
//load file
all_data = csvRead(path+filename,",",".","string");
//concatenate name of technique (1st column) to the indexes to retrieve
score_idx = [1, score_idx];
//extract the correct columns for each row of the file
data=all_da... |
e71fef3b6fe442e6248f528945ad22c92a19d658 | 25ec4bae7c1d991a8b4f36a96650a07061417648 | /Exemplos/exemplo03AjusteRGB/verde.sce | 1871f64050894f6dd78ae2a117f063bf218b7873 | [] | no_license | OtacilioNeto/EV3MicroPythonExamples | 716f76e4179d98157577d68b116a33a078aed085 | 037af9585402fe294d3c82d3b7d88cb49bc26bcf | refs/heads/master | 2023-06-08T19:34:49.916922 | 2023-06-02T13:24:10 | 2023-06-02T13:24:10 | 226,492,496 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23,950 | sce | verde.sce | // Red Green Blue Red Green Blue
verde = [
3 20 15 2 14 8;
3 20 15 2 14 8;
3 20 15 2 14 8;
3 20 15 2 14 8;
3 19 15 2 14 8;
3 19 15 2 14 8;
3 19 15 2 14 8;
3 20 15 2 14 8;
3 20 15 2 14 8;
3 20 15 2 14 8;
3 20 15 2 14 8;
3 20 15 2 14 8;
3 20 15 2 14 8;
3 19 15 2 14 8;
3 19 15 2 14 8;
3 19 15 2 14 8;
3 19 15 2 14 8;
3 19 ... |
a4e372988208d77058e62ebe4998b1745291c360 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH7/EX7.10/7_10.sce | 79f22c8deea54ba0e6daf2ceee6530f3c04e0d11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | 7_10.sce | clc
//initialisation of variables
clear
p2= 67.2 //lbf/in^2
p1= 63 //lbf/in62
r= 1.4
n= 0.6
T1= 870 //R
ma1= 0.8 //ft/sec
//CALCULATIONS
dt= (p2/p1)^((r-1)/r)-1
dt1= dt/n
T2= T1*(1+dt1)
Ts1= T1*(1+0.5*(r-1)*ma1^2)
ps1= p1*(1+0.5*(r-1)*ma1^2)^(r/(r-1))
ps2= p2*(Ts1/T2)^(r/(r-1))
dp= ps1-ps2
//RESULTS
... |
5460c436a8c8e7c62170e8f1837f51f09218ff23 | c34cb6f5448d3c4a59e4409e34656916c7b5cac0 | /Average(Structure).sce | 64b993e2c32413ee3e3af8dab30f1fd7ecb648dc | [] | no_license | ans-sharma/scilab | b2b0af0d038998b81943ff6fdf06d6e1c434b23d | e8b8a43d0d1d8bed3112abd985ec07aa495dd16d | refs/heads/master | 2022-12-15T03:39:00.434615 | 2020-09-09T21:37:32 | 2020-09-09T21:37:32 | 291,638,062 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | Average(Structure).sce | a.name = "Anshuman"
a.age = 20
a.marks = 299
b.name = "Unknown"
b.age = 20
b.marks = 150
c.name = "Unknown"
c.age = 20
c.marks = 200
disp((a.marks+b.marks+c.marks)/3)
|
41887fbfe93197f4ae8c9a203cf9f62f3921e1b9 | ab0891df3df62a84b3bc60ee178e2d84b0d692c5 | /Geometry_Processing_Toolbox/macros/reorient_facets.sci | 59fbdc4a2ecb16dd5e436aef0c2d101efd8d1471 | [
"MIT"
] | permissive | sidgairo18/SCILAB_MEX_TOOLBOX | 6b36c8b5dd21bb15d942a283ebfe2366a7ac02ec | fc679f6d226c03b992b632823a5e57abea05cefa | refs/heads/master | 2020-03-19T04:03:55.721880 | 2018-08-14T11:22:24 | 2018-08-14T11:22:24 | 135,791,680 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sci | reorient_facets.sci | % REORIENT_FACETS Reorient faces of a triangle mesh (V,F) so that the left-hand
% rule normal of each face (consistently) points outward.
%
% [FF,I] = reorient_facets(V,F)
% [FF,I] = reorient_facets(V,F,'ParameterName',ParameterValue, ...)
%
% Inputs:
% V #V by 3 list of vertex positions
% F #F by 3 list of trian... |
40a68e0321b0f2dc31f8236de2864bf15a196f35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.57/ch7_57.sci | b971e52e0d87a33555b0005f2615362bc8645b90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sci | ch7_57.sci | //to calculate m/c eff as a generator and max eff when generating and motoring.
clc;
Pop=10*1000;
Vt=250;
Ra=.8;
Rf=275;
Ia=3.91;
Psh=Vt^2/Rf;
Prot=Vt*Ia-Ia^2*Ra;disp(Prot,'rotational loss(W)');
I1=Pop/Vt;
If=Vt/Rf;
Ia=I1+If;
Ploss=Prot+Psh+Ia^2*Ra;
Eff_gen=(1-Ploss/(Ploss+Pop))*100;disp(Eff_gen,'gener... |
ba5575763e0f65ea37890913628ddf7f3c5505a6 | e20b143bd16a6a60520c5d3f6c30af9356cc0aa2 | /macros/update_compared.sci | 516b5ae0f94d0945e55da080d010c685097aaf70 | [] | no_license | slevin48/covid | 2c4806c1d1d91b2196f3086e2af7c69c420fb4db | c482d908ae58b82558f338b63020845cefc43742 | refs/heads/master | 2022-05-28T10:40:56.271120 | 2020-04-29T16:08:27 | 2020-04-29T16:08:27 | 258,529,494 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sci | update_compared.sci | function update_compared()
a=get("cases_plot_frame");
[header, data] = importdata(covid_getpath()+"\data\time_series_covid19_confirmed_global.csv");
confirmed = strtod(data(:,5:$));
country = data(:,2);
// state = data(:,1);
c = get("country");
my = confirmed(country == c.string(c.value),:)... |
0b9e9685a9d700a5867c0f748ba0b7d828fdabbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH1/EX1.6/ex_1_6.sce | b043fb05c60a7f1881963100c477a5c3ab8aa7b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | ex_1_6.sce | //Example 1.6 // fringe width
clc;
//given data :
a=0.10;// distance between source & prism in m
c=1;// distance between prism & screen in m
u=1.5;//referactive index of bi-prism
al=%pi/180;//angle in radian
d=2*a*(u-1)*al;// distance between slits in m
w=5900D-10;// wavelength in m
D=a+c;//distance between so... |
1b0d81cf7e1d0a851cf5105990afae2f57046057 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH1/EX1.24/1_24.sce | 6c1bf33cd9c4506ff587417c7fe845c957dc05c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | 1_24.sce | //clc();
clear;
//To determine the angular seperation
lambda=600*10^(-9); //wavelength of light in metres
a=1*10^(-6); //slit width in metres
n=1;
theta=asind((n*lambda)/a);
printf("the angular seperation between the first order minima and central maxima of either side is %f degrees",t... |
d3802c2294d723c51f009f28bfbeb102cca8bfa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH16/EX16.1/Ex16_1.sce | 999e34ffaf95bed6c798f46c870e157e3ba2feb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | Ex16_1.sce | clc;
//e.g 16.1
V1=230;
//a=(N2/N1)
b=(1/10);
V2=V1*b;
disp('V',V2*1,"V2=");
Vm=sqrt(2)*V2;
disp('V',Vm*1,"Vm=");
Vdc=0.318*Vm;
disp('V',Vdc*1,"Vdc=");
PIV=Vm;
disp('V',PIV*1,"PIV=");
|
073e363de202d53b5f3dea265d2ad7f1072258f7 | 377a111fb7585caf110377625ad0e261a44e93ed | /herbie/writting/publish/codes/lockwood/aim_optimization/Lockwood/PATO_XY/tst/input.tst | 6419add57304b43a1ae83bd2fc48700f37effc22 | [] | no_license | gasduster99/theses | ba385499ea0a502b9067c243f7100d82ff1ef4ce | 9c5f8b5d7564292e2e36547ed8d5563a8639f158 | refs/heads/master | 2023-08-25T18:14:09.741032 | 2023-08-22T05:33:06 | 2023-08-22T05:33:06 | 217,375,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | tst | input.tst | 18
353
1003
13526
2472
777
600
2670
3340
4430
5130
4770
4500
1520
1000
5020
3715
4170
4585
|
1d09ea89650776b6aa2afaf5f4f75454145c5ac6 | 8409f47affbce56ae5b00d9f697b52364fdcec7e | /boolean-logic/Or8Way.tst | 954b161c33ec77443b9bb750fa6e56fb34dd7bf4 | [] | no_license | oleiade/Bam | 1609eca5f6247c10cef17375704547282537d1e0 | 84fcab3751b5b344afacdd3647e8071616f9f0b6 | refs/heads/master | 2021-01-19T22:33:50.345657 | 2013-10-26T16:05:22 | 2013-10-26T16:05:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | tst | Or8Way.tst | load Or8Way.hdl,
output-file Or8Way.out,
output-list in%B1.8.1 out%B1.3.1;
set in %B00000000,
eval,
output;
set in %B11111111,
eval,
output;
set in %B00000001,
eval,
output;
|
d7427f0e92f49e746c60155f85d6fa7cee1435e0 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_param_sim.sci | d42e55f668fe3a600323b00c6430442486ca0e6e | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 1,174 | sci | mdaq_param_sim.sci | function block=mdaq_param_sim(block,flag)
select flag
case -5 // Error
case 0 // Derivative State Update
case 1 // Output Update
global %microdaq;
if %microdaq.dsp_loaded & %microdaq.private.has_mdaq_param_sim then
if %microdaq.private.connection_id > -1 then
... |
a3b06d87c6e755528e3e6a4a6c7e8c12d589ef5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH16/EX16.4/ex16_4.sce | e7ac6dd917d177cf794cea7ab4f5f85db0ad77c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | ex16_4.sce | clc;clear;
//Example 16.4
//given data
mo=9.1*10^-31;//mass of electron in kg
m=1.67*10^-27;//mass of proton in kg
c=3*10^8;//speed of light in m/s
E=1;//given energy in MeV
//calculations
Eo=mo*c^2/(1.6*10^-13);
mbymo=1+(E/Eo);
disp(mbymo,'Ratio for electron');
Eo=m*c^2/(1.6*10^-13);
mbymo=1+(E/Eo);
d... |
be34dee1833b82cc21776296fd609cd8f73ee6c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.24/1_24.sce | 4c51153cd6ea74046fec899d3cbad2a9a14d9615 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 1_24.sce | //Find the number of ampere turns
clc;
clear;
l=30*(10^-2); // Length of an iron path
lag=2*(10^-3);//Length of air gap
B=0.8; // Flux density
H=700;
m0=(4*%pi)*(10^-7);
mr=B/(m0*H);
A=poly(0,'A');//Area of the iron path
R1=l/(m0*mr*A);
R2=lag/(m0*A);
R=R1+R2;
phi=B*A;//Flux
NI=phi*R;
//To ... |
68d72be98a11b82050cd9f1df17a0d0349486402 | 416d7bf3844e7344d69d8e39ef500daf02ef1a78 | /Sprint_2_Test/test_float/short/case_4.tst | 29bdaaf4bf2bd0db566eb22bd2269399e6c084ed | [] | no_license | jcmanke/SoftEng | 760496ccb8524250557f24ed6e448e9e1ff1f75e | cc5b63747960f25bef316b0de798be5a2fb514c6 | refs/heads/master | 2021-05-01T18:40:34.492776 | 2014-04-30T17:16:06 | 2014-04-30T17:16:06 | 16,333,792 | 0 | 0 | null | 2014-02-06T19:19:45 | 2014-01-29T02:57:43 | null | UTF-8 | Scilab | false | false | 10 | tst | case_4.tst | 12.6
12.8
|
9398098f661ac2f18ac4f0af1b66ca62d7cc5251 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH4/EX4.79/ex4_79.sce | 0ad640f32dbe47fadedecc9625dbc25e6ac97736 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | ex4_79.sce | //AC Circuits : example 4.79 :(pg 4.64)
R=10;
L=0.01;
C=100*10^-6;
f0=(1/(2*%pi*sqrt(L*C)));
BW=(R/(2*%pi*L));
f1=f0-(BW/2);
f2=f0+(BW/2);
printf("\nR=10 Ohm \nL=0.01H \nC=100uF");
printf("\nf0=1/2*pi*sqrt(L*C)=%.2f Hz",f0);//resonant frequency
printf("\nBW=R/2*pi*L =%.2f Hz",BW); //bandwidth
printf("\nf1=f0... |
dadba7194912cdf3939899bddb136773bc0045e6 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ea_mvi/~BivLCM-SR-bfas_ea_mvi-PLin-VLin.tst | 3ac1b5e8649671b860cf95dac791f61270839cb0 | [] | 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_ea_mvi-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.413318D+00
... |
226a07826e3e3d85f7f1edf0cd95014a8dd7ffab | c9493527d8fe51406ce7257c57a3db90b61f543e | /ismaxphase.sci | 9cacc8da2af586b1082bfaf010d5db4be2722c04 | [] | no_license | gmode22/Fossee_Ganesh_ee14b083 | a5820f7f76ae8084b74e1f34ad056655e5ea5092 | 5821750a3c2f52142a266acdad86d6839266e718 | refs/heads/master | 2021-01-21T13:57:56.439805 | 2016-05-25T05:19:23 | 2016-05-25T05:19:23 | 54,862,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,345 | sci | ismaxphase.sci | //Name: Ganesh Mode
//Roll no.: ee14b083
// IIT Madras
// Input arguments : 1. [n,d] or sos
// n,d =numerator and denominator of a filter
// sos = second order system array
// with size(sos)=(k,6) where k>=2;
//
... |
a2038e31de40168b3ddd05354952632b22736440 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH16/EX16.1/16_1.sce | fd365308f6c58fc04d1265b04740a15053151489 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | 16_1.sce | clc
//Intitalisation of variables
clear
c= 0.01 //M
T= 25 //C
kw= 1.01*10^-14
ka= 1.75*10^-5
//CALCULATIONS
x= sqrt(kw/(ka*c))
//RESULTS
printf ('Degree of hydrolysis = %.1e ',x)
|
85acd2bbc745878924a277d89dad4bb0331662d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.1/Ex2_1.sce | fd8b8200a8ecda90262ca51c7e024a8f82417882 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Ex2_1.sce | //problem 1 pagenumber 2.86
//given
rf=10*10^3;//ohm
//vo=0.1v1+v2+10v3; 1
//determine r1,r1,r3
r1=rf/0.1;//from 1
r2=rf/1;//from 1
r3=rf/10;//from 1
format(6);
disp('R1 = '+string(r1/10^3)+' Kohm');
disp('R2 = '+string(r2/10^3)+' Kohm');
disp('R3 = '+string(r3/10^3)+' Kohm');
disp('... |
efa590f3f2361f5afb609f268274e15218688912 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/UW80JVR/ATWM1_Localizer_MRI_UW80JVR/ATWM1_Localizer_MRI.sce | ffea566ba9986d0a288366f3b0741b1b5cdf8ebd | [] | 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 | 40,042 | sce | ATWM1_Localizer_MRI.sce | # ATWM1_MRI_Localizer
scenario = "ATWM1_Localizer_MRI";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = false;
active_buttons ... |
9c1a73c2bd47cc9c95032c7f143d1024505529b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH8/EX8.3.a/8_3_data.sci | fdd9b2f078dda2419fd414bfaab36c5843699898 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sci | 8_3_data.sci | // Aim:To compute horsepower across the unloading valve
// Given:
// pump pressure during unloading:
p=25; //psi
// pump flow to the tank:
Q=20; //gpm
|
3393562840733f238f6c043dd6add487e990c685 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH16/EX16.2/16_2.sce | a10bbb279f650b591678ba4f7621e2424f6f479b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,144 | sce | 16_2.sce | clc
//ex16.2
B=1; //magnetic flux density
l=0.3;
V_T=2;
R_A=0.05;
//CASE a
//bar is stationary at t=0
u_ini=0; //initial velocity of bar is 0
e_A=B*l*u_ini; //induced voltage
i_A_ini=(V_T-e_A)/R_A; //initial current
F_ini=B*l*i_A_ini; //initial force on the bar
//steady state condit... |
3ae9225e39aa3dbfb2185c0f794ec93088c8e3cf | 25938fdd57f60ee5725a949bc87d6afd3cc4fe24 | /Practica5/jacobi.sce | 684e40f5a6274163fd38891dd78a7530378af9f5 | [] | no_license | Joaquin98/Metodos | a3df61366647a7c02a81bb0467befdcbbedb9426 | 5b30532431c111ca453f9d6b37ffa377616ba6a5 | refs/heads/master | 2020-04-04T05:13:27.646770 | 2018-12-07T12:25:43 | 2018-12-07T12:25:43 | 155,738,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 888 | sce | jacobi.sce | function y = jacobi(A,b,t)//t tolerancia
x = zeros(1,length(b))
k = 0
delta=t+1
while k<1000 & t<delta
xk=x
for i = 1:length(x)
s = 0
for j = 1:length(x)
// mprintf("%d , %d\n", i ,j)
if ... |
a28b01107bad583ed219f6ddfa65be4630ba42a1 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.2_3.tst | 24b688e25f98d32a127fbc7662acf9b9554f453d | [] | 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 | 3,659 | tst | bow.2_3.tst | 2 14:0.1111111111111111 21:1.0 41:0.5 81:0.2 110:0.5 141:0.5 269:1.0 289:1.0 343:1.0 544:1.0 951:1.0 1226:1.0
2 6:1.0 141:0.5 424:1.0
2 6:3.0 9:1.0 14:0.3333333333333333 16:0.01694915254237288 21:1.0 27:0.125 50:0.17647058823529413 52:1.0 81:0.2 84:0.09090909090909091 90:1.0 91:1.0 126:0.5 268:1.0 286:1.0 289:1.0 357:1... |
b930db5420e4fffb34b2719014f8a9c67eaaa51a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH11/EX11.2/eg11_2.sce | c6f1001d0cfdd594a307480773575821a16bd256 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 817 | sce | eg11_2.sce | clear;
clc;
function [r,i]=d(mag,theta)
r=mag*cosd(theta);
i=mag*sind(theta);
endfunction
previousprot = funcprot(0)
funcprot(0)
//clc();
mag=0.98;
theta=3;
[r,i]=d(mag,theta);
A=complex(r,i);
D=A;
mag=110;
theta=75;
[r,i]=d(mag,theta);
B=complex(r,i);
mag=0.0005;
theta=88;
[... |
2dfe35d18df6636ccc8a4eac33a671922482add6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH9/EX9.4/Ex9_4.sce | c97979d2f8e1cfdc9fd74fad2ce845c7daef6570 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_4.sce | //Example number 9.4, Page number 204
clc;clear;
close;
//Variable declaration
RH=3.66*10**-4; //hall coefficient(m**3/c)
rho=8.93*10**-3; //resistivity(m)
e=1.6*10**-19; //charge(c)
//Calculation
mew=RH/rho; //mobility(m**2/Vs)
n=1/(RH*e); //density of atoms(per m**3)
//Result
printf("mobility... |
1df33b0a1711c616ef4d860faff60aeb5903d23f | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH11/EX11.1/11_1.sce | 61ceebb13c4067a9a93e7e08bd550128976a7f41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | 11_1.sce | //clear//
clc
clear
exec("11.1data.sci");
WAZ1=DAB*CT0*(yAb-yAs)/s;
WAZ2=c*DAB*CT0*log((1-yAs)/(1-yAb))/s;
disp(WAZ1)
disp(WAZ2)
|
2d35a9570580046aa4013d2fec5eec6d05a3d3b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH15/EX15.3/ex15_3.sce | a123fa07904482cc7e39a78a8a0bc1fcd156f0f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex15_3.sce | //Example 15.3
clc;
//Design a 2nd order LPF having a cutoff frequency of 2 kHz
fh=2000; //Cutoff frequency in Hz
C2=3.3*10^-9; //Assumed value of capacitor
C3=C2;
R=invr(2*%pi*fh*C2);
//Assume a std value of R
R=22*10^3;
R2=R;
R3=R;
R1=10000; //Assumed
Rf=.560*R1;
printf('\nAssumed... |
0d096b799cefcaad5e977b1fb38f5866e34b08e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.24/24.sce | 7937a828c280a7a1e8de89785aca4d5ec305d413 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | 24.sce | // problem 1.24
x=30
z=sin(3.142*x/180)
d=1.4
h=3
b=1.5
h1=z+d
a=0.5*h*b
w=9810
p=w*a*h1
h11=((z*z*h*h*h*b)/(36*a*h1))+h1
disp(p,"total pressure on the plate")
disp(h11,"position of centre of pressure")
|
e8eccdc9dca0280926508b042d8bfc9c910152cd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/polar.man.tst | 2d983eda6f7d1f2d659177f5a6abeee27c4de94e | [
"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 | 78 | tst | polar.man.tst | clear;lines(0);
A=rand(5,5);
[Ro,Theta]=polar(A);
norm(A-Ro*expm(%i*Theta),1)
|
478b89ed80fe7b77d627d48671cd8f4362260859 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH10/EX10.13/Example10_13.sce | 5750db240feef3de880db1a4fb97db95109b4276 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | Example10_13.sce | //clear//
//Example10.13:Inverse z tranform ofInFinite duration discrete sequence
//Power Series Method (OR)//Long Division Method
z = %z;
a = 2;
X = ldiv(z,z-a,5)
|
5f6678a151e02e1369e6166b878f6212dbeee2f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH2/EX2.5/Ex2_5.sce | 676d6095afd828467d0d0668100a04eb857edd54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | Ex2_5.sce | //Ex:2.5
clc;
clear;
close;
r=27*(10^3);
printf("Resistor value = %d ohm",r);
printf("\nTolerance = 5 %%");
|
1e274fb0e0e3d74c303678c86897046b576afbbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.39/1_39.sce | e54cdc7edf649a093c1994d839600387c01677f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 961 | sce | 1_39.sce | //To determine the current through all the branches of the given network
clc;
clear;
L=1;
R=1*(10^3);
C=400*(10^-6);
i=2; // 2 cos 50t
w0=1/(sqrt(L*C));
v=i*R; // Voltage across the source
Xl=%i*w0*L; // Inductive reactance
Xc=-%i/(C*w0);// Capacitive reactance
Il=v/Xl; // Inductor current
Ic=v/... |
a0b98a3060d51d472bf4927710e36c7b89781bf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /803/CH7/EX7.1/ex7_1.sce | 8ad0e68be1ee1b8bcf36f2ce4897201009770a65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | ex7_1.sce | clc
D1=127;................................//Array aperture
D2=67;
D3=335;
f1=3*(10^6);..//frequency at 3MHz
f2=30*(10^6);..//frequency at 30MHz
c=3*(10^8);
lambda1=c/f1;
lambda2=c/f2;
R1=2*(D1^3) ./lambda1;
R2=2*(D2^3) ./lambda1;
R3=2*(D3^3) ./lambda1;
R4=2*(D1^3) ./lambda2;
R5=2*(D2^3) ./lambda2;
R6=2*(... |
45e592f9a97b74416f2e01aec6edefe2c88aaa8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH11/EX11.6/Example11_6.sce | a3fbe484f39c8016f5e812680eea79ff5726eaaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Example11_6.sce | //clear//
//Caption: Optical Signal-to-noise ratio (OSNR)
//Example11.6
//page 412
clear;
close;
clc;
Q = 6; //Q factor of 6
OSNR = (1/2)*Q*(Q+sqrt(2));
disp(10*log10(OSNR),'Optical Signal-to-noise ratio in dB OSNR =')
//Result
//Optical Signal-to-noise ratio in dB OSNR = 13.471863
|
80444d242d734aade1262424019a47d046c45644 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.17/2_17.sci | 9261f57f277700462254eac637f2dd77a6f0c0bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sci | 2_17.sci | // 2.17
clc;
strain=-5*10^-6;
Gf=-12.1;
R=120;
dR_nickel=Gf*R*strain;
printf("Change in resistance of nickel = %.3f ohm",dR_nickel)
Gf=2;
R=120;
dR_nicrome=Gf*R*strain;
printf("\nChange in resistance of nicrome = %.3f ohm",dR_nicrome) |
98db2aad0a33d1db9f4b9375f5bdd9c80c1a2b95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.33/Ex4_33.sce | 76b3960a9107325d359befd1c92387908420306b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | Ex4_33.sce |
//Ex4_33
clc;
// Given:
ax0 =1; //assume
tx = 2; //hrs
ty = 1; //hrs
// Solution:
// general equation connecting Ax and Ay is
// Ax(n) = (ky * Ax(0) * (exp(-kx * t) - exp(-ky * t))/ (ky - kx)) + Ay(0) * exp(-ky * t)
ax0 = 1;
ay4 = (ax0 * (0.693/1) * ((1/4)-(1/16)))/((0.693/1)-(0.693/2)) + ax0 * (1/16);
... |
c1de41f22ecd6e722c11fbd9160f050cb595b129 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH2/EX2.6/Ch02Ex06.sce | 120f96083224294203e79a5a98df8938ada8de51 | [] | 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 | 578 | sce | Ch02Ex06.sce | // Scilab code Ex2.6: Pg.79 (2008)
clc; clear;
R = 1.50e+011; // Radius of earth's orbit, m
c = 3e+08; // Velocity of light, m/s
sigma = 1.36e+03; // Solar constant, W/m^2
P = 4*%pi*R^2*(sigma); // Total power radiated by the sun, J/s
t = 1; // Time, sec
// Since P = E/t, solving for E, we get
E... |
f248517f2444567d0997c10330a6d5df2dd74164 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/BIPO/RU62HEJ/ATWM1_Working_Memory_MEG_RU62HEJ_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | e61a80d7e3a21ec428703782d093bb6ae6d89095 | [] | 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,617 | 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... |
0490699e0391b1152e4d777a218c2675c43ff2f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH4/EX4.80/ex4_80.sce | 40b97226f63d6a0cac89284148edec9071524c13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sce | ex4_80.sce | //AC Circuits : example 4.80 :(pg 4.65)
R=10;
L=0.2;
C=40*10^-6;
V=100;
f0=(1/(2*%pi*sqrt(L*C)));
I0=(V/R);
P0=((I0^2)*R);
pf=1;
Vr=(R*I0);
Vl=((2*%pi*f0*L)*I0);
Vc=((1/(2*%pi*f0*C))*I0);
Q=((1/R)*sqrt(L/C));
f1=(f0-(R/(4*%pi*L)));
f2=(f0+(R/(4*%pi*L)));
printf("\nR=10 Ohm \nL=0.2 H \nC=40uF \nV=100 V");... |
88b0234bacb4d5c27783e53e4c3a6ccbe8ba0278 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH9/EX9.2/Ex9_2.sce | 0efa44d7fdc20ac51fe668eaf3ba4218e60d4cc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,167 | sce | Ex9_2.sce | clear; clc;
disp("To use Figure 9.8,with Qf=ΣU^2/delta_Hs=2*g_c*lambda^2*R_H")
disp("The value of R_H can be estimated with equation 8.4.")
disp("Using k=1.3 for steam and suusming ETA_p=0.90 we have ETAad=[1-(p_e/p_i)^(ETAp*(k-1)/k)]/[1-(p_e/p_i)^(k-1)/k]=0.931")
ETA_ad=0.931
ETA_p=0.90
R_H=ETA_ad/ETA_p
printf(" R_H... |
a667286f6762ae80888392eaf01400193a89ab6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH3/EX3.1/Ch03Ex1.sce | 901c670e2800f1239e20facafb7425092b3ddafd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ch03Ex1.sce | // Scilab Code Ex3.1: Page:132 (2011)
clc;clear;
m = 5.32e-26; // Mass of one oxygen molecule, kg
k_B = 1.38e-23; // Boltzmann constant, J/K
T = 200; // Temperature of the system, K
v = 100; // Speed of the oxygen molecules, m/s
dv = 1; // Increase in speed of the oxygen molecules, m/s
P = 4*%pi*(m... |
55e576d7b27ccf68652d37c8d41bee486acebcff | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH12/EX12.7/12_7.sce | ebd1c8f320399c0b6fa5120fb614b2e49371960b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | 12_7.sce |
Vin=2 //Volt
Vosc=2 //Volt
VPD=2 //volt
Ein=0.75
Eosc=0.75
Vd=1
dW=2*%pi*10^7
Km=VPD/(Vin*Vosc)
printf("\nKm=%.1f V^-1",Km)
Kd=0.5*Km*Ein*Eosc
Ko=dW/Vd
//(a)
qd=2*%pi*(11-10)*10^6/(Ko*Kd)
printf("\n(a)qd=%.4f rad = %.4f degree\n",qd,qd*180/%pi)
//(b)
qd=2*%pi*(9-10)*10^6/(Ko*Kd)
printf("\n(b)qd=%... |
608ebebe6c6a4a293de90ffc22485c39003a2672 | bae725b750433ba5d58470784eeb87687023da7e | /sci_gateway/fortran/loader.sce | 67f1ce72ffeec0b4a3144631d30bfa0b3f1219a4 | [
"MIT"
] | permissive | aamadou/IsItChaos | eac61da272b4fb22f83bdceaceb5774385f481e5 | def74ddd5710898f876a9a7d39916e5cc1a8b6b5 | refs/heads/master | 2016-08-04T21:00:17.832904 | 2014-03-24T13:18:39 | 2014-03-24T13:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 927 | sce | loader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
if win64() then
warning(_("This module requires a Windows x86 platform."));
return
end
//
skeleton_... |
d7452855269cc3253d2575b9af3b9be52a69dd81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH5/EX5.13/Ex5_13.sci | 3428231346fbb8cef3c009328917ce065774f00d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sci | Ex5_13.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.13
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(230/(s*(s+2)*(s+10))))//the value of K lies between 0 to 240 .the given transfer function... |
f8a43ae6f80180cd59f571bd42037c50a38b8d95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH12/EX12.1/Ex12_1.sce | d8bf44aa9faadeca505a7b21b8db6a1549280358 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_1.sce |
clc
//initialisation of variables
P=12.5 //mole air
n=47.0 //mole fuel
p1=1//mole air
a=28.95 //mole air
m=114.2//mole fuel
//CALCULATIONS
AF=P+n/p1//mole air/mole fuel
A=AF*a/m//lbm air /lbm fuel
//RESULTS
printf('The theoretical air fuel ratio for the combustion of octane=% f lbm air/mole fuel',A)
|
7ea872c9ea35cf8c76085c071172b4199ce8bcfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH3/EX3.8/ex_3_8.sce | b06a200bcc0132a986ead8ccb7ce9567ca6570f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_3_8.sce | //Example 3.8 // Phase retardation
clc;
clear;
//given data :
Uo=1.5508;//refractive index for O ray
Ue=1.5418;//refractive index for E ray
w=5D-7;// wavelength of light used in m
t=.000032;// thickness of plate in m
p=2*%pi*(Uo-Ue)*t/w;//phase retardation in radian
disp(p,"phase retardation in radian")
|
eb13fddb36b0391701801cd48fc6003725e5289d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH8/EX8.13/Ex8_13.sce | 82928c49327f2bdb638c75d1c6915ffdcdc620d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | Ex8_13.sce | //page 283
//Example 8.13
clc;
clear;
close;
A = rand(2,2);
A(1,:) = A(1,:) + 1; //so b1 is not equal to zero
a = A(1,1);
b = A(1,2);
c = A(2,1);
d = A(2,2);
b1 = A(1,:);
b2 = A(2,:);
disp(A,'A = ');
disp(b1,'b1 = ');
disp(b2,'b2 = ');
disp('Applying the orthogonalization process to b1,b2:');
a1 = [a b... |
a420a2d3e2bd4995222182703f5ff599cae2d4ea | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoCoupler.sci | a060692c0eb969af7b5bd5ac0c61cafd788c9ffa | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,339 | sci | SSSoCoupler.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [Out1,Out2]=SSSoCoupler(In1,In2,Coupling)
// Optical Coupler
//
// Calling Sequence
// [Out1,Out2]=SSSoCoupler(In1,In2,Coupling)
//
// Parameters
// In1 : Optical Input 1
// In2 :... |
a37dab275b484d941770bd401e94e2caea2e4859 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.11/Ch04Ex11.sce | a34d39d996276a94ce0e1fbfb9c9fb7bd0ad59d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | Ch04Ex11.sce | // Scilab code Ex4.11: Pg:148 (2008)
clc;clear;
x0 = 12.34; // Position of zero order fringe, mm
Lambda = 6000; // Wavelength of light, angstrom
Lambda_prime = 5000; // New wavelength of light, angstrom
omega = 0.239; // Fringe width, mm
omega_prime = Lambda_prime/Lambda*omega; // New fringe width,... |
0fb6c1afc2c578a466371b2cf05bb8bca42d9f87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH2/EX2.5/ex2_5.sce | 44894fe1241a4e9a90fd722d0a2a28606faf740c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | ex2_5.sce | // Example 2.5, page no-44
clear
clc
Beta=100
R=20000
Vcc=5
Vbe=0.6
Iref=(Vcc-Vbe)/R
N=3
Ic=Iref*(1+ 4/Beta)
Ic1=Iref*(Beta)/(Beta+N+1)
Ic2=Iref*(Beta)/(Beta+N+1)
Ic3=Iref*(Beta)/(Beta+N+1)
Iref=Iref/10^-3
printf("Iref= %.2f mA",Iref)
Ic1=Ic1/10^-3
printf("\nIc1=Ic2=Ic3= %.3f mA",Ic1)
|
5acade8507b380a19639ce0a8de10e0d646199dd | 4af7d26a4959553d9a2cee1a78878ee960599382 | /test_cases/test15.tst | 8c85288d09a526a46efac264296f70a5b6e6b006 | [] | no_license | CJ8664/chord_protocol | f61168ceea224e47785e56a3263eda89da7dc3df | 30b57463cfd190e9dd5f057629b69ffbb6edb7b2 | refs/heads/master | 2020-04-11T06:07:46.875416 | 2018-11-02T03:06:34 | 2018-11-02T03:06:34 | 161,571,340 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | tst | test15.tst | # Adding to case 2 everything is stable and global information is correct
# Drop one node from middle, now fix to update finger_table
# Now add 1 again, stab and fix. everything should be consistent
add 0
add 1
add 2
add 3
join 1 0
join 2 0
join 3 0
list
show 0
show 1
show 2
show 3
# First cycle of stab fix
stab 0
sta... |
b9301a6d9a4600df353ac0b1494d0247145189c0 | fcd4bce0080771389b4a69338ed6443153942183 | /cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/alu_add.tst | 16cdf38a167719d46d8d4f7d601b015afc7f125e | [
"LGPL-3.0-only",
"GPL-3.0-only",
"GFDL-1.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-copyleft",
"GFDL-1.1-only",
"MIT",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"Zlib",
"GPL-2.0-only",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public... | permissive | wulfebw/retro | d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa | dad4b509e99e729e39a2f27e9ee4120e3b607f58 | refs/heads/master | 2022-10-23T07:17:55.320585 | 2020-06-12T01:38:06 | 2020-06-12T01:38:06 | 260,832,205 | 8 | 1 | MIT | 2020-06-12T01:38:08 | 2020-05-03T05:06:17 | C | UTF-8 | Scilab | false | false | 1,549 | tst | alu_add.tst | #include "alu.inc"
.code
prolog
#define ADD(N, I0, I1, V) ALU(N, , add, I0, I1, V)
ADD(0, 0x7fffffff, 1, 0x80000000)
ADD(1, 1, 0x7fffffff, 0x80000000)
ADD(2, 0x80000000, 1, 0x80000001)
ADD(3, 1, 0x80000000, 0x80000001)
ADD(4, 0x7fffffff, 0x80000000, 0xffffffff)
ADD(5, 0x80000000, 0x7fffffff, 0xfffff... |
3cada3810d009f554b63971d1ba34180f729d3a6 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.vowel-10-1tra/result9s0.tst | 827aaabd5f4b7f2fb9c9b2627b5818c6be87f519 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 979 | tst | result9s0.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute... |
9d989e5b982b90e4eb867457710c3127c55cf2d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH13/EX13.15/example15.sce | 634798a24e568c7461b3765924e0dacd73c82992 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | example15.sce | // calculate voltage gain
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 13-15, page 450
clear; clc; close;
// Given data
Rs1=220;// in ohms
Rs2=780;// in ohms
Rl=3*10^3;// in ohms
gm=2000*10^-6;// transconductance in Seimen
// ... |
b99e7959156e82a5411386260c5912966d33e5e8 | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Jacobi.sce | 94bdb25311778cf8718ae28ff9724428f7d5e976 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sce | Jacobi.sce | A = [10 2 1; 1 5 1; 2 3 10];
b = [7 -8 6];
n = 3;
x_new = zeros(1,n);
x_old = zeros(1,n);
NMAX = 20;
tol = 0.0001;
x_old = [0.7 -1.6 0.6];
for k=1:NMAX
// iteracao do metodo de Jacobi
for i=1:n
soma = 0.0;
for j=[1:i-1,i+1:n]
soma = soma + A(i,j)*x_old(j);
... |
d9f6a2d560da6013b503b27ee906141b1144df1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH1/EX1.4/EX1_4.sce | 9b4d29f12edeb44a8bcb6effec2679ea2a4a376f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | EX1_4.sce | clear;
clc;
printf("\nEx1.4\n");
//page no.-8
//given
a=3.61;.......//lattice constant in Angstrom
r=(2^(0.5)*a)/4........//for F.C.C. structure radius is given by this
printf("\nradius of copper atom is 12.8 angstrom\n");
|
b30755f4ae76e2cf4a0e33679e1b6b004f1cec9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH21/EX21.2/Ex21_2.sce | a312deff78e4ab6178b47c6cc62c72bc7a89deb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex21_2.sce | // Initilization of variables
r=1 // m // radius of the cylinder
v_c=20 // m/s // velocity of the cylinder at its centre
// Calculations
// The velocity of point E is given by using the triangle law as,
v_e=sqrt(2)*v_c // m/s
// Similarly the velocity at point F is given as,
v_f=2*v_c // m/s
// Results
clc
... |
c65c64943d99330139fd5626e22f6d97d23fe6f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH5/EX5.7/5_7.sce | a9531645a5c305425ef1cef99aa94a00f222cf4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sce | 5_7.sce |
a=2.286*10^-2
b=1.016*10^-2
f=9.379*10^9
c=1/2/sqrt((9379/300)^2-(1/2/a)^2)
printf("\nc=%.5f m = %.4f cm",c,c*100)
|
56d13d9bf3d4006e4bad06ba1f411db8209f161f | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH3/EX3.16/ex_3_16.sce | a31f0f56f116e2fc4a3688ec05f5d39c984ac433 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | ex_3_16.sce | clear;
syms t s
x=1/(s+1)
f1=ilaplace(x)
disp(f1*'u(t)',"a) x(t)=")
y=-1/(s+1)
f2=ilaplace(y)
disp(f2*'u(-t)',"b) x(t)=")
z=s/(s^2+4)
f3=ilaplace(z)
disp(f3*'u(t)',"c) x(t)=")
zz=(s+1)/((s+1)^2+4)
f4=ilaplace(zz)
disp(f4*'u(t)',"d) x(t)=") |
880bb04aea722601ece5f9f648a249454f910832 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH12/EX53.4/53.sce | 16d7426775519d5e509df891ddab65f416e0abaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | 53.sce | clc
//initialisation of variables
v=60//m/sec
v1=16.6//m/sec
r=300//m
g=9.8//m/sec
//CALCULATIONS
R=(v1^4)/((g^2)*(r^2))//km/hr
//RESULTS
printf('the ignored thus greatly simplifying the equation=% f km/hr',R)
|
743a67e3edfe5bd299d9a231a74ffdae6442c2b1 | 3d1c119f7b9b17a6c6222991c2ebb3ddc4be097a | /leverrier.sce | 4fa76b974bac3d7bfc7dac2c2858e9f2125fc98f | [] | no_license | pzdd/Scilab-Folder | 99faaf58b5372d76110b4caa65f71d8c7487c6d9 | 47d47b7920e75d7195244a134ab2d175be40aab5 | refs/heads/master | 2021-01-10T04:47:32.893552 | 2016-02-10T14:20:11 | 2016-02-10T14:20:11 | 51,444,768 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,228 | sce | leverrier.sce | //Algoritmo Leverrier - Autor: Geraldo Laurentino da Silva Neto
//Trabalho da disciplina de Modelagem Integrada UFRN
//casos de teste
A=[-1 0 0;0 0 -1;0 1 -1]
//A = [0 -400;25 -250]
//identifica a ordem da matriz
y = length(diag(A))
//cria as variaveis que iram armazenar os valores de R e a(saida do trace)
for i=0:(y-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.