blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a9851410d94a30b9ef6c0acacb45b534fb3ba8c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH9/EX9.3/Ex9_3.sce | 0c44298f3048d39dc71d85d9f18383cff2060806 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | Ex9_3.sce | // Chapter9
// Frequency of oscillation
// Page.No-310
// Example_9_3
//Figure 9.12-9.14
// Given
clear;clc;
R=1000; //in Ohm
C=0.1*10^-6; //in F
f=1/(2*%pi*1.732*R*C);
printf("\n The mimimum frequency of oscillation = %.0f Hz\n",f); // Result
//Vo=(R+Xc)*I1-R*I2
W=1/((6^0.5)*C*R);
... |
4d69690838516c0d05c0406ca2033a3664c4ee0b | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH11/EX11.3/Ex11_3.sce | e7c32dbf1a742bb33d9e03e2f3b7a5e030287619 | [] | 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 | 336 | sce | Ex11_3.sce | clc
//Initialization of variables
p1=0 //Pa
p2=0 //Pa
V1=0 //m/s
V2=0 //m/s
Zdif=10 //ft z2-z1
f=0.02
D=6/12 //ft
l=200 //ft
K_L=0.5+1.5+1.0
g=32.2 //ft/s^2
eta=66.5
A=%pi*D^2/4
Q=poly(0,'Q')
V=Q/A
hp=Zdif + (f*l/D+K_L)*V^2/(2*g)
sol=roots(hp-eta)
Q=sol(1)*7.48*60 //ft^3/s to gallons/min
printf('Q = ... |
995d7ee1a215739ce4abf7991adfad85bc98dbf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH5/EX5.7/EX5_7.sce | 81ebcf6cc18bb029e6cebec3a8a7607e7480c7b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | EX5_7.sce | // Example 5.7
// Determine expected locked-rotor line current
// Page No. 192
clc;
clear;
close;
// Given data
Ir1=151; // Rated current
V1=230; // Rated voltage
V2=220; // Motor starting voltage
F1=60; // Rated frequency
F2=50;... |
7830d7de0f41824b046016aed88940415142def0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH7/EX7.9/example9.sce | 18d085b24cc2072e2d983646621c930cbe9d4104 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 53 | sce | example9.sce | syms t
s=%s
[A]=pfss((1/(s^2+2*s+5)))
disp(A(1))
|
a132eeb79a80e852614faa085d759e94886d3d3d | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/KovaFlow_varP_per.tst | c773475cc47ecbb70a81e895a372b68b6608940e | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 862 | tst | KovaFlow_varP_per.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Kovasznay Flow variable P, periodic BC</description>
<executable>IncNavierStokesSolver</executable>
<parameters>KovaFlow_varP_per.xml</parameters>
<files>
<file description="Session File">KovaFlow_varP_per.xml</file>
</files>
<me... |
10536af46a9599269f753e4d0b2ac287c885fb82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH8/EX8.7.a/ex_8_7_a.sce | b4f2dd75aec0ef41d32b5716c377fa4955cc3a0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | ex_8_7_a.sce | //example 8.7(a)//
clc
//clears the screen//
clear
//clears all variables//
close
//closes all existing files//
disp('A positive edge triggered D flip flop, as shown in figure can be used for the purpose. Waveform A is applied to the D input and waveform B is applied to the clock input. If we examine the two wav... |
38723fcc2f5b7d41cfa7d80437fd6a3a8e5d9572 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_calculate_gripper.sci | bedc56d8cde9448287ce7f1bfd00fe92b3f0c7a7 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,009 | sci | kiks_calculate_gripper.sci | function [res] = kiks_calculate_gripper(id)
// Ouput variables initialisation (not found in input variables)
res=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http... |
41cdb095adafc5e205dea1f629cda753effc87c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH8/EX8.2/Ex8_2.sce | 7ca8e3a86c77f1662c08de3d2220a5f493d08cd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,120 | sce | Ex8_2.sce | clc
phi_b=0.8
disp("phi_b = "+string(phi_b)+"V") //initializing value of barrierpotential
T=300
disp("T = "+string(T)+"K") //initializing value of temperature
kBT=0.026
disp("kBT = "+string(kBT)+"eV") //initializing value of multiplication of boltzmann constant and 300K temperature
R_star=8
disp("R_star = "+str... |
06c88a6e0c6d7539ffa561c4c99a78ddf6eb9235 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH13/EX13.4/example13_4.sce | 6ba4efb054577ec9572887195cf20f8087155c55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 923 | sce | example13_4.sce | //Chapter 13
//Example 13_4
//Page 315
clear;clc;
Va=250;
Ic=15;
Id=20;
Ib=12;
Lab=75;
Lcd=50;
Lbc=100;
area=0.27;
p=1.78*1e-6;
//single core resistance of the section of 100m length
R=p*100*100/area;
Rab=R*Lab/100*2;
Rbc=R*Lbc/100*2;
Rcd=R*Lcd/100*2;
Icd=Id;
Ibc=Icd+Ic;
Iab=Ibc+Ib;
Vb=Va-Iab*Rab;
Vc=Vb-Ibc*Rbc;
V... |
d4df38252ab55226a61ed65a87b92ccbe147e5f7 | 4b3c8d2302d37ad5981adb6f68fae3db1d9820c8 | /insertName.sci | edc3eaf5af06367884088f5fe8853c55f5b053cb | [] | no_license | mayank1513/littleBird_RD_ResourceManagementSystem | 002d19579b3b55a314450ec75d2874131741564b | 090d016248164580defc9b4629ba54c9dc362949 | refs/heads/master | 2020-03-15T04:48:31.637752 | 2018-05-03T09:46:53 | 2018-05-03T09:46:53 | 131,970,842 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | sci | insertName.sci | function [sortedStr, ind] = insertName(str1, blk1)
if isempty(str1) then
sortedStr = blk1;
ind = 1;
end
str = convstr(str1,"l");
blk = convstr(blk1,"l");
indx = find(part(str,1)==part(blk,1));
i = 0;
while ~isempty(indx)
i = i + 1;
indx = find(part(str,1:i)==p... |
00cd05644b9b61875533f26d853ee8ede19e356d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH16/EX16.1/Ex16_01.sce | e9fa32166d7aa18aea3e2094807294fca55aed76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ex16_01.sce | // Scilab Code Ex16.1: Page-581(2014)
clc; clear;
H0 = 22; // Value of Hubble constant, km/s per million ly
parsec = 3.26; // The value of 1 parsec, light years
printf("\nThe value of Hubble constant = %d km/s per Mpc", ceil(H0*parsec));
// Result
// The value of Hubble constant = 72 km/s per Mpc |
1dd31dbd0b77f12adf45a248e4a4f3a00d0f1155 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH4/EX4.8/Ex4_8.sce | 5f5e37109e58f8fafb916d47338aacc2662fca34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,103 | sce | Ex4_8.sce | //Example 4.8
//Equivalent discrete controller for DC motor speed control.
//------------------------------------------------------------------
//NOTE THAT-- The system response (continuous) to sampled control
//input depends on
//the sampling time set for continuous signal in SIMULATION.
//In this example we conside... |
f44f4a9681a0cc295293b51f4aeabeb6617b1d14 | 9ba84a7f7b27fc82fdfcfb8dd03498c4cc91f124 | /Parcial 2/DiazAgustin6.sce | 86757978e8bab8f103bdc9d5161008b23379b1c2 | [] | no_license | ignaciolitma/LCC-Metodos-Numericos | 8120eba09ea160e3252542373afc5ddad49a04c9 | e63728e5f15bb469dff205a74901a5b930e1271d | refs/heads/main | 2023-03-12T11:34:36.940908 | 2021-03-01T20:56:12 | 2021-03-01T20:56:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,912 | sce | DiazAgustin6.sce | // Resuelve el sistema lineal Ax=b con el método de gauss_seidel
// comenzando desde x con una tolerancia de eps
// con un máximo de iteraciones maxIter
// Además muestra la cantidad de iteraciones realizadas si se llegó a la condición de parada
function x = gauss_seidel(A, b, x, eps, maxIter)
n = size(A, 1)
xN... |
57ec74821dafa51302869d72e52acb4689198b47 | 4ed576b765859807d6c29665521e0697d6f9bae7 | /archive/05/ex5.4.sce | db16887a9622d3f01206f4cc5db03a83516ff9e4 | [] | no_license | sbednarz/scilab | 96b9182730fa48d11f27840fc197d151adb01e2c | 28f81c58bc4972eeb41f403cb157fb989e809f41 | refs/heads/master | 2021-07-11T04:42:04.289126 | 2021-05-17T20:55:19 | 2021-05-17T20:55:19 | 100,467,366 | 3 | 1 | null | 2020-06-19T06:49:18 | 2017-08-16T08:37:06 | Scilab | UTF-8 | Scilab | false | false | 644 | sce | ex5.4.sce |
// A => B, k(T)
function dy = model(t, y)
T = y(1)
A = y(2)
B = y(3)
k0 = 1e11 // L/(mol*s)
R = 8.314e-3 // kJ/(mol*K)
Ea = 78 // kJ
k = k0*exp(-Ea/(R*T))
dAdt = -k*A
dBdt = k*A
dTdt = 0.1 // <---rate of heating/cooling K/s
dy=[dTdt, dAdt, dBdt]
endfunction
// initial conditions
T0 = 300 //K
A0 = 2... |
ebc2b610fcd1db5f890b048c4fae5b272ac0998a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH5/EX5.18/Ex5_18.sce | d3433d0b6d48fdd3d27a417b5d13bbd4b26e146a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,370 | sce | Ex5_18.sce |
// Theory and Problems of Thermodynamics
// Chapter 5
//Second Law of Thermodynamcis
// Example 18
clear ;clc;
//Given data
ms = 5 // mass of steel block in kg
mw = 5 // mass of water in kg
T1 = 1273.15 // initial temperature of steel block in K
T2 = 373.15 ... |
b59d7771a039bf4b601c2d6fb9a4198de4d1840e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH5/EX5.2/Ex5_2.sce | 674acd347b4746548b9d06b7ed9d68118ae63905 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | Ex5_2.sce | //Finding charge and potential gradient
//Example 5.2(pg 193)
clc
clear
C=0.0002*(10^-6)//capacitance in F
V=20000//P.D across condenser in V
t=2//thickness in mm
Q=C*V//charge on each plate in coulomb
g=(V/t)*(1/1000)// potential gradient in kV/mm
printf('Charge given to condenser is %e Coulombs \n',Q)
print... |
d22d8e8d667c643d002f321da4518e417dcc969f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH5/EX5.2/Ex5_2.sce | 3412da960782d567470280453397c619256af085 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,716 | sce | Ex5_2.sce | clear; clc;
disp("a)")
disp("Convert: 1) Q=5 m^3/s=10595 cfm")
disp("2) rhoa=0.0761lbm/ft^3")
disp("3) SP=deltap/(rhow*g)")
delta_ps=500
rho_w=1000
g=9.8
SP=delta_ps/(rho_w*g)
printf("Hence SP = %0.3f m",SP)
disp("Thus SP= 2.01 in.wg.")
disp("b)")
disp("Calculating the specific speed:Ns")
N_s=1500*((10575)^0.5)/(2.0... |
dba9b661d63c93fd89c623e82e8a0bf5b7e1df0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH2/EX2.1/Ex2_1.sce | 990fbe9f726e8ffdcbf36f19674fe2077a54120a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,635 | sce | Ex2_1.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 2 : FORCES IN AN ELECTROMAGNETIC SYSTEMS
// EXAMPLE : 2.1
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
A = 0.0001; // The Cross-sectional ar... |
477946ba3ec4803545e83f623edb84e0c1dbc507 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH4/EX4.1/Chapter4_Example1.sce | 1aab5a82fbd140275c4a1609821352bf2dcdbf56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Chapter4_Example1.sce | clc
clear
n=15000//Number of lines per inch
w=[5890,5896]//Wavelengths of the two sodium lines in Amgstrongs
n1=1//Order of diffraction
//Calculations
N=(n/2.54)*100//Number of lines present per meter
q1=asind(N*n1*w(1)*10^-10)//Angle of diffraction for D1 line in degrees
q2=asind(N*n1*w(2)*10^-10)//Angle of... |
dfb904732650b5c086c7bdd698fcef0685a4ef3d | 0c3cccb3c81eb151f654e5d9d470662c19122857 | /scilab/fac/tp_deformations/mon_script.sce | 57eaee3beb826f23a22fc0ecae52341ce9fd8e4f | [] | no_license | gmordelet/oldProg | 6b2bb7c247dd1f16a641d0f840f7c82e8eb37ffb | c108060bf1b87b4aad196484036f226fd9c4422c | refs/heads/master | 2021-01-12T16:28:52.448277 | 2016-10-30T11:16:22 | 2016-10-30T11:16:22 | 69,155,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | mon_script.sce | // TP SCILAB : INTERPOLATION D'IMAGES ET DEFORMATIONS
// script scilab à compléter
getd('.');
stacksize max;
funcprot(0);
// I) Interpolation d'images
|
288a69dd39462d9cae391fb784f0f9b4c047e554 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH12/EX12.14/12_14.sce | c14cc1bfa9135f127d35fccc3325abaa35b05b32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | 12_14.sce | clear;
clc;
V=50*exp(%i*45/(180/%pi));Z1=3;Z2=2+(%i*10);Xl=2;
Voc=V*Z2/(Z1+Z2);
Zab=1/((1/Z1)+(1/Z2));
Zg=Zab
Rl1=Zg-(%i*Xl);
Rl=abs(Rl1);
Z=Zab+Rl-(%i*Xl);
I1=Voc/Z;
I=abs(I1);
P=I*I*Rl;
printf("-Rl = %f ohms\n",round(Rl*100)/100);
printf("-Xl = %f ohms\n",Xl);
printf("-Maximum power delivered to load = ... |
35505bf5b07731c8c1a3c3a623dcba3fdda08c41 | e3c27edbd2f0a8e733cee84b90a906c0a6d7c176 | /sem_3/c/adv_lin_pr/sink_c.tst | b041ea2226a251a7a4bb9f34fb03b9ca75c273b2 | [] | no_license | dmitryhd/dmitryhd_code | c32223da5506156a068bbb0f20ad4cd06fdf2166 | 5173f6f74d4fa1c9c5fba9ffc4fc9134c56f4b0c | refs/heads/master | 2021-01-17T11:56:50.221745 | 2011-04-26T18:31:58 | 2011-04-26T18:31:58 | 1,650,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27 | tst | sink_c.tst | plate1 1
plate2 2
plate3 3
|
c242fab57e855968e75aae079badf6f6730728a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH5/EX5.9/Ch05Ex9.sce | 9d96feb2d358bd5923159dd88645d690b04781d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Ch05Ex9.sce | // Scilab Code Ex5.9: Page-180 (2006)
clc; clear;
gamma_expt = 7.0e-04; // Experimental value of electronic specific heat, cal/mol/K-square
gamma_theory = 3.6e-04; // Theoretical value of electronic specific heat, cal/mol/K-square
L = poly(0, 'L');
L = roots(gamma_expt - gamma_theory*(1 + L));
printf("\nThe... |
99f629b3cb43f40ce50379d0599f8154a4c24b2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.2/Ex10_17_2.sce | a71f5faf7b63ce910a00c2e05570f627f946e8a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_17_2.sce | //Section-10,Example-1,Page no.-CT.29
//To calculate the maximum work done.
clc;
V_2=50
V_1=5
R=0.08206
T=298
n=10
W=-(n*R*T)*log(V_2/V_1)
disp(W,'Maximum work done in(dm^3atm)')
W1=W*(8.314/0.08206)
disp(W1,'Maximum work done in(J)')
|
182cf0b7b3e2bab9b494d00dae2bf853fb5f4a73 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/initation_scilab/chap2_equ_diff/ex2.sci | 6a385babf700be75eb6ed8a5275e65375aaae3fb | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 45 | sci | ex2.sci | x=linspace(0,5,101);
y=2*0.2^x;
plot2d(x,y);
|
54018e6e0ec7eec8895fee04621949e63e3ed6ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH5/EX5.11/example5_11.sce | fa39e436bd450f83b3dd4f7a4511be25a80d3bbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,344 | sce | example5_11.sce |
clear;
clc;
printf("\t Example 5.11\n");
//air leaves at 19 degree at fully saturated condition
T1=30; //temperature at the inlet in degree celcius
T2=17; //temperature at the exit in degree celcius
f=100000; //flow rate of water in kg/hr
hi=.004; //humidity of ... |
dadb5cd60371a5f0ed387c097761d7d586dc4ce9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH26/EX26.5/example26_5.sce | b023cde3288ae5b67db0619503e8e0fab835213f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | example26_5.sce | v=120;
f=60;
i=5;
p=525;
z=v/i;
r=p/i^2;
x_l=sqrt(z^2-r^2);
l=x_l/(2*%pi*f);
disp("the inductance (in mH) of the coil is"); disp(l*10^3); |
a0b0fc533f9ea7e21f3eadd1f3237d0970953121 | 21449d69163566a30d70b12fb15fbc400326a668 | /skryptPU_162647.sce | 1a48b3c8b5a6c6dbef1c91fd9871255a1054eaf8 | [] | no_license | JakubKr001/BazyDanych | 4df55a8df0fde9489f6f9963dee9235061ce6fe1 | 3b4c324d01c0607b060bb2276c914df87b3d361a | refs/heads/main | 2023-02-16T16:17:50.025930 | 2021-01-20T12:55:00 | 2021-01-20T12:55:00 | 312,020,630 | 0 | 0 | null | 2020-12-22T11:16:22 | 2020-11-11T16:04:19 | null | UTF-8 | Scilab | false | false | 304 | sce | skryptPU_162647.sce | //1a
licznik = log(15)/log(5)
mianownik = log(45)
licznik/mianownik
//1b
A = [1,-2,3,0;3,3,0,6;1,-2,5,8;6,3,-1,0]
B = [6,-2,0;3,0,6;-2,6,8;8,-1,0]
A*B
//1c
a=22
h=13
Pc=3/2*a*(a*sqrt(3)+2*h)
//2
function f = logarytm(x)
f = log((x+4)/log(5)) + 2
endfunction
function g
endfunction
|
d1f02731275f091d7bb3624f5daa931c528e8a26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH3/EX3.15/Ex3_15.sce | 246d1a2a84bd595444957036d7c00e1350aae6e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | Ex3_15.sce |
// Ex3_15
clc;
// Given:
E2=44;// in keV
En=525;// in keV
// Solution:
n=(En)/E2;
//
printf("%f",n)
printf("\n For the required level of energy 525 keV nearest even integer is = %d & spin is (+)",n+1)
|
ccca8aa5689ec1d3f72e6de81ce7ebc5f710869c | 7bf9b615fc7bd8790ccc10d5e8f07824d114a245 | /ir_plotmodelset.sci | 3a671ad5a09af08cc369a97390c2a0f149e49a86 | [] | no_license | szhilin/scirt | 91b4ea7c9f328999e8f5aa1799b0930256bcdde9 | 31ea78eb9e7fb547dd6d81fe86b89ccb9f4c761d | refs/heads/master | 2021-01-09T06:00:49.769480 | 2017-02-05T15:56:33 | 2017-02-05T15:56:33 | 80,890,335 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 954 | sci | ir_plotmodelset.sci | function ir_plotmodelset(X, y, epsilon, padx)
// Plots 2D set of feasible linear models consistent with dataset (X,y,epsilon)
// TODO: Add possibility to manage colors
if argn(2) < 4 then
padx = %t;
end
if size(X,1) < 2 then
error('Not enough data');
end
if size(X,2) == 2 & an... |
a0c14d8e86f7d2d8b3b9ed305459f53d86d9becc | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH3/EX3.5/example3_5.sce | cc8198804f4100dbaf2c613df99781e311204515 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,240 | sce | example3_5.sce | clear;
clc;
printf("\t Example 3.5\n");
Kg=2.72*10^-4; //overall gas phase mass transfer coefficient in kmol/m^2*S*atm
r_gas=0.85*(1/Kg); //given that gas phase resisitance is 0.85 times overall resistance
kg=1/r_gas;
m=9.35*10^-3; //henry's law constant in atm*m^3/kmol
k... |
71c3f0c84aa56c900a0dbf73ab6e3c18ed9c3cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH10/EX10.5/10_5.sce | 2fb24e4ebafc08359946f25414cbae78b30fd4ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | 10_5.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
... |
36734d545cb4bf51f1362a95cae25eeee8c88cd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH10/EX10.7/ex_10_6.sce | f1050c17e8aebe574c75c7798714639eeb34dd29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_10_6.sce |
clc
//solution
//given
//refer fig 10.16
b=120//mm//width
t=15//mm//thickness
l1=b-12.5//mm
s=15//mm
ft1=70//N/mm^2//tensile stress
ft2=56//N/mm^2//shear stress
//let l2 be length of weld
//P=A*ft
P=120*15*ft1//N
ft11=ft1/1.5//N/mm^2
ft22=ft2/2.7//N/mm^2
P1=0.707*s*l1*ft11//N
//P2=0.707*s*l2*ft22=440*l2//N
//P=P1+P2//... |
a2ad733eb1c4bf2391ab2a713cf7890fd95c711f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH1/EX1.5/EX1_5.sce | 763d820d25a0c08c6717bd06d0154807b8c1866f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | EX1_5.sce | // Example 1.5
// Computation of length of conductor
// Page No. 25
clc;
clear all;
close;
// Given data
e=2.5; // Voltage generated
B=1.2; // Magnetic field
v=8.0; // Speed
// Length of conductor (e=B*l*v)
l=e/(B*v);
//Display result on command window... |
6e84f263a98a6727a50cc1e5e80c5669d00beca5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH12/EX12.19/Example12_19.sce | 1c585a2f081804af0c0a71882adee3b753950d3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 968 | sce | Example12_19.sce | //Example 12.19
//Program to estimate the maximum system length for satisfactory
//performance
clear;
clc ;
close ;
//Given data
SNR_dB=17; //dB - REQUIRED SNR
L=100*10^3; //metre - INTERVAL SPACING
K=4; //FOR AMPLIFIER
h= 6.626*10^(-34); //J/K - PLANK's C... |
f5e2a55c576c8fc3d58d7c49ab9b74f90ba226b5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.2_11.tst | 3d4a92d001892d71e47146c6c9dd6c6b69b98f65 | [] | 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 | 750,209 | tst | 5.2_11.tst | 2 108:1 110:1 167:1 440:1 464:1 689:1 762:1 828:1 1162:1 1175:1 1454:1 1486:1 1567:1 1787:1 1839:1 1855:1 1948:1 1950:1 2046:1 2194:1 2332:1 2336:1 2495:1 2760:1 2800:1 2807:1 2934:1 3019:1 3266:1 3285:1 3291:1 3546:1 3981:1 4305:1 4676:1 4683:1 4724:1 4731:1 4961:1 5237:1 5351:1 5430:1 5759:1 5768:1 5828:1 5870:2 6095... |
78e521297f96cff12ad4822b2f19fbae5f48d805 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH5/EX5.3/ex5_3.sce | 84212704bf894b4ef2f5010e1b619b59447e68bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,298 | sce | ex5_3.sce | clc;
V=50; // Volume of water in a tank in litres
T1=120; // Temperature of water at initial state (1) in degree celcius
x1=0.6; // Dryness fraction at initial state (1)
T2=-10; // Temperature of water at final state (2) in degree celcius
vf1=0.00106; // specific volume of water from steam tables at T1 in m^3/kg
... |
55c4c1a894ca01cd15f0daeda6f79e6f4f0ad42f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/scicos/whereintree.sci | 8bb072e8155bc2dbfe166245b4209189c6a531d0 | [
"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 | 826 | sci | whereintree.sci | function [Path,path,ok]=whereintree(Tree,xc,yc)
[m,k]=mini((Tree('x')-xc).^2+(Tree('y')-yc).^2)
ok=%t;path=[];Path=list()
if k==1 then return,end
O=Tree('orig')
path=Tree('paths')(k-1);
if size(O,'*')>size(super_path,'*') then
message(['Navigator tree doesnt correspond to this'
'diagram'])
ok=%f
return
end... |
db87d5ed5e91b224eba72f75bfece163d293fa61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH9/EX9.9/example9_9.sci | e82e4efc1c7fef32394ed8d138cfea65e181b1ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sci | example9_9.sci | //programming Example 9.9
//calculate the average of n numbers,
//then compute the deviation of each number aboutthe average.
n = 5;
List={3, -2, 12, 4.4, 3.5};
function[] = main()
Sum = 0;
//calculate and display the average
for count = 1:1:n
Sum=Sum+List(cou... |
a11b0f669648fe1c4c630663956f2291ca6a75ac | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/DM1.prev.tst | fe46809cf4e1658f53d70157036104b47e8f65dc | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | tst | DM1.prev.tst | ("a^4 + b^4 - c^4 - d^4; a - w^2; b - x^2; c - y^2; d - z^2").getDependantMap() = {w=>a,x=>b,y=>c,z=>d}
|
41f4f4e4e79254be4f5288c20cbff196268d91ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH8/EX8.4/example8_4.sce | 2de838650b8e111993bdc4fedc625f3feb311325 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,745 | sce | example8_4.sce |
//example 8.4
//calculate hydrodynamic pressure on10m,40m and 100m from top
clc;funcprot(0);
//given
H=100; //heigth of dam
wb=73; //width of base of dam
wt=7; //width of top of dam
l=1; //length of dam
hw=98; //heigth of water in dam
hsu=... |
8c3b052cc14aec56891e98e8f47fe9825e7bae6f | 4c8d23c985173e2d61690fc050e23047a1296c6f | /desktop/org/mathpiper/mpreduce/packages/regressions/sep-1-2011-safe-fp.tst | eebcae5d79fd08cfa4a8ca0723bf3af731bd9a16 | [] | no_license | JMCC-123/geogebra | 727ac505e9b4410539e3d16caf0db3fda635366c | 09909307501e75326ac016caf0886e909d24e622 | refs/heads/master | 2023-03-15T10:11:50.915102 | 2013-03-01T14:32:50 | 2013-03-01T14:32:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,334 | tst | sep-1-2011-safe-fp.tst | on rounded;
% This is part of ongoing work... the main Reduce sources in arith/rounded.red
% define safe!_fp!-plus etc but both CSL and PSL defined their own
% "better" versions. The CSL one in cslbase/arith08.c and the PSL one
% is packages/support/psl.red.
% As at least a temporary measure the CSL code has been adj... |
a7c616e00e4b7fed3b0d9e4f9e72a65ce9abbfff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH16/EX16.12/133ex1.sce | 08fda0bb1f0fee1ede5dfee07f61ff978611643f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 133ex1.sce |
clear;
clc;
close;
clf;
x=linspace(-5,4,10);
y=12-x-x^2;
plot2d(x,y,5);
xtitle("Graph of y=12-x-x^2 ","x axis","y axis");
x=poly(0,'x');
y=12-x-x^2;
//"at these points curve cuts the axis of x"
x=roots(y)
x=-1/2;
y=12-x-x^2; //highest point
y=[0 2 4 6 8 10 y];
plot(x,y,'b--.pentagram');
legend("y=12-... |
17a4ddee8c1b2064f486a223465dd0c79b7ff4b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH4/EX4.5/exa_4_5.sce | ca83b569886b4225ab4ed5f383a0ccca28242798 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | exa_4_5.sce | // Exa 4.5
clc;
clear;
close;
// Given data
SR= 2;// in V/micro sec
del_v_in= 0.5;// in volt
del_t=10;//in micro sec
del_v_inBYdel_t= del_v_in/del_t;// in V/micro sec
// v_out= A_CL*v_in
A_CL= SR/del_v_inBYdel_t;
disp(A_CL,"Closed-loop gain ")
disp(A_CL,"Any closed loop voltage gain of magnitude exceeding 4... |
7e4ad7cb3719915a1797688f5d7b4e6604b53f42 | 9907672fcd81ab73ac63b2a83422a82bf31eadde | /tyama_icpc2007dA.sce | df3e71a29574759c3af556299240c3bcea5b4936 | [
"0BSD"
] | permissive | cielavenir/procon | bbe1974b9bddb51b76d58722a0686a5b477c4456 | 746e1a91f574f20647e8aaaac0d9e6173f741176 | refs/heads/master | 2023-06-21T23:11:24.562546 | 2023-06-11T13:15:15 | 2023-06-11T13:15:15 | 7,557,464 | 137 | 136 | null | 2020-10-20T09:35:52 | 2013-01-11T09:40:26 | C++ | UTF-8 | Scilab | false | false | 211 | sce | tyama_icpc2007dA.sce | // scilab-cli -nb -f
n=scanf("%d")
while n<>0
ma=0;mi=1000;s=0
for i = 1:n
x=scanf("%d")
if x<mi then mi=x; end
if x>ma then ma=x; end
s=s+x
end
printf("%d\n",(s-mi-ma)/(n-2))
n=scanf("%d")
end
exit |
c95a77fba6c587f96300ef641d2e42f9c81bbf4f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/percent/%sclss.sci | 4300484e9cdfe9baba72f8a8d8610bb26162d7d9 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sci | %sclss.sci | function [s]=%sclss(d1,s2)
// s=[d1,s2] d1 gain, s2 state-space
//!
// origin s. steer inria 1987
//
[a2,b2,c2,d2,x2,dom2]=s2(2:7)
[n2,m2]=size(b2);[p1,m1]=size(d1)
s=tlist('lss',a2,[0*ones(n2,m1),b2],c2,[d1,d2],x2,dom2)
|
26cec209b2e0fe0b463bbe3d1aa7ce47e675c850 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH3/EX3.14/Ex3_14.sce | 84d89ac051c9a8dd58031dccd5119837ee069b29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Ex3_14.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 97 and 98
clear;
clc;
//Given Data
Vin=18;//input voltage in volts
Vz=10;//zener breakdown voltage in volts
Tr=20;//reference temperature in degree celsius
T=40;//given temperature in degree celcius
Tc=0... |
d3205a1e31896fd17ad02645ec3e35ef021a07e4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%hm_exp.sci | 3806e6c6cf1ca7a7fcf3abed8b6e3dd2c9a298f5 | [
"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 | sci | %hm_exp.sci | function M=%hm_exp(M)
// Copyright INRIA
M('entries')=exp(M('entries'))
|
6dce679aa8988e49936eb2d725682866c8d1b391 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH10/EX10.5/EX10_5.sce | 8cb91c4da9b9e134123a029165814ec7d5c0b0f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | EX10_5.sce | // Example 10.5
// Computation of no-load speed
// Page No. 408
clc;
clear;
close;
// Given data
nrated=1750; // Rated speed
SR=4; // Speed regulation
// No-load speed
Snl=nrated*(1+SR/100);
// Display result on command window
printf("\n No-load speed = %0.0f r/m... |
0accdbb83dae984a85f320db5873dd15a2c41306 | b24d354cfcd174c92760535d8b71e22ced005d81 | /DSP functions/zpklp2xn/test_4.sce | c5800a114fecc435b6764fef3ba5cc3af08f7268 | [] | 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 | 280 | sce | test_4.sce | // Test # 4 : Checking the type for Input Argument #3
exec('./zpklp2xn.sci',-1);
[z,p,k,n,d]=zpklp2xn(0.1,2,[2 9],[3 0.4],[0.1,0.6]);
// !--error 10000
//K must be a scalar
//at line 45 of function zpklp2xn called by :
//[z,p,k,n,d]=zpklp2xn(0.1,[2 9],[3 0.4],[0.1,0.6])
|
69e911450509ba4b72c99e00bf2beb9698ad5739 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH30/EX30.19/30_19.sce | ac3bfbffdfebe3b73c348cd16c4111584c644bbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sce | 30_19.sce | clear//
//Variables
gmo = 5.0 * 10**-3 //Maximum transconductance (in Siemen)
RD = 1.0 * 10**3 //Drain resistance (in ohm)
RS = 200.0 //Source resistance (in ohm)
ID = 5.0 * 10**-3 //Drain current (in Ampere)
... |
52b43e0e041935d57cba31adc15a1c33205cb804 | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/18.ted.sci | 53c0eff591e22f27012561a00987c3545f069510 | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 17,944 | sci | 18.ted.sci | it is a thrill to be here at a conference that s devoted to inspired by nature you can imagine and i m also thrilled to be in the foreplay section did you notice this section is foreplay because i get to talk about one of my favorite critters which is the western grebe you have n t lived until you ve seen these guys do... |
7a7e7944aadd935c9052a3f3194fa21dc48ec7be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.20/Chapter3_Exampl20.sce | d480c85f71389d4f3f02c347f71b6ff215ff95d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,589 | sce | Chapter3_Exampl20.sce | clc
clear
//INPUT DATA
Rc=15;//compression ratio
r1=1.84;//cutoff ratio
r2=1.98;//cutoff ratio
g=1.4;//constant
p1=101.325;//Pressure in kN/m^2
Rc3=17;//compression ratio
r3=1.84;//cutoff ratio
Rc4=18;//compression ratio
r4=1.88;//cutoff ratio
//CALCULATIONS
nd1=(1-(((1/(Rc^(g-1))))*(((r1^g)-1)/((r1-1)*g... |
b8e5252a1d1bb86b04552b3012723e6f9ca2c573 | 4545588c8427debaf17f9dc71b0ace32f4fb5d67 | /avr32/services/dsp/dsplib/examples/dsp16_iir/iir_example.sce | 01ac7c4a3b7fe90f1c908421ab3cca44a66851f0 | [] | no_license | eewiki/asf | 02e06cec0465b28dd689dea801e6be6cbcd47eca | 8d0f55bd089f2e68d2b53aa76adbb02c07cdb166 | refs/heads/master | 2021-01-16T18:20:22.690176 | 2015-03-09T05:42:50 | 2015-03-09T05:42:50 | 18,419,213 | 34 | 30 | null | 2014-12-25T05:13:20 | 2014-04-03T21:42:46 | C | UTF-8 | Scilab | false | false | 1,507 | sce | iir_example.sce | clear
// cutoff frequency
fc1 = 2000;
// Sampling frequency
fs = 48000;
// cutoff frequency normalized
fc1n = fc1/fs;
// Signal size
SIZE = 48;
pi = %pi;
NUM_SIZE = 6;
DEN_SIZE = 5;
// Signal generation
t = 0:(SIZE-1);
F1 = 1000;
F2 = 4000;
x1 = cos(2*pi*F1/fs*t);
x2 = cos(2*pi*F2/fs*t);
x = (x1... |
c36e5f8fec2481e5b08d60aa88d827d0804f242a | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH7/EX7.02/7_02.sce | 0f33183ed8943354b73449044c38c81870d7ce68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | 7_02.sce | //Problem 7.02:
//initializing the variables:
H200 = 1170; // in Btu/lbmol
H2000 = 14970; // in Btu/lbmol
n = 20000; // in scfm
//calculation:
ndt = n*1/379
Q = ndt*(H2000 - H200)
printf("\n\nResult\n\n")
printf("\n the heat transfer rate is %.2E Btu/min",Q) |
a920b9e16370ada619f50932bb32489fe9bb50f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH10/EX10.2.e/E10_2.sce | 1f06a4dbdfa8fcc5af2af01631709043d44d52ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | E10_2.sce | clc
//Initialization of variables
t=[0 1000 2000 3000 4000]
p=[10.20 5.72 3.99 2.78 1.94]
lnp=log(p)
x=t
y=lnp
//hence the value differs from textbook a bit.
sx=sum(x);sx2=sum(x^2);sy=sum(y);sxy=sum(x.*y);n=length(x);
A=[sx,n;sx2,sx];B=[sy;sxy];p=A\B;
m=p(1,1);b=p(2,1);
k=m
plot(x,y)
//Since first order re... |
de46fb52ece0cae961f578a7cdde0af8d67e4f8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH7/EX7.3/Ex7_3.sce | 7a4339ac7e987b6970eb26f937edfac4250db71a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Ex7_3.sce | clear;
clc;
// Example 7.3
printf('Example 7.3\n\n');
printf('Page No. 203\n\n');
// given
C = 250*10^3;//Original annual cost of fuel in Pound
O_E = 71.5;// Original Efficiency
Fl_i = 20;// Initial Flue loss
Fl_f = 17.5;// Final Flue loss
N_E = O_E + (Fl_i - Fl_f);// New Efficiency
F_save = C*((N_E-O_E)... |
76c1ac800318ae8484fcdeb45c0040f07609603f | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH9/EX9.9/9.sce | 25948018c28eeecac98ab16129fbf30eea381c08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 827 | sce | 9.sce | clc
p=1.3; //bar
R0=8.314;
M_CO2=44;
M_O2=32;
M_N2=28;
M_CO=28;
m_O2=0.1;
m_N2=0.7;
m_CO2=0.15;
m_CO=0.05;
//Considering 1 kg of mixture
m=1; //kg
//let moles be denoted by n
n_O2=m_O2/M_O2;
n_N2=m_N2/M_N2;
n_CO2=m_CO2/M_CO2;
n_CO=m_CO/M_CO;
M=1/(m_O2/M_O2 + m_N2/M_N2 + m_CO2/M_CO2 + m_CO/... |
da52403aa21e5361c301d8ce271ad19679967e74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH1/EX1.27/example1_27.sce | d523d56d92df4fdf7d7e9b56ecdd28eeb1acce8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,182 | sce | example1_27.sce | // Concentration of holes and electrons
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 1-27 in page 52
clear; clc; close;
// Data given
sigma=100; // Conductivity of p-type germanium
e=1.6*10^-19; // Charge on an electron in eV
mu_p=1800; // ... |
3f6aeccd28e47bd3d7685a892d1ff951a1005f1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH6/EX6.7/Example6_7.sce | ff38f3592eb7a639156b926662c1ee0e4a70d162 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | Example6_7.sce | //calculation of specific heat
clear;
clc;
printf("\t Example 6.7\n");
//for water
m=100;//mass, g
s=4.184;//specific heat, J/g C
deltaT=23.17-22.5;//change in temp., C
qH2O=m*s*deltaT;//heat gained by water, J
//for lead
qPb=-qH2O;//heat lost by lead, J
m=26.47;//mass, g
deltaT=23.17-89.98;//change... |
00a6d5055791d2de9d7097bd4251a23aea5b14ac | dd62f0e176af8b35f4de2d6b64692105fd90afd6 | /rarx.sci | cdf4ce2e86bd941df7216b025894b9e3ba7c462e | [] | no_license | FOSSEE/FOSSEE-System-Identification-Toolbox | 2a631de0f2d6b993b3f19df4a220b274a1d85edb | 11ee9c829fe88301c69b731cdf9fe7957d0fa68c | refs/heads/master | 2018-10-15T08:25:21.323393 | 2018-07-31T10:56:53 | 2018-07-31T10:56:53 | 108,255,727 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,176 | sci | rarx.sci | function varargout = rarx(varargin)
// Parameters Estimation of ARX model by recursive method
//
// Calling Sequence
// sys = rarx(ioData,[na nb nk],lambda)
// Parameters
// ioData : iddata or [outputData inputData] ,matrix of nx2 dimensions, type plant data
// na : non-negative integer number specified as order ... |
374f083c5838a2d8e0953d7fad5708670fe8cfe4 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/buffer.sci | 9f2e6b87a9336e1cd6f3fb6c17db048d51e14b0d | [] | 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 | 5,819 | sci | buffer.sci | <<<<<<< HEAD
=======
function [y, z, opt] = buffer (x, n, p, opt)
>>>>>>> 6bbb00d0f0128381ee95194cf7d008fb6504de7d
//This function buffers the given data into a matrix of signal frames
//Calling Sequence
//[y] = buffer (x, n)
//[y] = buffer (x, n, p)
//[y] = buffer (x, n, p)
//[y, z, opt] = buffer (...)
//Parameters
/... |
fc62493f45d73ca09a286c633869205c10796dae | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /main/vsCatenary/testICRA2017.sce | deb8a14a9794032e22001fd300775ca7f1bea3a7 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,518 | sce | testICRA2017.sce | // test catenary projection in an image
// when the attached points are mobile
clear;
//close;
exec('../../Load.sce');
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
// USE... |
9640b87e6d74e638399ca1dd1c61bc5dbb00556c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH2/EX2.7.7/Example_2_7_7.sce | 27632a788e9f417cff21e72bf3d5fea859547219 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | Example_2_7_7.sce | // Example 2.7.7 page 2.27
clc;
clear;
n1=1.48; //refractive index of core
n2=1.46; //refractive index of cladding
NA=sqrt(n1^2-n2^2); //computing Numerical aperture
theta=asind(NA); //computing acceptance angle
printf("\nNumerical aperture is %.3f.\nAcceptance angle is %.2f degrees.",N... |
b59d0a719cf7b3e9c5c27a8571846a28a7bc1b38 | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /quality/test/garant6x/show_document.TST | a666ec5ef64f3f43b4989f695c22918b045bbf21 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,460,291 | tst | show_document.TST | {\rtf1\ansi\ansicpg1251\uc1\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1049\deflangfe1049{\fonttbl{\f0\froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman{\*\falt Times New Roman};}
{\f1\fswiss\fcharset204\fprq2{\*\panose 020b0604020202020204}Arial{\*\falt Times New Roman};}{\f2\fmodern\... |
6fc61ae679db5f83461c684ec5ac3893856851ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH15/EX15.9/Ex15_9.sce | 7b4ccfc484f10a2f4e66df4cf9e45807d21eebe8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | Ex15_9.sce | clc
f = 0.2 // feed in mm/rev.
N = 800 // spindle speed in rev./min.
d = 10 // doameter of hole in mm
mrr = %pi*(d^2)*f*N/4 // metal removal rate in mm^3/min.
mrr = mrr/60 // mm^3/s
p = 0.5*mrr // cutting power from table 14.2 in watts
omega = 2*%pi*N/60 // rpm
T = p/omega // torque in N.m
printf("\n MRR = %0.... |
6c66fc3adc1f43e25b7324ee4805c97cb6e8dc64 | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 5/Q1.sce | e63191beda87a1fc4cfce66517e0f3ca196c9be7 | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | sce | Q1.sce | clc; clear;
//-----------------
// Question 1
// Part a
s = poly(0, 's');
Ga = 1/(s^3 + 4*s^2 + 5*s);
Ga = syslin('c', Ga);
scf();
evans(Ga, 30);
//-----------------
// Part b
Gb = (s+1) / (s^2 * (s + 3.6));
Gb = syslin('c', Gb);
scf();
evans(Gb, 80);
//-----------------
// Part c
Gc = (s+0.4) / (s^2 * (s + 3.6));
Gc =... |
183e41ded06b49efc90542232559c366518e8bfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH3/EX3.5/Ex3_5.sce | 60188d9ee42f2733a8fffdd213fd75a3779d67f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Ex3_5.sce | //example 3.5
clc; funcprot(0);
e=0.5;
B=6;
k=e/B;
Gamma=110;
q=440;
disp("get the values of Nqe and Nye from the figure from the value of e/B");
Nye=26.8;
Nqe=33.4;
Qult=B*1*(q*Nqe+1/2*Gamma*B*Nye);
disp(Qult,"ultimate bearing capacity in lb/ft");
disp(Qult/2000,"ultimate bearing capacity in ton/ft");
|
fc9594c7ea86f5ae985e99d972b383946177643f | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH17/EX17.2/ex2.sce | 56f60b8a9fed92a215696a90ac3a0bea46b65728 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 356 | sce | ex2.sce | //ques2
//Mach Number of Air Entering a Diffuser
clear
clc
//(a) The speed of sound in air at 30°C is determined as
k=1.4;
R=0.287;//gas constant
T=303;//air temperature in K
c=sqrt(k*R*T*1000);//speed of light in m/s
printf('(a) speed = %.0f m/s \n',c);
//(b) Mach Mumber
V=200;//speed in m/s
Ma=V/c;
print... |
34c2603cd9b7e254acbb72c8b99e24d6e5dd88d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH8/EX8.32/8_32.sci | 4bc8ee3b96fc5e748b7a24f8b58e33fc9d694e77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sci | 8_32.sci | //coefficient//
s=%s;
sys=syslin('c',(9*(1+2*s))/(s^2+0.6*s+9));
disp(sys,"C(s)/R(s)=")
//given r(t)=u(t)
syms t s;
R=laplace('1',t,s);
disp(R,"R(s)=")
C=R*sys;
disp(C,"C(s)=")
c=ilaplace(C,s,t)
disp(c,"c(t)=")
G=9/(s^3+0.6*s^2);
disp(G,"G(s)=")
H=1;
y=1+G*H;
syms t s;
Kp=limit(s*G/s,s,0)
Kv=limit(s*G... |
0572662b6d333fc5109f8458774f899c1ec33495 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH11/EX11.7/Example11_7.sce | e408ea61edd95a5ab3d945dfec5ebf6c37e0a921 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Example11_7.sce | clear;
clc;
// Example: 11.7
// Page: 465
printf("Example: 11.7 - Page: 465\n\n");
// Solution
//*****Data******//
w2 = 0.6;// [g]
w3 = 1.8;// [g]
Temp = 27 + 273;// [K]
V1 = 100;// [cubic cm]
M2 = 60;// [g/mol]
M3 = 180;// [g/mol]
R = 0.082;// [L.atm/mol.K]
//****************//
V1 = V1/1000;//... |
2306f975c32425cb18c3b3dd37ad1b92f67968bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH3/EX3.7b/eg3_7b.sce | e97c869c49e4261ad168c24b8eec887b6f961ceb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg3_7b.sce | accident_prone= 0.4;
nonaccident_prone= 0.2;
pop_accident = 0.3;
prob_of_accident = pop_accident*accident_prone + (1-pop_accident)*nonaccident_prone;
prob = pop_accident * accident_prone /prob_of_accident;
disp(prob, "The required probability is") |
c9e8eb36bd26252156f9159441c27a5371e3e002 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH3/EX3.11/ex3_11.sce | 0fdfe7eee30fb594143ee77539a8deef2598f0e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | ex3_11.sce | // Exa 3.11
clc;
clear;
close;
format('v',5)
//Given data
Beta = 100;
V_CC = 10;// V
R1 = 9.1;// in k ohm
R_C = 1;// in k ohm
R_E = 560*10^-3;// in k ohm
R2 = 4.7;// in k ohm
V_BE = 0.7;// in V
V_Th = (V_CC/(R1+R2))*R2;// in V
R_B = (R1*R2)/(R1+R2);// in k ohm
// V_Th - I_B*R_B - V_BE - I_E*R_E = 0 or
... |
4534beffa99042cf8d01d7a73d88c96c6e1e89dd | 12d519f18a15ef7423dffa1727cb877966fcf913 | /scilab/get_custos_implantacao.sce | e9ca08db81143fda35b6873c8eb7d22bb11d1df3 | [] | no_license | gviolato/gviolato.github.io | e9b799bf61dd345fe06760ebc296f49f467347b7 | 190748c14c115f63e366d2244a572de08daa7e5e | refs/heads/master | 2021-01-17T15:29:43.924914 | 2017-01-25T23:33:53 | 2017-01-25T23:33:53 | 22,399,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23,506 | sce | get_custos_implantacao.sce | function [custo_MW_instalado] = get_custos_implantacao(parametros,verbose,arquivo_xls)
// ------------------------------------------------------------------
// //-----//-----// MODELAGEM DE MASSAS E CUSTOS \\-----\\-----\\
// ------------------------------------------------------------------
//
//
// Au... |
d4344327ff7b4bb086bf785934531ecb6f2d9faa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH18/EX18.10/CH18Exa10.sce | 6fac5e632788e85f8bd5f0536e70927e630c1e33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | CH18Exa10.sce | // Scilab code Exa18.10 : : Page-767 (2011)
clc; clear;
m_mew = 106; // Mass of mew lepton, mega electron volts per square c
m_tau = 1784; // Mass of tau lepton, mega electron volts per square c
tau_mew = 2.2e-06; // Mean life of mew lepton, sec
R = 16/100; // Branching factor
tau_plus = R*(m_... |
69d6a7d619652d3f705b9e70347f7350ee84fff0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH4/EX4.02/4_02.sce | 31d30c617fd8ff7c7e81339e0db71f8f1c24aefc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | 4_02.sce | //Problem 4.02: A cell has an internal resistance of 0.02 ohms and an e.m.f. of 2.0 V. Calculate its terminal p.d. if it delivers (a) 5 A, (b) 50 A
//initializing the variables:
r = 0.02; // in ohms
e = 2; // in volts
I1 = 5; // in Amperes
I2 = 50; // in Amperes
//calculation:
pd1 = e - (I1*r)
pd2 = e - (I... |
124ba12716739f26b06bff202c505419787a2bac | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH6/EX6.5/6_5.sce | 1ee2e58482909ce57349325369e1b5cc3efa7e9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_5.sce | //elements in one row of rouths tabulations are all zero
s=%s;
m=s^5+4*s^4+8*s^3+8*s^2+7*s+4;
disp(m)
r=coeff(m)
n=length(r)
routh=routh_t(m)
disp(routh,"rouths tabulations=")
c=0;
for i=1:n
if (routh(i,1)<0)
c=c+1;
end
end
if(c>=1)
printf("system is unstable")
else printf("system is marginally stable"... |
89d5286f735a0eb97ede55ca4cb46b06bc673c5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH11/EX11.3/Ex11_3.sce | c39bc52ae15259467e8960a37d97f750fda11c86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | Ex11_3.sce | clc
Pop = 10
disp("Pop= "+string(Pop))//initializing value of amount of optical intensity
hw=1.65
disp("hw = "+string(hw)+"eV") //initializing value of energy of incident optical beam (h-bar omega)
alpha = 7*10^3
disp("alpha= "+string(alpha)+"cm^-1")//initializing value of absorption coefficient(alpha) for GaAs
... |
faf353164bee4fe2e4138b92bdd011b6f55e92a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH5/EX5.1/Example5_1.sce | e236f1e6916ceca22d633fe200b450893534f991 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Example5_1.sce | clear ;
clc;
// Example 5.1
printf('Example 5.1\n\n');
//Page no.109
// Solution
P = 60 ;//[Gpa]
//(a)
p_atm = (P*(10^6))/101.3 ;//[atm]
printf('(a) Pressure in atmospheres is %.2e atm\n',p_atm);
//(b)
p_s = (P*(10^6)*14.696)/101.3 ;//[psia]
printf(' (b) Pressure in psia is %.2e psia\n',p_s);
// (c... |
f811caffbd39d3b8e97a0c01f0bc791d20c7ae3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH7/EX7.18/Ex7_18.sce | 983afd8b52fe49dc2fc762806337335aa5bedd2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | Ex7_18.sce | //Example 7_18
clc();
clear;
//To find the numerical aperature and acceptance angle
n1=1.6
n2=1.4
n0=1.33
NA=sqrt(n1^2-n2^2)/n0
printf("The numerical aperature is %.3f",NA)
theta=asin(NA)*180/%pi
printf("\nThe acceptance angle is %.2f degrees",theta)
|
4e6e297be7d226882cb0cbbe7366d88c911ea3ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH2/EX2.11/ex2_11.sce | 6f3c284513406bb55ac918b271cfd29907c16988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | ex2_11.sce | // Exa 2.11
format('v',5);clc;clear;close;
// Given data
At = 8.5;//true value in A
Am = 8.3;//measured value in A
Absoluteerror = At - Am;//absolute error in A
disp(Absoluteerror,"The Absolute error in A is");
// Relative percentage error
Per_Error = ((At-Am)/At)*100;// %e in %
disp(Per_Error,"The relative p... |
5ab8f6e28dd9cd1e8d3bb4d1240cfe30bc524317 | b4e34afbccba260cb01882a6e81a58851bc6ee2c | /bissec.sce | d8ffcf879c05115abd368aed3c2b289f145a2eaa | [] | no_license | gabrielseibel1/num | 258ce3b7a99a3bcd091ba4791be6f48de60a49c2 | 088ae943687d83d1cf4a84e59bcb70af1eea6ee5 | refs/heads/master | 2020-06-11T14:52:40.461998 | 2019-06-27T23:10:50 | 2019-06-27T23:10:50 | 194,003,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | bissec.sce | function y=sinexp(x)
y=sin(x) + exp(x)
endfunction
function [p] = bissecao(f, a, b, TOL, N)
i = 1
fa = f(a)
while (i <= N)
//iteracao da bissecao
p = a + (b-a)/2
fp = f(p)
//condicao de parada
if ((fp == 0) | ((b-a)/2 < TOL)) then
return
end
//bissecta ... |
912984b7de8734681374598080cf2b3934942d46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH9/EX9.2/Chapter92.sce | 8f54ce94ce6593fcaf9208d66bc70992332184a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,461 | sce | Chapter92.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 9, Example 2")
//Steam is condensed at temprature(Tg=100°C) on the outer surafce of a horizontal tube of length(L=3m) and diameter(d)=50mm or .05m
Tg=100;
L=3;
... |
16509fbe816408b7b474a728bbfe02a8e028f540 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH11/EX11.4/Ex11_4.sce | 80eff78a6ba1b4d5a52257ac829dea4a46485426 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Ex11_4.sce | //Chapter 11 : Free Electron Theory Of Metals
clear;
//Variable declaration
EF=1.1214*10**-18 //fermi energy in J
m=9.11*10**-31 //Mass of electron
h=6.63*10**-34 //planck's constant
//Calculations
n=((8*m*EF)/(h**2))**(3/2)*(%pi/3)/10**28
//Result
mprintf("No. of free electrons per unit vol... |
4c6ad5ae9dfea6be6dab61e036dc7d0482220e95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH4/EX4.10/ex4_10.sce | e4faa5620b50a333440d0896ea6f3391941527b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | ex4_10.sce | // Exa 4.10
clc;
clear;
close;
// Given data
R_F = 1.2;// in M ohm
R_F = R_F * 10^6;// in ohm
C_F = 10;// in nF
C_F = C_F * 10^-9;// in F
f_a = 1/(2*%pi*R_F*C_F);// in Hz
disp(f_a,"The safe frequency in Hz is");
R1 = 120;// in k ohm
R1 = R1 * 10^3;// in ohm
A = R_F/R1;
AindB= 20*log10(A);// in dB
disp(Ai... |
201a3ca62dce43e22d6200fa0d391cf3dedbba7f | aab7e40582be003ebdf6f5ad6f1efcdaef4c63d6 | /macros/JSONParse.sci | 98254789be0208ccc61a7c096be69b3af4aff97c | [] | no_license | sengupta/Scilab-JSON | 578370e2470d630afd7c21c5ec5040ee3200d6d0 | 209a65d4b979ce3ff147ebda58c237236783f403 | refs/heads/master | 2021-01-18T18:35:13.647060 | 2012-04-03T13:51:34 | 2012-04-03T13:51:34 | 1,687,912 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,461 | sci | JSONParse.sci | // A simple JSON parser
function JSON2Struct = JSONParse(JSON)
true = "%T"
false = "%F"
oldnull = null, null = "%Nan" // Backup the null() function and set variable
JSON_text_cat = strcat(JSON);
// The following section is required to convert multidimensional
// arrays into... |
9d053727e4e782ab70e47992ca511e988c7d42cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH2/EX2.22/ex_2_22.sce | 6249ae9bfcc20eabfe3b9f5f7d897695f83c2907 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | ex_2_22.sce | //example 2.22//
clc
//clears the screen//
clear
//clears already existing variables//
//octal to binary conversion//
y=oct2dec('736')
//octal to decimal conversion//
a=dec2bin(y)
//decimal to binary conversion//
disp('binary conversion of given no is:')
disp(a)
//answer in binary form// |
8f803344e83c0c9403cbeb6f3a12c2b3287cd939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH2/EX2.7/ex2_7.sce | fd2edccef38674c38c3fa2a73303d08282881498 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | ex2_7.sce |
//Exa:2.7
clc;
clear;
close;
//Given:
m1=0.55;//modulation percent 1
m2=0.65;//modulation percent 2
Pc=360;// in watts
mt=sqrt(m1*m1+m2*m2);
printf("\n\n\t total modulation = %f ",mt);
Pb=(mt*mt)*Pc/2;
printf("\n\n\t total sideband power radiated = %f W",Pb); |
e8f0a2622f0bdf5524226514a255db3bd59a2f8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH2/EX2.8/ex2_8.sce | 2dfe4a0bdfd91f85c13defdc9bb8998682f38978 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | sce | ex2_8.sce | clc;
warning('off');
printf("\n\n example2.8 - pg39");
// given
delx=0.3-0; //[m] - length
d=0.05-0; //[m] - diameter
A=(%pi*d^2)/4; //[m^2] - area;
R=8.314*10^3; //[N*m/kmol*K] - gas constant
xco1=0.15; // mole prcent of co in one tank
xco2=0; // mole percent of co in other tank
p2=1; //[atm] - pressu... |
e44c5490553e26fa0dff82d31f80604a8e7beb05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH2/EX2.11/Chapter211.sce | 15c5f01e06e81f82a36d8c6dbfcce64f4ce808a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 950 | sce | Chapter211.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 2, Example 11")
//An electrical resistance wire 2.5mm or 2.5*10^-3m in diameter(D) and L=0.5m long has a measured voltage drop of E=25V for a current flow of I=40A... |
5b6b777f42a965107658829058f4409224de378a | a3821dccf6d2cf3720781d6ed6b66c49e03cdab4 | /Source/WebContent/TypeScript/Api/Service.tst | 0d6ee10a5262bcf027c6230d68e1b84cdb6571e1 | [] | no_license | backlof/Imglib | 9cfb1047b766f9e05f69f3b32eea1c4e463187f0 | f7d16e0be0e286dde7cb62a6576f73015cbba397 | refs/heads/master | 2021-05-07T06:58:05.503869 | 2018-02-07T12:48:29 | 2018-02-07T12:48:29 | 111,833,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,671 | tst | Service.tst | ${
using Typewriter.Extensions.WebApi;
using Typewriter.Extensions.Types;
Template(Settings settings)
{
settings.IncludeProject("Host");
settings.OutputFilenameFactory = (file) => {
return file.Name.Replace("Controller.cs", "Service.ts");
};
}
string methodName(Method method){
return method.Name.To... |
0ca581003edf9f63beb2979f4af23ef62cffb904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH13/EX13.4.1/EX13_4_1.sce | 3e02945f2ed3656bfc352428777a078037ce682d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | EX13_4_1.sce | //Example No. 13.4.1
clc;
clear;
close;
format('v',7);
Pr1=0.0297/1000;//W(Recieved power)
Pr2=0.0471/1000;//W(Recieved power)
Pr3=0.0374/1000;//W(Recieved power)
Pt=1;//W(Transmitted power)
R=10;//m(Radius)
f=980;//MHz(Frequency)
f=f*10^6;//Hz(Frequency)
c=3*10^8;//m/s(Speed of light)
lambda=c/f;//m(Wavel... |
d801dcd60e816d7e55f959f6b95a4891511eb7c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH15/EX15.6/Ex15_6.sce | 9932bd465e9348aea932dfd81b6ed720a6302dca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | Ex15_6.sce | b=200//width, in mm
d=300//effective depth, in mm
Mu=74//in kN-m
top_cover=30//in mm
fck=20//in MPa
fy=415//in MPa
Xc=0.479*d//in mm
Mulim=0.138*fck*b*d^2/10^6//in kN-m
Ast1=round(0.36*fck*b*Xc/0.87/fy)//in sq mm
M1=Mu-Mulim//in kN-m
fcc=0.446*fck//in MPa
//for d'/d=30/300=0.1 and Fe415 grade steel,
fsc=353... |
1019736fcd09e6b9485824ee1edef6bb12e16d80 | 8293f7c8800a04665e23ea5814feac83786d8b75 | /Testes e Algoritmos/binary_mixture_ethane_limonene.sce | 3da9f451caabb4cdf77775096bc3ef90b8525347 | [] | no_license | gusplatt/paper_libotte | 6deb983260bc62b0645f3c3f4b674162829b6e02 | 249eae1595b581e350c6479fcdda4446c9f2c54e | refs/heads/master | 2021-01-19T19:18:46.392726 | 2017-10-03T23:21:22 | 2017-10-03T23:21:22 | 101,187,042 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,225 | sce | binary_mixture_ethane_limonene.sce | clear
clc
warning('off')
function phi = binaryMixture(theta, setFrac, phase)
x1 = theta(1);
P = theta(2);
x = [x1; 1 - x1];
y = [setFrac; 1 - setFrac];
T = 307.4;
R = 8.3144621e-3;
Tc = [305.3; 660];
Pc = [4872; 2750];
omega = [0.1; 0.313];
Tr = T ./ Tc;
ki = 0.37464 + (1.54... |
d0ea4025a60388808fcad0f32c9fc0fe142473d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.4/4Ex4.sce | 29a729de833003de82530a194cba2f331d69f039 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | 4Ex4.sce | //Chapter 4 Ex 4
clc;
clear;
close;
// from given statement we the equation as (4/21)x-(8/45)x=8
for x=1:700
if ((4/21)*x-(8/45)*x)==8
break;
end
end
half=x/2;
mprintf("The required number is %d",half);
|
f056fedb8db46a29e6d8716d289a5a8b60f25feb | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /acmp.ru/480, Coin game/test-02.tst | 6ec4a16fe3092aa3ab8ae09a1979130e2df14e41 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 41 | tst | test-02.tst | 4 2 2 1 7 3
~~~~~~~~~~~~~~~~~~~~~~~~~~
5
|
0cf785ddfa0fc2ca92399e37a1d5b2e49cf54ea4 | b4980b761e4b88d097e526fe06ebef2383d3d613 | /lab02/OneBitErrorDetection/OneBitErrorDetection.tst | 62cee82edaadce1e64995d7ff33c6bc4b73f9fc2 | [] | no_license | Vineeth-Kada/Computer-Systems-Design | aa42b053c709fdbf06713dc3e1e2649faa02c65d | 4c05e393e057ffb1540c74a53a0cb17f7129d8f8 | refs/heads/main | 2023-06-17T06:27:02.442583 | 2021-07-15T10:43:37 | 2021-07-15T10:43:37 | 289,896,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,584 | tst | OneBitErrorDetection.tst | load OneBitErrorDetection.hdl,
output-file OneBitErrorDetection.out,
compare-to OneBitErrorDetection.cmp,
output-list x0%B3.1.3 x1%B3.1.3 x2%B3.1.3 x3%B3.1.3 x4%B3.1.3 x5%B3.1.3 x6%B3.1.3 x7%B3.1.3 y0%B3.1.3 y1%B3.1.3 y2%B3.1.3 y3%B3.1.3 y4%B3.1.3 y5%B3.1.3 y6%B3.1.3 y7%B3.1.3 pg%B3.1.3 pc%B3.1.3 z%B3.1.3;
/*Data Set ... |
e57744aef949ff94d862882f7fb39ecc671eeda7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH22/EX22.14/Ex22_14.sce | 5e1807b7ec072acbe19b6d083ba20a8b1a1ce2f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,460 | sce | Ex22_14.sce | // Example 22_14
clc;funcprot(0);
//Given data
T_1=350;// °C
p_1=30;// bar
p_2=6;// bar
p_3=1;// bar
p_4=0.07;// bar
P=10;// Power developed by the turbine in MW
n_t=80/100;// Isentropic efficiency of each stage
// Calculation
// From h-s chart:
h_1=3106;// kJ/kg
h_2=2811;// kJ/kg
h_3=2560;// kJ/kg
h_4... |
d2d4d8c732e327f65fced26d476c6cc3de0acb6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH3/EX3.5/3_5.sce | 9e030a364396dc89c9b37a13e3c28700e78cfc56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | 3_5.sce | clc
//initialisation of variables
W= 5 //kJ
Q= 23 //kJ
Q1= -50 //kJ
W1= 0 //kJ
//CALCULATIONS
E1= Q-W
E2= Q1-W1
E3= -(E1+E2)
W3= -E3
//RESULTS
printf ('energy change in process 1 = %.f kJ',E1)
printf ('\n energy change in process 2 = %.f kJ',E2)
printf ('\n energy change in process 3 = %.f kJ',E3)
printf... |
f7ab00947209f4120410f9883092b4316367e229 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/RK17UPQ/ATWM1_Working_Memory_MEG_RK17UPQ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 4d8ac7debd5125b72f72d996880542d07e01704f | [] | 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.